Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

br4nch

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

br4nch

Data Structure Tree Builder for Python.

  • 2.4
  • PyPI
  • Socket score

Maintainers
1

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc