Skip to main content

Minimalistic Python documentation for dendrophiles.

Project description

Build Status PyPI version Downloads Black License: MIT

Minimalistic Python documentation for dendrophiles.

treedoc prints minimalistic Python documentation in a tree structure, aiming to hit the sweet spot between detailed information about a single object and superficial information about object attributes.

treedoc is great for:

  • Getting an overview of a package without endlessly scrolling through a website.
  • Searching through documentation.
  • Printing essential information about different Python objects.

Installation

Install from Python Package Index (PyPI) using pip install treedoc.

Usage

treedoc can be used directly through the command-line interface, or interactively in a Python shell or Jupyter notebook. For more information about arguments, see treedoc --help or help(treedoc).

Command-line interface

Example 1

Example 2

Example 3

Python shell and notebooks

treedoc can be imported and used just like any other package, e.g. in an interactive Python interpreter session or a Jupyter notebook.

Interpreter

Example 4

Jupyter notebook

Example 5

Contributing

Contributions are welcome. If you wish to work on a problem, please create a draft pull request to get feedback. We aim for:

  • Zero dependencies, but dependencies for testing are ok.
  • Idiomatic, clean Python code. Readability matters.
  • Thorough testing and code formatting, see .travis.yml for commands run by continuous integration.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

treedoc-0.4.0-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file treedoc-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: treedoc-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for treedoc-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c1dc058e8b2d21cba187e464d570d555dc3b140d5c5121ae803f4e5c2a21fa65
MD5 bf19d15abe3655164db77a69266d8435
BLAKE2b-256 4ea225630f1f557b74edf86e7b9b3980240c1223b001d99fc06e7d2d1c5c0772

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