Skip to main content

User ipython interactively in your doctest

Project description


An interactive ipython shell to be used in your doctest, very similar to and based on interlude.


>>> from chaoflow.testing.ipython import ipshell, dtipshell

By default you will get the default fancy ipython prompt:

>>> ipshell( locals())

In order to get a prompt suitable for doctest generation, pass doctest=True:

>>> ipshell( locals(), doctest=True)

or use dtipshell, which does exactly that:

>>> dtipshell( locals())


chaoflow.testing.ipython is licensed under LGPLv3. Please let me know if this presents a problem for you.


Project details

Download files

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

Files for chaoflow.testing.ipython, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size (27.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page