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.6.zip
(10.1 kB
view hashes)
Built Distributions
mod2doctest-0.0.6.win32-py2.6.exe
(213.5 kB
view hashes)
mod2doctest-0.0.6.win32-py2.5.exe
(78.9 kB
view hashes)
mod2doctest-0.0.6.win32-py2.4.exe
(78.9 kB
view hashes)
mod2doctest-0.0.6-py2.6.egg
(34.5 kB
view hashes)
mod2doctest-0.0.6-py2.5.egg
(34.5 kB
view hashes)
mod2doctest-0.0.6-py2.4.egg
(34.6 kB
view hashes)
Close
Hashes for mod2doctest-0.0.6.win32-py2.6.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35556fcaf14ea2cec6f4d8d7a988a4c12b474db40a1b380a89c3c7948eedcace |
|
MD5 | 8735d1f4c8b927054f3f673d562f266d |
|
BLAKE2b-256 | 36bade04b730ebe95314251733536a05c6a01e66420e4d7c8be3d496fe7dc422 |
Close
Hashes for mod2doctest-0.0.6.win32-py2.5.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2ab0155a25631b267bc321d689b4ab17c7b15b981cd91fc2d0203f3541e433c |
|
MD5 | 76dc1c06af5b144e4c48eaec71a39ac1 |
|
BLAKE2b-256 | ddabdbaee7dacdeb4a8d5bf1dbb80165c957c52821adc9beeb0211877c16386c |
Close
Hashes for mod2doctest-0.0.6.win32-py2.4.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 144b42dfa60578dca1fe4412922bc8cd2621f08372fc2add740386aa34d31b25 |
|
MD5 | 7741162c112d4e11e96b8180bc26bc99 |
|
BLAKE2b-256 | b4a740de750ee34eda05157923e7c68f3a0087f0ce6b983fcb5e5b6bfd91eb8e |