Metadata-Version: 2.1
Name: fast-trees
Version: 0.0.2
Summary: Cute little python module that sits atop the tree-sitter library to provide an easier to use and cleaner interface for interacting with source code.
Home-page: https://github.com/ncoop57/fast_trees/tree/main/
Author: Nathan Cooper
Author-email: nathanallencooper@gmail.com
License: Apache Software License 2.0
Keywords: tree-sitter source code parser
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: GitPython (==3.1.11)
Requires-Dist: tree-sitter (==0.2.0)

# Fast Trees
> Cute little python module that sits atop the tree-sitter library to provide an easier to use and cleaner interface for interacting with source code


## Install

`pip install fast-trees`

## How to use

Easily work with source code data by using the high level API. Here's how you can grab the parameters of a java method:

```
mthd = """public static void main(String[] args, Object clazz) {
    System.out.println(args[0]);
}
"""
parser = FastParser('java')
parser.get_params(mthd)
```




    2



# Supported Languages
- [x] Java

# TODO

- [x] Add ability to grab method parameters
- [ ] Add separation between parsing methods vs classes
- [ ] Add ability to get all methods in a class
- [ ] add ability to get all instance variables in a class
- [ ] Add more languages


