Skip to main content
Help us improve Python packaging – donate today!

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, 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())

License

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

Changelog

Release history Release notifications

This version
History Node

0.4

History Node

0.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
chaoflow.testing.ipython-0.4.zip (27.5 kB) Copy SHA256 hash SHA256 Source None Nov 26, 2009

Supported by

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