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.1.zip
(5.9 kB
view hashes)
Built Distributions
mod2doctest-0.0.1.win32-py2.6.exe
(201.1 kB
view hashes)
mod2doctest-0.0.1.win32-py2.5.exe
(66.4 kB
view hashes)
mod2doctest-0.0.1.win32-py2.4.exe
(66.4 kB
view hashes)
mod2doctest-0.0.1-py2.6.egg
(6.8 kB
view hashes)
mod2doctest-0.0.1-py2.5.egg
(6.8 kB
view hashes)
mod2doctest-0.0.1-py2.4.egg
(6.8 kB
view hashes)
Close
Hashes for mod2doctest-0.0.1.win32-py2.6.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21b415bd1e9f6282db39fdb857cff95ceada830f4b874a594f9b2793dc73a845 |
|
MD5 | 56d76632c7a6455a1c005eefa4d7353a |
|
BLAKE2b-256 | a112bacd14eb0f8189d30d0f9874a5dff7a5acd364527ba7087bebffdb9f1d98 |
Close
Hashes for mod2doctest-0.0.1.win32-py2.5.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80714f2daeed5b975b6b0549d583ec112e6069b94726ffe425d5009b2f0c1fa9 |
|
MD5 | dae35d6315878d5585ecd271ff836761 |
|
BLAKE2b-256 | 75b653e9c71be559f95e8607cfc9134066c1a5689614ed8e1ca2c46f3e48ca1f |
Close
Hashes for mod2doctest-0.0.1.win32-py2.4.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9249525b4196e0fce4988810af0fc8732352be53f71adde45e5785729c279b7 |
|
MD5 | 0fefff53cfe06ef0f1bed8cc67349b7f |
|
BLAKE2b-256 | bc14f6953b327b9a9ae330ae38718fe47b46820ad95cddb099c922773f816a63 |