__init__.py
42 lines
| 1.6 KiB
| text/x-python
|
PythonLexer
Fernando Perez
|
r6956 | """Implementation of all the magic functions built into IPython. | ||
""" | ||||
#----------------------------------------------------------------------------- | ||||
Fernando Perez
|
r6972 | # Copyright (c) 2012 The IPython Development Team. | ||
Fernando Perez
|
r6956 | # | ||
# Distributed under the terms of the Modified BSD License. | ||||
# | ||||
# The full license is in the file COPYING.txt, distributed with this software. | ||||
#----------------------------------------------------------------------------- | ||||
#----------------------------------------------------------------------------- | ||||
# Imports | ||||
#----------------------------------------------------------------------------- | ||||
Fernando Perez
|
r6957 | |||
Fernando Perez
|
r6973 | from ..magic import Magics, magics_class | ||
Fernando Perez
|
r6964 | from .auto import AutoMagics | ||
Fernando Perez
|
r6960 | from .basic import BasicMagics | ||
from .code import CodeMagics, MacroToEdit | ||||
Fernando Perez
|
r6961 | from .config import ConfigMagics | ||
Fernando Perez
|
r6969 | from .deprecated import DeprecatedMagics | ||
MinRK
|
r7946 | from .display import DisplayMagics | ||
Fernando Perez
|
r6963 | from .execution import ExecutionMagics | ||
Fernando Perez
|
r6967 | from .extension import ExtensionMagics | ||
Fernando Perez
|
r6960 | from .history import HistoryMagics | ||
Fernando Perez
|
r6966 | from .logging import LoggingMagics | ||
Fernando Perez
|
r6962 | from .namespace import NamespaceMagics | ||
Fernando Perez
|
r6965 | from .osm import OSMagics | ||
Fernando Perez
|
r6968 | from .pylab import PylabMagics | ||
MinRK
|
r7299 | from .script import ScriptMagics | ||
Fernando Perez
|
r6957 | |||
#----------------------------------------------------------------------------- | ||||
# Magic implementation classes | ||||
#----------------------------------------------------------------------------- | ||||
Fernando Perez
|
r6973 | @magics_class | ||
Fernando Perez
|
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. | ||||
""" | ||||