Skip to content

damien-robotsix/PyArbor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages