Skip to main content

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 - See the GitHub repo

Example 2 - See the GitHub repo

Example 3 - See the GitHub repo

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 - See the GitHub repo

Jupyter notebook

Example 5 - See the GitHub repo

Contributing

Contributions are welcome. If you wish to work on a problem, please create a 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.

Metadata

Release files for treedoc 1.0.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 treedoc 1.0.0
File Size Uploaded
treedoc-1.0.0.tar.gz 17.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for treedoc 1.0.0
File Interpreter ABI Platform
treedoc-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 38.0 kB

Release files / treedoc-1.0.0.tar.gz

Download URL treedoc-1.0.0.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e462614ee6529b8fddea1d3d745a376021ca5bcbb985828b9b6be15e57bd14dd
BLAKE2b-256 checksum
How to use checksums
65f4b32de50f62b700fc826f4bbebb5c08081f41c7e045109172d463588aa825
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

Release files / treedoc-1.0.0-py3-none-any.whl

Download URL treedoc-1.0.0-py3-none-any.whl
Size 20.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce2a121ce05aa90893d13227a0764d2a05e38e0e79fbf1fb9b05da4c03b26efb
BLAKE2b-256 checksum
How to use checksums
18f0544138651afaa842db0aec64cf94d54521e1b209617ee6d07181659ca590
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

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