Skip to main content

User ipython interactively in your doctest

Project description

Introduction

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

Usage

>>> from chaoflow.testing.ipython import ipshell

By default you will get a prompt suitable to copy/paste for doctests.

>>> ipshell( locals())

In order to get the default ipython prompt, pass doctest=False:

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

License

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

Changelog

Project details


Download files

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

Source Distribution

chaoflow.testing.ipython-0.2.zip (27.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page