Reset IPython namespace and reload specified packages
Project description
Package Description
Duster is an IPython extension that clears one’s IPython session namespace and automatically reloads specified packages.
Installation
The package may be installed as follows:
pip install duster
After installation, the extension may be loaded within an IPython session with
%load_ext duster
Configuration
To specify modules that duster should reload when invoked, update IPython’s configuration file. Each module should be listed as a tuple containing the module name and the name to which it should be imported (or ‘’ if it should be imported as-is). For example:
c.DusterMagic.modules = \ [('numpy', 'np'), ('scipy', 'sp'), ('sys', '')]
The modules can be viewed or modified within an IPython session using
%config DusterMagic
Notes
Duster will automatically reload pylab if pylab mode is active.
Development
The latest release of the package may be obtained from GitHub.
License
This software is licensed under the BSD License. See the included LICENSE.rst file for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.