Skip to main content

libtreesitter

Python binding (ctypes/cffi-based) for the libtree-sitter C library.

Overview

TBD…

PyPI record.

Documentation.

Usage

TBD…

Installation

Prerequisites:

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 Karpierz
Licensed under the zlib/libpng License
Please refer to the accompanying LICENSE file.

Authors

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.

Donate

Metadata

Release files for libtreesitter 0.27.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for libtreesitter 0.27.2
File Actions
libtreesitter-0.27.2-pp312-pypy312_pp80-win_amd64.whl PyPy 3.12 PyPy 3.12 8.0 Windows x86-64 Details for libtreesitter-0.27.2-pp312-pypy312_pp80-win_amd64.whl
libtreesitter-0.27.2-pp311-pypy311_pp80-win_amd64.whl PyPy 3.11 PyPy 3.11 8.0 Windows x86-64 Details for libtreesitter-0.27.2-pp311-pypy311_pp80-win_amd64.whl
libtreesitter-0.27.2-graalpy313-graalpy253_313_native-win_amd64.whl graalpy313 graalpy253 313 native Windows x86-64 Details for libtreesitter-0.27.2-graalpy313-graalpy253_313_native-win_amd64.whl
libtreesitter-0.27.2-cp315-cp315-win_amd64.whl CPython 3.15 CPython 3.15 Windows x86-64 Details for libtreesitter-0.27.2-cp315-cp315-win_amd64.whl
libtreesitter-0.27.2-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for libtreesitter-0.27.2-cp314-cp314-win_amd64.whl
libtreesitter-0.27.2-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for libtreesitter-0.27.2-cp313-cp313-win_amd64.whl
libtreesitter-0.27.2-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for libtreesitter-0.27.2-cp312-cp312-win_amd64.whl
libtreesitter-0.27.2-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for libtreesitter-0.27.2-cp311-cp311-win_amd64.whl

Total release size: 972.6 kB

Release files / libtreesitter-0.27.2-pp312-pypy312_pp80-win_amd64.whl

Download URL libtreesitter-0.27.2-pp312-pypy312_pp80-win_amd64.whl
Size 120.2 kB
Tags PyPy 3.12 PyPy 3.12 8.0 Windows x86-64
SHA-256 checksum
How to use checksums
805af6ad070f7c8c4da36a35259bb2c02b97cf1a674a862cc4c372fdea51d35f
BLAKE2b-256 checksum
How to use checksums
34821ef3784d454c49b1e8598621c8c4008f2b5d44bc729d609a2d886cccc181
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / libtreesitter-0.27.2-pp311-pypy311_pp80-win_amd64.whl

Download URL libtreesitter-0.27.2-pp311-pypy311_pp80-win_amd64.whl
Size 120.3 kB
Tags PyPy 3.11 PyPy 3.11 8.0 Windows x86-64
SHA-256 checksum
How to use checksums
94cdb25cb4b13db1a4081658fdd69e3530b4036835fcb31619064ca2848b0615
BLAKE2b-256 checksum
How to use checksums
e6d301a7178004fe7bc7a524f335ce8f3e0cc96d85ac511f7b86bd6e3d03ec68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / libtreesitter-0.27.2-graalpy313-graalpy253_313_native-win_amd64.whl

Download URL libtreesitter-0.27.2-graalpy313-graalpy253_313_native-win_amd64.whl
Size 144.6 kB
Tags Windows x86-64 graalpy253 313 native graalpy313
SHA-256 checksum
How to use checksums
d7945565aadfd3a767b17b026f1417e1f013dd7db0f4462b3769dc7435f74bee
BLAKE2b-256 checksum
How to use checksums
9afcf5c1cffb3cc8dfd5e2592438373329248fe491b18470f49c4988b1783931
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / libtreesitter-0.27.2-cp315-cp315-win_amd64.whl

Download URL libtreesitter-0.27.2-cp315-cp315-win_amd64.whl
Size 119.2 kB
Tags CPython 3.15 Windows x86-64
SHA-256 checksum
How to use checksums
08f4f0b7c4e2aa0f4c2d443e781fdc054c9bd647e540e21ae9e8249ba9b50793
BLAKE2b-256 checksum
How to use checksums
e11c5d64eb3770e0049e43e2b09832253a17e89d899057f73a6e9d5fecad17be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / libtreesitter-0.27.2-cp314-cp314-win_amd64.whl

Download URL libtreesitter-0.27.2-cp314-cp314-win_amd64.whl
Size 119.2 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
0efa49a1d2a5c8437aa6f85368e3d3189cdaf273087b27b81d030ddc83963f7f
BLAKE2b-256 checksum
How to use checksums
57318da963b00aa3080d5bc1c866f687fd180e6f16ee347834dda345f06d1462
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / libtreesitter-0.27.2-cp313-cp313-win_amd64.whl

Download URL libtreesitter-0.27.2-cp313-cp313-win_amd64.whl
Size 116.0 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
393ac9be37d88501239c0d7221827a2fe9a2d93147fcb3bbe8f4ffc5d7a1c1b6
BLAKE2b-256 checksum
How to use checksums
4e66cef024f8b3e6758dbb5dc5a06f0c5e7df5694b684a203c663dd8f321fd37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / libtreesitter-0.27.2-cp312-cp312-win_amd64.whl

Download URL libtreesitter-0.27.2-cp312-cp312-win_amd64.whl
Size 116.2 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
de96102c078b61b2ca00dcf9f0f24d4142e25a3dd886812352744778333246f7
BLAKE2b-256 checksum
How to use checksums
197bb32d2dd7ae9c7a44334164ccb13f08750e9cf3e01be949f4bab8e78784b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / libtreesitter-0.27.2-cp311-cp311-win_amd64.whl

Download URL libtreesitter-0.27.2-cp311-cp311-win_amd64.whl
Size 117.1 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
7ea24bc85e3f0098a3ebcaf07748314a830940af54e054b63180d6845e1156e9
BLAKE2b-256 checksum
How to use checksums
3a0c203578a834db5229c36e36ae692bd18752e73e88f69828f30a829bb6a18e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for libtreesitter 0.27.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page