Skip to main content

Data Structure Tree Builder for Python.

Project description

logo

br4nch is a Data Structure Tree Builder for Python. It is built in 100%/Pure Python, which means it does not use 3rd party libraries. We listen to our users in issues, Discord channel and all over the Internet to create a fast, flexible and friendly Data Structure Tree Builder.

👀 Example

If you want to see more code examples and guide, please visit our documentation.

>>> br4nch.create.Tree(tree="Ukraine", header="Ukraine <3")

>>> br4nch.create.Node(tree="Ukraine", node=["Cities", "Information"])
>>> br4nch.create.Node(tree="Ukraine", node=["Donetsk Oblast", "Kiev Oblast"], parent="Cities")
>>> br4nch.create.Node(tree="Ukraine", node="Mariupol", parent="Donetsk")
>>> br4nch.create.Node(tree="Ukraine", node=["Bucha", "Tsjernobyl"], parent="Kiev")
>>> br4nch.create.Node(tree="Ukraine", node=["President", "Area", "Population"], parent="Information")
>>> br4nch.create.Node(tree="Ukraine", node="Zelensky", parent="President")
>>> br4nch.create.Node(tree="Ukraine", node="603.628 km2", parent="Area")
>>> br4nch.create.Node(tree="Ukraine", node="44 Million", parent="Population")

>>> br4nch.display.Tree(tree="Ukraine")
Ukraine <3
┣━ Cities
  ┣━ Donetsk Oblast
    ┗━ Mariupol
  ┗━ Kiev Oblast
     ┣━ Bucha
     ┗━ Tsjernobyl
┗━ Information
   ┣━ President
     ┗━ Zelensky
   ┣━ Area
     ┗━ 603.628 km2
   ┗━ Population
      ┗━ 44 Million

⚙️ Installation

Install br4nch with the pip install command:

pip install br4nch

🎯 Features

👍 Contribute

If you want to say thank you and/or support the active development of br4nch:

  1. Add a GitHub Star to the project.
  2. Tweet about the project on your Twitter.
  3. Support the project by donating a cup of coffee.

☕ Support

br4nch is an open source project that runs on donations to pay the bills e.g. our domain name. If you want to support br4nch, you can ☕ buy a coffee here.

‍💻 Code Contributors

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.

⚠️ License

br4nch is free and open-source software licensed under the GPL-3.0 License.

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-2.4.tar.gz (44.1 kB view details)

Uploaded Source

Built Distribution

br4nch-2.4-py3-none-any.whl (71.8 kB view details)

Uploaded Python 3

File details

Details for the file br4nch-2.4.tar.gz.

File metadata

  • Download URL: br4nch-2.4.tar.gz
  • Upload date:
  • Size: 44.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for br4nch-2.4.tar.gz
Algorithm Hash digest
SHA256 7b41d66af8b9345e18ad62d5294b07d70f056f66cc47089a487752144d29bcad
MD5 66b91ab4217bd77d97e0f1e45641e677
BLAKE2b-256 f191510f9584311f339963044e0fec37ef2db933498bc24b85cb12e9880319f6

See more details on using hashes here.

File details

Details for the file br4nch-2.4-py3-none-any.whl.

File metadata

  • Download URL: br4nch-2.4-py3-none-any.whl
  • Upload date:
  • Size: 71.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for br4nch-2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 73f07351b6189ad6ecb2d00c655491e09b174296432ccc8315bb34ca2a4b283e
MD5 2a10e0a1464cd4ce3d062420d1aea340
BLAKE2b-256 94c05135b8b558bfdc99e2ce710f4bde0fc9dec8674540348fde4cc92237145b

See more details on using hashes here.

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