libtreesitter
Python binding (ctypes/cffi-based) for the libtree-sitter C library.
Overview
TBD…
Usage
TBD…
Installation
Prerequisites:
Python 3.11 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.
Metadata
Release files for libtreesitter 0.27.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| libtreesitter-0.27.0-pp312-pypy312_pp80-win_amd64.whl | PyPy 3.12 | PyPy 3.12 8.0 | Windows x86-64 | Details |
| libtreesitter-0.27.0-pp311-pypy311_pp80-win_amd64.whl | PyPy 3.11 | PyPy 3.11 8.0 | Windows x86-64 | Details |
| libtreesitter-0.27.0-graalpy313-graalpy253_313_native-win_amd64.whl | graalpy313 | graalpy253 313 native | Windows x86-64 | Details |
| libtreesitter-0.27.0-cp315-cp315-win_amd64.whl | CPython 3.15 | CPython 3.15 | Windows x86-64 | Details |
| libtreesitter-0.27.0-cp314-cp314-win_amd64.whl | CPython 3.14 | CPython 3.14 | Windows x86-64 | Details |
| libtreesitter-0.27.0-cp313-cp313-win_amd64.whl | CPython 3.13 | CPython 3.13 | Windows x86-64 | Details |
| libtreesitter-0.27.0-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details |
| libtreesitter-0.27.0-cp311-cp311-win_amd64.whl | CPython 3.11 | CPython 3.11 | Windows x86-64 | Details |
Total release size: 968.7 kB
Release files / libtreesitter-0.27.0-pp312-pypy312_pp80-win_amd64.whl
| Download URL | libtreesitter-0.27.0-pp312-pypy312_pp80-win_amd64.whl |
|---|---|
| Size | 119.7 kB |
| Tags | PyPy 3.12 PyPy 3.12 8.0 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c73ed25893c748b5c0798a8bfab9302c6cba6af006d742ca2f50236d67400c2c
|
|
BLAKE2b-256 checksum How to use checksums |
989bfb2f67ec0a6da518754d333fb7379a8e53881a8a25d1e63d9d97851a4db6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / libtreesitter-0.27.0-pp311-pypy311_pp80-win_amd64.whl
| Download URL | libtreesitter-0.27.0-pp311-pypy311_pp80-win_amd64.whl |
|---|---|
| Size | 119.8 kB |
| Tags | PyPy 3.11 PyPy 3.11 8.0 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c3b4bc509a5b3f6b6b75e8ae5cf40c6c8c4439b687da87032c3e4392afa5e9d2
|
|
BLAKE2b-256 checksum How to use checksums |
61b573b75a5796286b12eb6624bfa908e80b71632dc4c0fa0f9da938cd5f1380
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / libtreesitter-0.27.0-graalpy313-graalpy253_313_native-win_amd64.whl
| Download URL | libtreesitter-0.27.0-graalpy313-graalpy253_313_native-win_amd64.whl |
|---|---|
| Size | 144.1 kB |
| Tags | Windows x86-64 graalpy253 313 native graalpy313 |
|
SHA-256 checksum How to use checksums |
e035a8b907a905fbba29349acdc6a4a8c138cbbcec8e625dc0c949eb93286f1c
|
|
BLAKE2b-256 checksum How to use checksums |
70a3909687641885fe070f483456611dcbadaf8911991cdba74fed9029e89d67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / libtreesitter-0.27.0-cp315-cp315-win_amd64.whl
| Download URL | libtreesitter-0.27.0-cp315-cp315-win_amd64.whl |
|---|---|
| Size | 118.6 kB |
| Tags | CPython 3.15 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c74222d66efacbf4767d6cf69273e451957dd7393e2e15bf19cfc87f8ceb4d2f
|
|
BLAKE2b-256 checksum How to use checksums |
4269395b8d3312d5ba0095d5c04a9e005571f31348a6ead4ffccbf8a525242c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / libtreesitter-0.27.0-cp314-cp314-win_amd64.whl
| Download URL | libtreesitter-0.27.0-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 118.6 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5fb4b7f54a1eb06b4b4d328573d75089fdbc875b1619a284329dea96bf0c09ad
|
|
BLAKE2b-256 checksum How to use checksums |
aaea9eba5c752974bf3d3397ad7d745df4575ea20415dd621243a2bb9ff43a5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / libtreesitter-0.27.0-cp313-cp313-win_amd64.whl
| Download URL | libtreesitter-0.27.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 115.5 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
422d086fc00ffd20e16c87f5366f167e9ef94b7e354762d69ced71fd1dc151de
|
|
BLAKE2b-256 checksum How to use checksums |
1a9f29cd419c32fbb58ad2b638b7f7a2b32ad95b08257f6917490b0d0c41fdb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / libtreesitter-0.27.0-cp312-cp312-win_amd64.whl
| Download URL | libtreesitter-0.27.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 115.7 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8fa7c335a97d6d37ed534ccf018a1033ced3282f826ef88bb63c830f98ea3801
|
|
BLAKE2b-256 checksum How to use checksums |
9d292a1de4774a6f7efb4c1e88fa4f1f5d606753f0aee62dd75438194f1b4e01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / libtreesitter-0.27.0-cp311-cp311-win_amd64.whl
| Download URL | libtreesitter-0.27.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 116.6 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7ddf4a488786813c913e6138e2e02b99b13f097c4e4024ec6830872676665273
|
|
BLAKE2b-256 checksum How to use checksums |
3069286203b04a3b99a1776550dd013af11625690715a4bb3fbb4149825c72ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|