reorg.txt
71 lines
| 3.2 KiB
| text/plain
|
TextLexer
Brian Granger
|
r2277 | .. _module_reorg: | ||
Brian Granger
|
r1798 | |||
Brian Granger
|
r2277 | =========================== | ||
IPython module organization | ||||
=========================== | ||||
Brian Granger
|
r1798 | |||
Brian Granger
|
r2277 | As of the 0.11 release of IPython, the top-level packages and modules have | ||
been completely reorganized. This section describes the purpose of the | ||||
top-level IPython subpackages. | ||||
Brian Granger
|
r1798 | |||
Brian Granger
|
r2277 | Subpackage descriptions | ||
======================= | ||||
Brian Granger
|
r1798 | |||
Brian Granger
|
r2277 | * :mod:`IPython.config`. This package contains the configuration system of | ||
IPython, as well as default configuration files for the different IPython | ||||
applications. | ||||
Brian Granger
|
r1798 | |||
Brian Granger
|
r2277 | * :mod:`IPython.core`. This sub-package contains the core of the IPython | ||
interpreter, but none of its extended capabilities. | ||||
Brian Granger
|
r1798 | |||
Brian Granger
|
r2277 | * :mod:`IPython.deathrow`. This is for code that is outdated, untested, | ||
rotting, or that belongs in a separate third party project. Eventually all | ||||
this code will either i) be revived by someone willing to maintain it with | ||||
tests and docs and re-included into IPython or 2) be removed from IPython | ||||
proper, but put into a separate third-party Python package. No new code will | ||||
Brian Granger
|
r2282 | be allowed here. If your favorite extension has been moved here please | ||
contact the IPython developer mailing list to help us determine the best | ||||
course of action. | ||||
Brian Granger
|
r1798 | |||
Brian Granger
|
r2277 | * :mod:`IPython.extensions`. This package contains fully supported IPython | ||
extensions. These extensions adhere to the official IPython extension API | ||||
and can be enabled by adding them to a field in the configuration file. | ||||
Brian Granger
|
r2282 | If your extension is no longer in this location, please look in | ||
:mod:`IPython.quarantine` and :mod:`IPython.deathrow` and contact the | ||||
IPython developer mailing list. | ||||
Brian Granger
|
r1798 | |||
Brian Granger
|
r2277 | * :mod:`IPython.external`. This package contains third party packages and | ||
modules that IPython ships internally to reduce the number of dependencies. | ||||
Usually, these are short, single file modules. | ||||
Brian Granger
|
r1798 | |||
Brian Granger
|
r2277 | * :mod:`IPython.frontend`. This package contains the various IPython | ||
frontends. Currently, the code in this subpackage is very experimental and | ||||
may be broken. | ||||
Brian Granger
|
r1798 | |||
Brian Granger
|
r2277 | * :mod:`IPython.gui`. Another semi-experimental wxPython based IPython GUI. | ||
Brian Granger
|
r1798 | |||
Brian Granger
|
r2277 | * :mod:`IPython.kernel`. This contains IPython's parallel computing system. | ||
Brian Granger
|
r1798 | |||
Brian Granger
|
r2277 | * :mod:`IPython.lib`. IPython has many extended capabilities that are not part | ||
of the IPython core. These things will go here and in. Modules in this | ||||
package are similar to extensions, but don't adhere to the official | ||||
IPython extension API. | ||||
Brian Granger
|
r1798 | |||
Brian Granger
|
r2277 | * :mod:`IPython.quarantine`. This is for code that doesn't meet IPython's | ||
standards, but that we plan on keeping. To be moved out of this sub-package | ||||
a module needs to have approval of the core IPython developers, tests and | ||||
Brian Granger
|
r2282 | documentation. If your favorite extension has been moved here please contact | ||
the IPython developer mailing list to help us determine the best course of | ||||
action. | ||||
Brian Granger
|
r1798 | |||
Brian Granger
|
r2277 | * :mod:`IPython.scripts`. This package contains a variety of top-level | ||
command line scripts. Eventually, these should be moved to the | ||||
:file:`scripts` subdirectory of the appropriate IPython subpackage. | ||||
Brian Granger
|
r1798 | |||
Brian Granger
|
r2008 | * :mod:`IPython.utils`. This sub-package will contain anything that might | ||
Brian Granger
|
r1907 | eventually be found in the Python standard library, like things in | ||
Brian Granger
|
r2009 | :mod:`genutils`. Each sub-module in this sub-package should contain | ||
Brian Granger
|
r2277 | functions and classes that serve a single purpose and that don't | ||
depend on things in the rest of IPython. | ||||
Brian Granger
|
r2061 | |||
Brian Granger
|
r2275 | |||