Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Binary Python wheels for many tree sitter languages.

License

Notifications You must be signed in to change notification settings

ObserverOfTime/py-tree-sitter-languages

 
 

Repository files navigation

Tree-sitter languages

Binary Python wheels for many tree-sitter languages.

py-tree-sitter is a fantastic library that provides Python bindings for the even more fantastic tree-sitter parsing library.

py-tree-sitter-languages provides binary Python wheels for many tree sitter languages that do not have their own packages.

Install

pip install tree-sitter-languages

Note: building from source requires git and a C compiler.

Usage

from tree_sitter_languages import get_language, get_parser

language = get_language("rst")
parser = get_parser("rst")

That's the whole API!

Refer to py-tree-sitter for the language and parser API.

License

This project is licensed under the Apache License, Version 2.0.

It also includes the following other projects distributed in binary form:

About

Binary Python wheels for many tree sitter languages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 83.2%
  • Shell 10.9%
  • Cython 5.9%