Skip to main content

br4nch is a data structure tree generator for Python.

Project description

br4nch - Data Structure Tree Builder for Python.

GitHub issues open GitHub issues closed GitHub pull requests open GitHub pull requests closed

AboutInstallationDocumentationContributingQuestionsDonate

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:

https://docs.br4nch.com

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:

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:

To report a bug or request a feature:

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:

"Buy Me A Coffee"

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

br4nch-1.1.2.tar.gz (42.2 kB view hashes)

Uploaded Source

Built Distribution

br4nch-1.1.2-py3-none-any.whl (72.9 kB view hashes)

Uploaded Python 3

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