Skip to main content

mod2doctest

mod2doctest is a module that converts a python module to a 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.

However, mod2doctest has many convenience to make this process easier like:

  • Providing #> and #| comments: #> prints to both your docstring and stdout and #| print just to your docstring (which will show up as text in a sphinx generated webpage)

  • adding ellipse markers for memory id / trace back

  • Cleaning up / formatting your docstring for sphinx inclusion

  • and a couple of other things, too.

For full documentation and several examples please visit http://packages.python.org/mod2doctest/.

Metadata

Release files for mod2doctest 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mod2doctest 0.2.0
File Size Uploaded Provenance Actions
mod2doctest-0.2.0.zip 9.6 kB Without provenance Details for mod2doctest-0.2.0.zip

Built distributions (wheels)

Table of built distributions (wheels) for mod2doctest 0.2.0
File Actions
mod2doctest-0.2.0.win32-py2.7.exe Details for mod2doctest-0.2.0.win32-py2.7.exe
mod2doctest-0.2.0.win32-py2.6.exe Details for mod2doctest-0.2.0.win32-py2.6.exe
mod2doctest-0.2.0.win32-py2.5.exe Details for mod2doctest-0.2.0.win32-py2.5.exe
mod2doctest-0.2.0.win32-py2.4.exe Details for mod2doctest-0.2.0.win32-py2.4.exe
mod2doctest-0.2.0-py2.7.egg Legacy Egg format - - Details for mod2doctest-0.2.0-py2.7.egg
mod2doctest-0.2.0-py2.6.egg Legacy Egg format - - Details for mod2doctest-0.2.0-py2.6.egg
mod2doctest-0.2.0-py2.5.egg Legacy Egg format - - Details for mod2doctest-0.2.0-py2.5.egg
mod2doctest-0.2.0-py2.4.egg Legacy Egg format - - Details for mod2doctest-0.2.0-py2.4.egg

Total release size: 811.0 kB

Release files / mod2doctest-0.2.0.zip

Download URL mod2doctest-0.2.0.zip
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
54de58d0509ab2f35aa2f571d9b1badd9a5e793bc3e56293d452a66b25ea3197
BLAKE2b-256 checksum
How to use checksums
aba1b3d118ea123863d0ff63419afb80257a28291d0fdfcb5ebd853bd80ee8c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mod2doctest-0.2.0.win32-py2.7.exe

Download URL mod2doctest-0.2.0.win32-py2.7.exe
Size 220.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3796606c98fde6eeacb7157240db9242a0a6de203d64ad190e85cf9d503b7e32
BLAKE2b-256 checksum
How to use checksums
99ac5091d8f02314d255b5b574e1d623428052426d5a96a7bbf25472aa513439
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mod2doctest-0.2.0.win32-py2.6.exe

Download URL mod2doctest-0.2.0.win32-py2.6.exe
Size 220.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4ac2790ade44516f88d6108eeec757ff339392e7b1ad4cbd9ba0f7e8e4868542
BLAKE2b-256 checksum
How to use checksums
03ae2c12e9e7bdd0c2895aec27215f8100d1f046e6b6e96f47de72a683f57f97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mod2doctest-0.2.0.win32-py2.5.exe

Download URL mod2doctest-0.2.0.win32-py2.5.exe
Size 85.3 kB
Tags Source
SHA-256 checksum
How to use checksums
85a9c9adac6f89334e95ba0190dc80c6693bb0dc02cb25a76c93702322fe9eb4
BLAKE2b-256 checksum
How to use checksums
4cd883923f947881613a77b25f3a000a488dba99987afc6e3e67586062a9caa0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mod2doctest-0.2.0.win32-py2.4.exe

Download URL mod2doctest-0.2.0.win32-py2.4.exe
Size 85.3 kB
Tags Source
SHA-256 checksum
How to use checksums
34b14c10ed154324e0eecbaa7e9ebf2789e6168f5493df2e4ebed8c4aa0dadf8
BLAKE2b-256 checksum
How to use checksums
61f9329393cdcd7a699dd21902d206e26098f9d15961a1fcded7538cb860eb42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mod2doctest-0.2.0-py2.7.egg

Download URL mod2doctest-0.2.0-py2.7.egg
Size 47.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
243f152337db1a7e01fc27da1a2950fc8d408d7e3f39d43360c9528b92db164e
BLAKE2b-256 checksum
How to use checksums
7eaaab52cdc78bfdd12cc8620084562991735818b0ca4fe4dc34c1ee98444a0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mod2doctest-0.2.0-py2.6.egg

Download URL mod2doctest-0.2.0-py2.6.egg
Size 47.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
73c4d280d0277d4043546c5cb5ce0ed53c9f3f267700fdd1ddd5622d481ebaf3
BLAKE2b-256 checksum
How to use checksums
03370ca28331c4bdfeefb458733bc99919145e8a3c28d9faeaedefe0e7edda5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mod2doctest-0.2.0-py2.5.egg

Download URL mod2doctest-0.2.0-py2.5.egg
Size 47.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
518929c8e5a01fb9304d2a3056d651a950c7b5fef65a0846908f874c446d4a93
BLAKE2b-256 checksum
How to use checksums
cc6c0000779e527a59625b7b08f265e5bbca9ed127efacc3c8fac436b66d0bc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mod2doctest-0.2.0-py2.4.egg

Download URL mod2doctest-0.2.0-py2.4.egg
Size 47.9 kB
Tags Egg
SHA-256 checksum
How to use checksums
784bdb3d6df6880e3bf5f29132e386cc13f3864c804cca631c37a4f978d0ce3f
BLAKE2b-256 checksum
How to use checksums
0ff662904c7c7053a1c8466ba4227ef7daed2196d632f552bf5cf5d62118083a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for mod2doctest 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page