Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Reset IPython namespace and reload specified packages

Project Description

Package Description

Duster is an IPython extension that selectively clears one’s IPython session namespace while automatically ignoring specified variables to preserve and reloading 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

Modules to be reloaded when duster is invoked should each 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', '')]

Variables to be ignored when resetting the IPython namespace should be listed by name as follows:

c.DusterMagic.ignore = ['varname0', 'varname1']

The above settings may be viewed and/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.

Author

See the included AUTHORS.rst file for more information.

License

This software is licensed under the BSD License. See the included LICENSE.rst file for more information.

Release History

Release History

This version
History Node

0.2.5

History Node

0.2.4

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
duster-0.2.5-py2.py3-none-any.whl (5.5 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Feb 26, 2017
duster-0.2.5.tar.gz (8.1 kB) Copy SHA256 Checksum SHA256 Source Jul 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting