Minimalistic Python documentation for dendrophiles.
Project description
treedoc
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
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
Jupyter notebook
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.
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
File details
Details for the file treedoc-0.4.2.tar.gz
.
File metadata
- Download URL: treedoc-0.4.2.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c72f196ad0e071bd79c7d6d7f362ae770318829c3a5bf379b1b5574d5430900c |
|
MD5 | 0d82cf260fdaf06abd57d6ac4049d912 |
|
BLAKE2b-256 | e0371b6543d07781912924c4a879cf5e818264b5036723e775b619bf8de70eac |