https://github.com/tommyod/treedoc
Minimalistic Python documentation for dendrophiles.
https://github.com/tommyod/treedoc
cli docs documentation python terminal
Last synced: about 1 year ago
JSON representation
Minimalistic Python documentation for dendrophiles.
- Host: GitHub
- URL: https://github.com/tommyod/treedoc
- Owner: tommyod
- License: mit
- Created: 2019-04-16T14:54:28.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-20T06:00:23.000Z (over 3 years ago)
- Last Synced: 2025-04-03T09:21:36.063Z (about 1 year ago)
- Topics: cli, docs, documentation, python, terminal
- Language: Python
- Homepage: https://github.com/tommyod/treedoc
- Size: 1.2 MB
- Stars: 10
- Watchers: 6
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
#
 [](https://pypi.org/project/treedoc/) [](https://pepy.tech/project/treedoc) [](https://github.com/ambv/black) [](https://opensource.org/licenses/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](https://pypi.org/project/treedoc/) (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](https://github.blog/2019-02-14-introducing-draft-pull-requests/) 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.