Skip to content
damien-robotsixPublic

About

A python package to create tree representation of directories using tree-sitter

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

PyArbor

PyArbor is a Python package that provides tools for recursively parsing a directory structure and analyzing file contents using Tree-sitter. It outputs the results as a structured tree in either JSON or text formats.

Features

  • Recursive directory traversal.
  • Syntax-aware file parsing for supported file types.
  • Outputs directory and file structures in JSON or text formats.

Installation

To install PyArbor, first ensure Python 3.7 or higher is installed. Then run:

pip install .

Or install directly from the repository:

pip install git+<repository-url>

Usage

Use the command-line interface to parse a directory:

pyarbor /path/to/directory --output json

For text output:

pyarbor /path/to/directory --output text

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines on how to contribute to this project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A python package to create tree representation of directories using tree-sitter

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages