DEV Community

Cover image for Tree Parsing
Jorge Silva
Jorge Silva

Posted on

Tree Parsing

What I built

A Python library to parse node list to tree, or parse tree to node list

Category Submission:

Wacky Wildcards

App Link

https://pypi.org/project/tree-parsing/

Screenshots

Image description

Image description

Description

A library to lets work with trees and lists.

So you can:

  • Make a tree when you have all nodes in the list
  • Convert the Tree to lists of nodes
  • Customize how to generate 'flow key', 'children key'
  • Do something for each node

Link to Source Code

Source Code: https://github.com/scjorge/tree-parsing

Documentation: https://tree-parsing.readthedocs.io/en/latest/

Permissive License

MIT License

Background (What made you decide to build this particular app? What inspired you?)

One day I needed to carry out an activity that needed to work with lists and trees and when looking, I couldn't find a library that met my need. So I used inspiration to create it and make it available to the world.

How I built it (How did you utilize GitHub Actions or GitHub Codespaces? Did you learn something new along the way? Pick up a new skill?)

I discovered the real usefulness of GitHub Codespaces in this project. I had already heard about it. I looked for tutorials on Youtube and was delighted with the tool. It really meets many needs at different times.

Top comments (0)