##// END OF EJS Templates
Merge branch 'main' into revert-14625-ruffisation
Merge branch 'main' into revert-14625-ruffisation

File last commit:

r29045:40a85cce
r29048:38dd7ad1 merge revert-14625-ruff...
Show More
__init__.py
42 lines | 1.6 KiB | text/x-python | PythonLexer
Fernando Perez
Create new core.magics package and start populating with history.
r6956 """Implementation of all the magic functions built into IPython.
"""
M Bussonnier
Revert "Ruffisation"
r29045 #-----------------------------------------------------------------------------
Fernando Perez
Create decorators for standalone magic functions, as per review.x
r6972 # Copyright (c) 2012 The IPython Development Team.
Fernando Perez
Create new core.magics package and start populating with history.
r6956 #
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
M Bussonnier
Revert "Ruffisation"
r29045 #-----------------------------------------------------------------------------
Fernando Perez
Create new core.magics package and start populating with history.
r6956
M Bussonnier
Revert "Ruffisation"
r29045 #-----------------------------------------------------------------------------
Fernando Perez
Create new core.magics package and start populating with history.
r6956 # Imports
M Bussonnier
Revert "Ruffisation"
r29045 #-----------------------------------------------------------------------------
from ..magic import Magics, magics_class
from .auto import AutoMagics
from .basic import BasicMagics, AsyncMagics
from .code import CodeMagics, MacroToEdit
from .config import ConfigMagics
from .display import DisplayMagics
from .execution import ExecutionMagics
from .extension import ExtensionMagics
from .history import HistoryMagics
from .logging import LoggingMagics
from .namespace import NamespaceMagics
from .osm import OSMagics
from .packaging import PackagingMagics
from .pylab import PylabMagics
from .script import ScriptMagics
#-----------------------------------------------------------------------------
Fernando Perez
Move UserMagics to core.magics
r6957 # Magic implementation classes
M Bussonnier
Revert "Ruffisation"
r29045 #-----------------------------------------------------------------------------
Fernando Perez
Move UserMagics to core.magics
r6957
Fernando Perez
Renamed @register_magics to @magics_class to avoid confusion....
r6973 @magics_class
Fernando Perez
Move UserMagics to core.magics
r6957 class UserMagics(Magics):
"""Placeholder for user-defined magics to be added at runtime.
All magics are eventually merged into a single namespace at runtime, but we
use this class to isolate the magics defined dynamically by the user into
their own class.
"""