libtreesitter documentation¶
libtreesitter¶
Python binding (ctypes/cffi-based) for the libtree-sitter C library.
Overview¶
TBD…
Usage¶
TBD…
Installation¶
Prerequisites:
Python 3.10 or higher
pip
To install run:
python -m pip install --upgrade libtreesitter
Development¶
Prerequisites:
Development is strictly based on nox. To install it run:
python -m pip install --upgrade nox
Visit Development page.
Installation from sources:
clone the sources:
git clone https://github.com/karpierz/libtreesitter libtreesitter
and run:
python -m pip install ./libtreesitter
or on development mode:
python -m pip install --editable ./libtreesitter
License¶
Copyright (c) 2026-2026 Adam KarpierzLicensed under the zlib/libpng LicensePlease refer to the accompanying LICENSE file.
Sponsoring¶
If you would like to sponsor the development of this project, your contribution
is greatly appreciated.
As I am now retired, any support helps me dedicate more time to maintaining and
improving this work.