{"library":"tree-sitter","type":"library","category":null,"description":"Tree-sitter provides Python bindings to the core Tree-sitter parsing library, enabling fast, incremental parsing and the generation of concrete syntax trees for various programming languages. It's actively maintained, with frequent updates (minor and patch releases typically every few weeks or months) to keep pace with the underlying C library. The current version is `0.25.2`.","language":"python","status":"active","version":"0.25.2","tags":["parsing","syntax tree","AST","code analysis","compiler"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install tree-sitter","imports":["from tree_sitter import Language","from tree_sitter import Parser","from tree_sitter import Query","from tree_sitter import QueryCursor","import tree_sitter_python as tspython; PY_LANGUAGE = Language(tspython.language())"]},{"cmd":"pip install tree-sitter-python","imports":[]}],"homepage":"https://tree-sitter.github.io/tree-sitter/","github":"https://github.com/tree-sitter/py-tree-sitter","docs":"https://tree-sitter.github.io/py-tree-sitter/","changelog":null,"pypi":"https://pypi.org/project/tree-sitter/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":83,"avg_install_s":1.6,"avg_import_s":0.01,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/tree-sitter/compatibility"}}