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.2.zip
(8.4 kB
view hashes)
Built Distributions
mod2doctest-0.0.2.win32-py2.6.exe
(203.6 kB
view hashes)
mod2doctest-0.0.2.win32-py2.5.exe
(69.0 kB
view hashes)
mod2doctest-0.0.2.win32-py2.4.exe
(69.0 kB
view hashes)
mod2doctest-0.0.2-py2.6.egg
(11.9 kB
view hashes)
mod2doctest-0.0.2-py2.5.egg
(11.9 kB
view hashes)
mod2doctest-0.0.2-py2.4.egg
(11.9 kB
view hashes)
Close
Hashes for mod2doctest-0.0.2.win32-py2.6.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb9321e44ea8be8fd97a4c90c3640487cb9936be91d8b617b1b42b8cce7e761f |
|
MD5 | 5c349e423d96a43c321725a4a23c80a8 |
|
BLAKE2b-256 | 321074996d48fa326b7724ec29b1883c5a3d45458a7a1130b2d2b58cbbffd8f3 |
Close
Hashes for mod2doctest-0.0.2.win32-py2.5.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8ee1d97b4e11e07b93209e8915a370103f149c112c0085d8d20b9aa214607ff |
|
MD5 | 89787ce6e4deb43a40be3304da889758 |
|
BLAKE2b-256 | e333c6f1b1387c974798ff294503e73f03206899c3dfe02f71707cc339aee9b5 |
Close
Hashes for mod2doctest-0.0.2.win32-py2.4.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee45ad9b4ac5eeef58cd20f0ba0548470ec84bba03fb4348ba66ab7fb1dd716b |
|
MD5 | ed7c70b04802c2a87a648f7207f0dfb5 |
|
BLAKE2b-256 | 2d62a3e9711e3c84c276d254929642d55ba075fe92d19ecc3b92fca5df9a4869 |