br4nch is a data structure tree generator for Python.
Project description
br4nch - Data Structure Tree Builder for Python.
About • Installation • Documentation • Contributing • Questions • Donate
br4nch is a data structure tree generator for Python.
Basics
Here is an example of the very basics of br4nch:
>>> br4nch.add.branch(branch="Streaming", header="Movies & Series")
>>> br4nch.add.layer(branch="Streaming", layer=["Netflix", "Prime Video"], position="0")
>>> br4nch.add.layer(branch="Streaming", layer=["Movies", "Series"], position="*")
>>> br4nch.add.layer(branch="Streaming", layer="Interstellar", position="1.1")
>>> br4nch.add.layer(branch="Streaming", layer=["Squid Game", "The Crown"], position="1.2")
>>> br4nch.add.layer(branch="Streaming", layer=["Tenet", "Parasite"], position="2.1")
>>> br4nch.add.layer(branch="Streaming", layer="The Walking Dead", position="2.2")
>>> br4nch.display.branch(branch="Streaming")
Movies & Series
┣━ Netflix
┃ ┣━ Movies
┃ ┃ ┗━ Interstellar
┃ ┗━ Series
┃ ┣━ Squid Game
┃ ┗━ The Crown
┗━ Prime Video
┣━ Movies
┃ ┣━ Tenet
┃ ┗━ Parasite
┗━ Series
┗━ The Walking Dead
See the documentation for more examples.
Installation
b4nch can be installed using pip:
pip install br4nch
Documentation
Jump straight to the documentation:
Contributing
Help in testing, development, documentation and other tasks is highly appreciated and useful to the project. There are tasks for contributors of all experience levels.
To get started with developing br4nch, see CONTRIBUTING.
Got a question?
We are always happy to answer questions! Here are some good places to ask them:
- For general questions about br4nch, try br4nch discussions
If you're just getting started, the documentation can help answer questions.
If you think you've found a bug or want to request a feature:
- Search our issue tracker to see if it's already been reported
To report a bug or request a feature:
- Report at our issue tracker
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
See also the list of contributors who participated in this project.
License
This project is licensed under the GPL-3.0 License - see the LICENSE file for details
Support me?
If you enjoy using br4nch, you can support me here:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.