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 details)

Uploaded Source

File details

Details for the file chaoflow.testing.ipython-0.2.zip.

File metadata

File hashes

Hashes for chaoflow.testing.ipython-0.2.zip
Algorithm Hash digest
SHA256 240150509b9f744d1b038b9bda5ad6e87ab073b1a27c29146117506318415dd6
MD5 7e05a73d7e96706a798271a2db611300
BLAKE2b-256 6ca7089a585690ab18fa27a39463ab3fa0eb800cedffc2d3905e61a6358796a6

See more details on using hashes here.

Supported by

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