A way to convert any Python module to a doctest ready doc string.
Project description
mod2doctest
===========
mod2doctest is a module that converts a python module to a :mod:`doctest`
compatible docstring.
It's kind of like taking a python script, pasting it into an interactive
interpreter and then copying the output back into a docstring.
But mod2doctest does it for you and also has many conveinance to make this
process easier like adding ellipse markers for memory id / traceback and
provides formating features.
For full documentation please visit http://packages.python.org/mod2doctest/.
===========
mod2doctest is a module that converts a python module to a :mod:`doctest`
compatible docstring.
It's kind of like taking a python script, pasting it into an interactive
interpreter and then copying the output back into a docstring.
But mod2doctest does it for you and also has many conveinance to make this
process easier like adding ellipse markers for memory id / traceback and
provides formating features.
For full documentation please visit http://packages.python.org/mod2doctest/.
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
mod2doctest-0.0.5.zip
(9.6 kB
view hashes)
Built Distributions
mod2doctest-0.0.5.win32-py2.6.exe
(213.0 kB
view hashes)
mod2doctest-0.0.5.win32-py2.5.exe
(78.4 kB
view hashes)
mod2doctest-0.0.5.win32-py2.4.exe
(78.4 kB
view hashes)
mod2doctest-0.0.5-py2.6.egg
(33.5 kB
view hashes)
mod2doctest-0.0.5-py2.5.egg
(33.5 kB
view hashes)
mod2doctest-0.0.5-py2.4.egg
(33.6 kB
view hashes)
Close
Hashes for mod2doctest-0.0.5.win32-py2.6.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a83f9abb9f3dd0a632f1be71e21c8c970125a2803cb3279c77c8d6de03d5703 |
|
MD5 | 03ed43d5d61f0e648d41f6fbf38268cc |
|
BLAKE2b-256 | 1b96c2fb332c54b217e14859c4e953874f2b15c364c94e12b63c5c996ea3a198 |
Close
Hashes for mod2doctest-0.0.5.win32-py2.5.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09dd858e7ecc3a84e016195d085db0276afa6f8dff44c8f29913d320d3e0426e |
|
MD5 | 9b4cc2424ce65b4228752ead51693560 |
|
BLAKE2b-256 | e6110b073479ab5b1c8dcb6d7edd37342a4676bf94b44072b71fd13156826a4f |
Close
Hashes for mod2doctest-0.0.5.win32-py2.4.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad3698e28a319f0dccb1446d4bbd5dd0867f0dc8ea56df860837e6a89b1496c7 |
|
MD5 | bd30096c1a2b8627bdad2013fba19b12 |
|
BLAKE2b-256 | d6ce8257442ac30441d4d7f98c3dfd03010e85c7221f0243039bb5d3761ebea0 |