Skip to main content

Converts python code to markdown docs

Project description

pydoc2md

inspired by https://github.com/gbowerman/py2md

pydoc2md is lightweight python application that generates markdown (.md) files from a repository of .py. The idea is to easily generate bare bones documentation for a python project by providing a list of all classes and functions, each with their docstring.


A .md file is generated for each .py in the input didirectoryrection or in its subfolders. This .md file includes all class/functions defined in the .py with a brief description. The result is something that looks like this:

Roadmap

This package is currently under development, bugs and breaking changes are almost garuanteed. Features that will be added soon:

  • output folder structure: option to save the output md in a folder structure mirroring that of the input package
  • overall table of content: table of content with an overview of all .md files and how they're organised
  • > suggest new features you'd like to see added?

Usage

using pydoc2md is very simple. From the command line:

    pydoc2md project/path output/path

For instance, the .md files in Docs where generated with

    pydoc2md Github/pydoc2md/pydoc2md Github/pydoc2md/Docs

Installation

Currently you can isntall with:

pip install git+https://github.com/FedeClaudi/pydoc2md.git

though a pip installable version will be released when the project is more mature.

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

pydoc2md-0.0.0.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

pydoc2md-0.0.0.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file pydoc2md-0.0.0.1.tar.gz.

File metadata

  • Download URL: pydoc2md-0.0.0.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.4

File hashes

Hashes for pydoc2md-0.0.0.1.tar.gz
Algorithm Hash digest
SHA256 9b8ba5368c3b742f30a861a41962f08114a51fe9efade71a9b947041c66d74b8
MD5 23f203502ea576ce355097df1ce90b44
BLAKE2b-256 e17edaf0c385be9f7a4cc940c2fe437afe449fda9b28aa2d3ed56640bd8fac4a

See more details on using hashes here.

File details

Details for the file pydoc2md-0.0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pydoc2md-0.0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.4

File hashes

Hashes for pydoc2md-0.0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 972cb5a9d47bfe40161150ac985b4535e0dd8580a3492c797eab6d945fedef4b
MD5 65c02a4c59c2cc6ca38144f0b831cba6
BLAKE2b-256 1e8bcc82039660d48985e2322559550db8b84f05244f87bbfb059c5b461d9568

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page