.. _f-magicclassexample: module ``ipythonhelper.magic_class_example`` ============================================ .. inheritance-diagram:: pyquickhelper.ipythonhelper.magic_class_example Short summary +++++++++++++ module ``pyquickhelper.ipythonhelper.magic_class_example`` Example of a class which defines magic commands. :githublink:`%|py|6` Classes +++++++ +------------------------------------------------------------------------------------------------+-------------------------+ | class | truncated documentation | +================================================================================================+=========================+ | :class:`MagicClassExample ` | | +------------------------------------------------------------------------------------------------+-------------------------+ Functions +++++++++ +-----------------------------------------------------------------------------------------------------+------------------------------------------------------------+ | function | truncated documentation | +=====================================================================================================+============================================================+ | :func:`register_file_magics ` | Registers magics functions, can be called from a notebook. | +-----------------------------------------------------------------------------------------------------+------------------------------------------------------------+ Properties ++++++++++ +-------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | property | truncated documentation | +=========================================================================================================================+===============================================================================================================+ | :meth:`Context ` | return the context or None | +-------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`cross_validation_lock ` | A contextmanager for running a block with our cross validation lock set to True. At the end of the block, ... | +-------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ Static Methods ++++++++++++++ +-------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------+ | staticmethod | truncated documentation | +=============================================================================================================+===========================================================+ | :meth:`htmlhelp_parser ` | Defines the way to parse the magic command ``%htmlhelp``. | +-------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------+ Methods +++++++ +-----------------------------------------------------------------------------------------------+----------------------------------------------------------------------------+ | method | truncated documentation | +===============================================================================================+============================================================================+ | :meth:`htmlhelp ` | Defines ``%htmlhelp``, it displays the help for an object in :epkg:`HTML`. | +-----------------------------------------------------------------------------------------------+----------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: pyquickhelper.ipythonhelper.magic_class_example :members: :special-members: __init__ :show-inheritance: