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.3.zip
(12.7 kB
view hashes)
Built Distributions
mod2doctest-0.0.3.win32-py2.6.exe
(212.8 kB
view hashes)
mod2doctest-0.0.3.win32-py2.5.exe
(78.1 kB
view hashes)
mod2doctest-0.0.3.win32-py2.4.exe
(78.1 kB
view hashes)
mod2doctest-0.0.3-py2.6.egg
(32.9 kB
view hashes)
mod2doctest-0.0.3-py2.5.egg
(32.9 kB
view hashes)
mod2doctest-0.0.3-py2.4.egg
(33.0 kB
view hashes)
Close
Hashes for mod2doctest-0.0.3.win32-py2.6.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 670b9c5f6abe5d0652ef86b12218bb5ccd9c04b428b2183302d092694d315e35 |
|
MD5 | 5b0cc449e1447344919531112cc6952a |
|
BLAKE2b-256 | 06913d953ff34c9f984daa9ad0298c9c17384a7fd2ec692ed97b7368d2aa3d5f |
Close
Hashes for mod2doctest-0.0.3.win32-py2.5.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f3271362919ce6efa7de177bed372edcf5b04c7f72dbfdbf0b7d66c6c7474e0 |
|
MD5 | 82d12d54d3c196e5166594322191dadd |
|
BLAKE2b-256 | 88dc0d03069571f64943ddcdb055e9b1f2822fa6192720a3e257bba4398cce8d |
Close
Hashes for mod2doctest-0.0.3.win32-py2.4.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2174aa86d70f86a4fdbdfbec80aa5d220bc8f5e6e3c0894486d3651d4f2c5b13 |
|
MD5 | 8355af010e8d76522f7f841cc60e6635 |
|
BLAKE2b-256 | cf786d0d1925c010f3b14396193087caa16bb06b56ae802ccad1194c8eeb8573 |