Skip to main content

Python Tree-sitter

CI pypi docs

This module provides Python bindings to the tree-sitter parsing library.

Installation

The package has no library dependencies and provides pre-compiled wheels for all major platforms.

[!NOTE] If your platform is not currently supported, please submit an issue on GitHub.

pip install tree-sitter

Usage

Setup

Install languages

Tree-sitter language implementations also provide pre-compiled binary wheels. Let's take Python as an example.

pip install tree-sitter-python

Then, you can load it as a Language object:

import tree_sitter_python as tspython
from tree_sitter import Language, Parser

PY_LANGUAGE = Language(tspython.language())

Basic parsing

Create a Parser and configure it to use a language:

parser = Parser(PY_LANGUAGE)

Parse some source code:

tree = parser.parse(
    bytes(
        """
def foo():
    if bar:
        baz()
""",
        "utf8"
    )
)

If you have your source code in some data structure other than a bytes object, you can pass a "read" callable to the parse function.

The read callable can use either the byte offset or point tuple to read from buffer and return source code as bytes object. An empty bytes object or None terminates parsing for that line. The bytes must be encoded as UTF-8 or UTF-16.

For example, to use the byte offset with UTF-8 encoding:

src = bytes(
    """
def foo():
    if bar:
        baz()
""",
    "utf8",
)


def read_callable_byte_offset(byte_offset, point):
    return src[byte_offset : byte_offset + 1]


tree = parser.parse(read_callable_byte_offset, encoding="utf8")

And to use the point:

src_lines = ["\n", "def foo():\n", "    if bar:\n", "        baz()\n"]


def read_callable_point(byte_offset, point):
    row, column = point
    if row >= len(src_lines) or column >= len(src_lines[row]):
        return None
    return src_lines[row][column:].encode("utf8")


tree = parser.parse(read_callable_point, encoding="utf8")

Inspect the resulting Tree:

root_node = tree.root_node
assert root_node.type == 'module'
assert root_node.start_point == (1, 0)
assert root_node.end_point == (4, 0)

function_node = root_node.children[0]
assert function_node.type == 'function_definition'
assert function_node.child_by_field_name('name').type == 'identifier'

function_name_node = function_node.children[1]
assert function_name_node.type == 'identifier'
assert function_name_node.start_point == (1, 4)
assert function_name_node.end_point == (1, 7)

function_body_node = function_node.child_by_field_name("body")

if_statement_node = function_body_node.child(0)
assert if_statement_node.type == "if_statement"

function_call_node = if_statement_node.child_by_field_name("consequence").child(0).child(0)
assert function_call_node.type == "call"

function_call_name_node = function_call_node.child_by_field_name("function")
assert function_call_name_node.type == "identifier"

function_call_args_node = function_call_node.child_by_field_name("arguments")
assert function_call_args_node.type == "argument_list"


assert str(root_node) == (
    "(module "
        "(function_definition "
            "name: (identifier) "
            "parameters: (parameters) "
            "body: (block "
                "(if_statement "
                    "condition: (identifier) "
                    "consequence: (block "
                        "(expression_statement (call "
                            "function: (identifier) "
                            "arguments: (argument_list))))))))"
)

Or, to use the byte offset with UTF-16 encoding:

parser.language = JAVASCRIPT
source_code = bytes("'😎' && '🐍'", "utf16")

def read(byte_position, _):
    return source_code[byte_position: byte_position + 2]

tree = parser.parse(read, encoding="utf16")
root_node = tree.root_node
statement_node = root_node.children[0]
binary_node = statement_node.children[0]
snake_node = binary_node.children[2]
snake = source_code[snake_node.start_byte:snake_node.end_byte]

assert binary_node.type == "binary_expression"
assert snake_node.type == "string"
assert snake.decode("utf16") == "'🐍'"

Walking syntax trees

If you need to traverse a large number of nodes efficiently, you can use a TreeCursor:

cursor = tree.walk()

assert cursor.node.type == "module"

assert cursor.goto_first_child()
assert cursor.node.type == "function_definition"

assert cursor.goto_first_child()
assert cursor.node.type == "def"

# Returns `False` because the `def` node has no children
assert not cursor.goto_first_child()

assert cursor.goto_next_sibling()
assert cursor.node.type == "identifier"

assert cursor.goto_next_sibling()
assert cursor.node.type == "parameters"

assert cursor.goto_parent()
assert cursor.node.type == "function_definition"

[!IMPORTANT] Keep in mind that the cursor can only walk into children of the node that it started from.

See examples/walk_tree.py for a complete example of iterating over every node in a tree.

Editing

When a source file is edited, you can edit the syntax tree to keep it in sync with the source:

new_src = src[:5] + src[5 : 5 + 2].upper() + src[5 + 2 :]

tree.edit(
    start_byte=5,
    old_end_byte=5,
    new_end_byte=5 + 2,
    start_point=(0, 5),
    old_end_point=(0, 5),
    new_end_point=(0, 5 + 2),
)

Then, when you're ready to incorporate the changes into a new syntax tree, you can call Parser.parse again, but pass in the old tree:

new_tree = parser.parse(new_src, tree)

This will run much faster than if you were parsing from scratch.

The Tree.changed_ranges method can be called on the old tree to return the list of ranges whose syntactic structure has been changed:

for changed_range in tree.changed_ranges(new_tree):
    print("Changed range:")
    print(f"  Start point {changed_range.start_point}")
    print(f"  Start byte {changed_range.start_byte}")
    print(f"  End point {changed_range.end_point}")
    print(f"  End byte {changed_range.end_byte}")

Pattern-matching

You can search for patterns in a syntax tree using a tree query:

query = PY_LANGUAGE.query(
    """
(function_definition
  name: (identifier) @function.def
  body: (block) @function.block)

(call
  function: (identifier) @function.call
  arguments: (argument_list) @function.args)
"""
)

Captures

captures = query.captures(tree.root_node)
assert len(captures) == 4
assert captures["function.def"][0] == function_name_node
assert captures["function.block"][0] == function_body_node
assert captures["function.call"][0] == function_call_name_node
assert captures["function.args"][0] == function_call_args_node

Matches

matches = query.matches(tree.root_node)
assert len(matches) == 2

# first match
assert matches[0][1]["function.def"] == [function_name_node]
assert matches[0][1]["function.block"] == [function_body_node]

# second match
assert matches[1][1]["function.call"] == [function_call_name_node]
assert matches[1][1]["function.args"] == [function_call_args_node]

The difference between the two methods is that Query.matches() groups captures into matches, which is much more useful when your captures within a query relate to each other.

To try out and explore the code referenced in this README, check out examples/usage.py.

Release files for tree-sitter 0.23.1

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

Source distribution (sdist)

Source distribution for tree-sitter 0.23.1
File Size Uploaded
tree-sitter-0.23.1.tar.gz 165.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for tree-sitter 0.23.1
File
tree_sitter-0.23.1-cp313-cp313-win_arm64.whl CPython 3.13 CPython 3.13 Windows ARM64 Details
tree_sitter-0.23.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
tree_sitter-0.23.1-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details
tree_sitter-0.23.1-cp313-cp313-musllinux_1_2_aarch64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ ARM64 Details
tree_sitter-0.23.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
tree_sitter-0.23.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details
tree_sitter-0.23.1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
tree_sitter-0.23.1-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details
tree_sitter-0.23.1-cp312-cp312-win_arm64.whl CPython 3.12 CPython 3.12 Windows ARM64 Details
tree_sitter-0.23.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
tree_sitter-0.23.1-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details
tree_sitter-0.23.1-cp312-cp312-musllinux_1_2_aarch64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ ARM64 Details
tree_sitter-0.23.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
tree_sitter-0.23.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details
tree_sitter-0.23.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
tree_sitter-0.23.1-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details
tree_sitter-0.23.1-cp311-cp311-win_arm64.whl CPython 3.11 CPython 3.11 Windows ARM64 Details
tree_sitter-0.23.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
tree_sitter-0.23.1-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details
tree_sitter-0.23.1-cp311-cp311-musllinux_1_2_aarch64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ ARM64 Details
tree_sitter-0.23.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
tree_sitter-0.23.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details
tree_sitter-0.23.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
tree_sitter-0.23.1-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details
tree_sitter-0.23.1-cp310-cp310-win_arm64.whl CPython 3.10 CPython 3.10 Windows ARM64 Details
tree_sitter-0.23.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
tree_sitter-0.23.1-cp310-cp310-musllinux_1_2_x86_64.whl CPython 3.10 CPython 3.10 Linux musl 1.2+ x86-64 Details
tree_sitter-0.23.1-cp310-cp310-musllinux_1_2_aarch64.whl CPython 3.10 CPython 3.10 Linux musl 1.2+ ARM64 Details
tree_sitter-0.23.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
tree_sitter-0.23.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details
tree_sitter-0.23.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
tree_sitter-0.23.1-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details
tree_sitter-0.23.1-cp39-cp39-win_arm64.whl CPython 3.9 CPython 3.9 Windows ARM64 Details
tree_sitter-0.23.1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
tree_sitter-0.23.1-cp39-cp39-musllinux_1_2_x86_64.whl CPython 3.9 CPython 3.9 Linux musl 1.2+ x86-64 Details
tree_sitter-0.23.1-cp39-cp39-musllinux_1_2_aarch64.whl CPython 3.9 CPython 3.9 Linux musl 1.2+ ARM64 Details
tree_sitter-0.23.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
tree_sitter-0.23.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ ARM64 Details
tree_sitter-0.23.1-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details
tree_sitter-0.23.1-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details

Total release size: 13.7 MB

Release files / tree-sitter-0.23.1.tar.gz

Download URL tree-sitter-0.23.1.tar.gz
Size 165.8 kB
Tags Source
SHA-256 checksum
How to use checksums
28fe02aff6676b203cbe4213ca7116db0aaac08d6ca4c0b1f1af038991631838
BLAKE2b-256 checksum
How to use checksums
0123e001538062ece748d7ab1fcfbcd9fa766d85f60f0d5ae014a7caf4f07c70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp313-cp313-win_arm64.whl

Download URL tree_sitter-0.23.1-cp313-cp313-win_arm64.whl
Size 101.6 kB
Tags CPython 3.13 Windows ARM64
SHA-256 checksum
How to use checksums
2553777da91764fed8aea431f63faf28b26618ce34a3f477316e1ed1dba5b667
BLAKE2b-256 checksum
How to use checksums
bf96a358d1044bf00e6a9335070d2300a6b97762599b4521f2d61f855759e302
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp313-cp313-win_amd64.whl

Download URL tree_sitter-0.23.1-cp313-cp313-win_amd64.whl
Size 117.1 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
f9e87300aba168b8b4ef17cedc6500ac38e249ea46fe3f1daac47b550e231168
BLAKE2b-256 checksum
How to use checksums
09e22a61e24029be8ed0de85b998725a82576410cd9bba800917880244dbf736
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL tree_sitter-0.23.1-cp313-cp313-musllinux_1_2_x86_64.whl
Size 567.0 kB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
8021920caac88a97f187bf46b2a6351e8dd48c8b2bb4387761f4dd2c9aef5c10
BLAKE2b-256 checksum
How to use checksums
9f9a0fe22b3addc657b41e52f9d01dcb2d1357e00712dd5d13e2ca57b7a2e81c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp313-cp313-musllinux_1_2_aarch64.whl

Download URL tree_sitter-0.23.1-cp313-cp313-musllinux_1_2_aarch64.whl
Size 555.4 kB
Tags CPython 3.13 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
38a4e3861f6265c6ef1bb453c20cdab4c804f348edfd7c6e700100ed3e2780eb
BLAKE2b-256 checksum
How to use checksums
03733bf4df1fd36b7e01da52d6bdbac18fa1e583832c61a118ea1edc862c4e67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tree_sitter-0.23.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 565.1 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
99e32abf7e93ac093237f0e6fab19b479440080436fc79e417c918cebafa0a32
BLAKE2b-256 checksum
How to use checksums
3917c67e342affc8400baafa55d1c48934db694643ebb611365974b220dccba0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL tree_sitter-0.23.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 550.7 kB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
57c2db822c07703b819e3d1718c74a514c1688f8f28665bccb7f4fa23af81a42
BLAKE2b-256 checksum
How to use checksums
bbbf8b00564e2d35b768ef520b56adf8dacd18843a7848b70bfc5b27cfa73f6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp313-cp313-macosx_11_0_arm64.whl

Download URL tree_sitter-0.23.1-cp313-cp313-macosx_11_0_arm64.whl
Size 130.1 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
aea3313e59c7b18b17b3ef673e52ca1513f2503a00e32a38fe3bcd47cbaa3449
BLAKE2b-256 checksum
How to use checksums
72d9d64791e4741adefb7a015d2ecc9c827470b7ac811a5990477af466007cf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp313-cp313-macosx_10_13_x86_64.whl

Download URL tree_sitter-0.23.1-cp313-cp313-macosx_10_13_x86_64.whl
Size 137.1 kB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
21c7c9cd3bf7a2aa9fcacf90538770f60c21f4f858b01057d47d48da3454a715
BLAKE2b-256 checksum
How to use checksums
8d3cec04161f8947ee6a54c9a27d3d73142b0a215cbecdc1dbafd68d3c786dc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp312-cp312-win_arm64.whl

Download URL tree_sitter-0.23.1-cp312-cp312-win_arm64.whl
Size 101.6 kB
Tags CPython 3.12 Windows ARM64
SHA-256 checksum
How to use checksums
c4caeba0abae929a1372092bbdf11c58fb008a931b52c2fe861b9fb98ebdc8d3
BLAKE2b-256 checksum
How to use checksums
dfa8403c977f5dcddf3c7805ca0f4ade91b057c1a8d8f440d99c8a9cfa313857
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp312-cp312-win_amd64.whl

Download URL tree_sitter-0.23.1-cp312-cp312-win_amd64.whl
Size 117.1 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
c50227ef6f8d8b1442c595f443b487c40a2445dac54db0d9a9a01df347c3e100
BLAKE2b-256 checksum
How to use checksums
d68c6e1147412d53262284680ced69bdef2622d0e19c9c53e4fd10f6cd9510e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL tree_sitter-0.23.1-cp312-cp312-musllinux_1_2_x86_64.whl
Size 567.0 kB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
0c8e09804455b5091cb0ec2e1a27e972ca26d65fbbbc74aa79f3f70f6075af51
BLAKE2b-256 checksum
How to use checksums
da634d4ef8a05f494f89f202b2502815921fe35f1668eb7e3ed14ebac415b525
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp312-cp312-musllinux_1_2_aarch64.whl

Download URL tree_sitter-0.23.1-cp312-cp312-musllinux_1_2_aarch64.whl
Size 555.2 kB
Tags CPython 3.12 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
a03b166330c09dc2941b26f4f7819e3314e5a0f70e7a496e76ff5961953676b9
BLAKE2b-256 checksum
How to use checksums
bf17eb0370b8e3d5a7b0619241bedf3380cb04567fdd0b823836cc85c163aa04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tree_sitter-0.23.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 565.2 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
522742a786f3223cdb8ee272e648cbfcac3af4d0119f2e9de6626df7c8605a9d
BLAKE2b-256 checksum
How to use checksums
91796526dab6e86431880669f90481cddc45455de827ebf4ee5321a7d9901f2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL tree_sitter-0.23.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 550.9 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
fdf0cbbb3d19ceedc7ce0a4bc3726ea835f673f491b4f630bdd22d3ce209fcfc
BLAKE2b-256 checksum
How to use checksums
4a54e8c6404b79e4273c89a239c492941bddc6a4dc5dc3688f9d8f5d892b5b56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL tree_sitter-0.23.1-cp312-cp312-macosx_11_0_arm64.whl
Size 130.1 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
95bb56f5ff20fe6cfc9580dfa4497d3c9ee9dd37dbc683d3b853323c19acd130
BLAKE2b-256 checksum
How to use checksums
68853169006cfce9fe99b271a370eb2a83daa0f64ac3d2d7afb4bd4cee1d8968
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp312-cp312-macosx_10_13_x86_64.whl

Download URL tree_sitter-0.23.1-cp312-cp312-macosx_10_13_x86_64.whl
Size 137.1 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
af768b0c70b0ce53a725135c7f6e36745a964d4e2e8adb20bdc7211756a6aae6
BLAKE2b-256 checksum
How to use checksums
5d696c257bc713e93303382e6d75c46ec940bcd7001b12fbb2deedec33a0b812
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp311-cp311-win_arm64.whl

Download URL tree_sitter-0.23.1-cp311-cp311-win_arm64.whl
Size 101.7 kB
Tags CPython 3.11 Windows ARM64
SHA-256 checksum
How to use checksums
ac46271c93a811c56897fbe3bb2dfccdb487045ca0f26d38cb9ef4fdbeabedf2
BLAKE2b-256 checksum
How to use checksums
6d60b2d42c6ef4c01b36e7215f7542ef56eb341452e327ae87567bb269bc3bd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp311-cp311-win_amd64.whl

Download URL tree_sitter-0.23.1-cp311-cp311-win_amd64.whl
Size 117.0 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
080ffaf8df305925a7ea792bd9b9e71729ea85f3bf97d9a2efde4e44bad989a9
BLAKE2b-256 checksum
How to use checksums
39758272ab2b02b7266c9518762482c4f0a99a02c068d53130fde864c04acaf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL tree_sitter-0.23.1-cp311-cp311-musllinux_1_2_x86_64.whl
Size 562.6 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
5cfe4f4682f0d21298a685f22b4a539b513311cb4d7bf3e64c66f0fe6034db49
BLAKE2b-256 checksum
How to use checksums
07736ad67affb0b769411387ef71033175044045e05cc79a8c5c252b48c5db98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp311-cp311-musllinux_1_2_aarch64.whl

Download URL tree_sitter-0.23.1-cp311-cp311-musllinux_1_2_aarch64.whl
Size 552.6 kB
Tags CPython 3.11 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
b64bf264bc2381aaed97982e53dd7b2071e86c1e35be47aff80bbcdbd933434a
BLAKE2b-256 checksum
How to use checksums
0727d629eab59dc65ce24fbf64b74cd0399c0bd2c42c856e8e93d52c87e9f500
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tree_sitter-0.23.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 561.9 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
2196816e80f8b280b2a2f9084329153175a95f229104a9f0e534efbe601d5a9f
BLAKE2b-256 checksum
How to use checksums
8c94eef80fdb8d137ef740508a0c6ae7c9a8af7e39a8d1cb666a75768605f6cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL tree_sitter-0.23.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 548.0 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
c95581fbd111a793cd2b12af261abd5f291a16b1e43a4abc3011d206c126bd19
BLAKE2b-256 checksum
How to use checksums
9c72d7ef26bea37239a739507e32381fea0071633771308f448b2d17ff9229ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL tree_sitter-0.23.1-cp311-cp311-macosx_11_0_arm64.whl
Size 130.4 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8a027435291336db0fd10ddcb6b38952c278533cb659500ac134fbd5edc8564d
BLAKE2b-256 checksum
How to use checksums
6cf2e56280349740763ee8a4114c48d9de2ba688fc1bebfc0d3db3e83b2ef991
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp311-cp311-macosx_10_9_x86_64.whl

Download URL tree_sitter-0.23.1-cp311-cp311-macosx_10_9_x86_64.whl
Size 137.0 kB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
a7805207eebd4b877713708d3a684b1b619bdd9da794348a668be2e126aeb1e4
BLAKE2b-256 checksum
How to use checksums
c48e9a0fa47fdd1aea7ee0ed93dd504a0c6cc377c00d9951097260653ef0fe5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp310-cp310-win_arm64.whl

Download URL tree_sitter-0.23.1-cp310-cp310-win_arm64.whl
Size 101.7 kB
Tags CPython 3.10 Windows ARM64
SHA-256 checksum
How to use checksums
92b9da86047bc0bba8571042f1f2e89d28968f840ad5bb431dc7bc412d06b634
BLAKE2b-256 checksum
How to use checksums
7fc1ae9e9154398d09aadd49bfcbd9147722be858b8ae8409c4451394d35df0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp310-cp310-win_amd64.whl

Download URL tree_sitter-0.23.1-cp310-cp310-win_amd64.whl
Size 117.2 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
75268cf478544ed2adb19aa85fed8832cd7c94792bd6010ac5919a86e0c1872b
BLAKE2b-256 checksum
How to use checksums
9d89c366ed62a2c3c1684b1aa1dcac5a0ec2f4a6772d91842dd016ea9acf7c79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp310-cp310-musllinux_1_2_x86_64.whl

Download URL tree_sitter-0.23.1-cp310-cp310-musllinux_1_2_x86_64.whl
Size 561.1 kB
Tags CPython 3.10 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
00555c016e5deae8befec12a01797fb06954435e48bfc707fc250c71c12d5780
BLAKE2b-256 checksum
How to use checksums
aa387f73979903b3e5dbd6eca046a5b9965366f0f6ec6fd3a862e00e1f0da1ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp310-cp310-musllinux_1_2_aarch64.whl

Download URL tree_sitter-0.23.1-cp310-cp310-musllinux_1_2_aarch64.whl
Size 551.3 kB
Tags CPython 3.10 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
ade4f2c083286d50ecf79eb97d89a185e43e370a5b27f7c160080014ebb2aabe
BLAKE2b-256 checksum
How to use checksums
06a0809ba2818b9e4a67435d618080da2cf362e848dbb5b9c5777cee7cc1bbaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tree_sitter-0.23.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 560.8 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
7386b510c55cae43961532df8ddb8478b365b8cbc4486082bca0a6b0eb49d717
BLAKE2b-256 checksum
How to use checksums
42b582f772fcc0fb38f488c81566abb041f645fc44c00f595189dcd96f10782b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL tree_sitter-0.23.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 546.8 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
560ed2eb122b9cef12ec4b9f9eec555976ed75ce9347e95286c56e0ef2a66d8f
BLAKE2b-256 checksum
How to use checksums
a2d0bfb2a7443674c32e95b81103d76c02d7ef9801b24f9fc6c80e6d90ec25fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL tree_sitter-0.23.1-cp310-cp310-macosx_11_0_arm64.whl
Size 130.5 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
82c2a873654ba771bbbff6067af090e36453fac0e4bfeff80dc3bd803d2a1dc8
BLAKE2b-256 checksum
How to use checksums
30ec4048be36558c5a31499dc923355e33f04a461a3eb2264e930d428efec73e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp310-cp310-macosx_10_9_x86_64.whl

Download URL tree_sitter-0.23.1-cp310-cp310-macosx_10_9_x86_64.whl
Size 137.2 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
81ae139e032a0e1dd450affb8cc299e3d2e948614b970aad15e7704a532e8bcd
BLAKE2b-256 checksum
How to use checksums
53b99b3f4d24d2678a7f5a02d45cec22c10334d8d5753b3201a9e998c857b6d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp39-cp39-win_arm64.whl

Download URL tree_sitter-0.23.1-cp39-cp39-win_arm64.whl
Size 101.9 kB
Tags CPython 3.9 Windows ARM64
SHA-256 checksum
How to use checksums
0dc96f9e012759a4bfb1037b728f2faed759e125892eb9183ad120b05e4b90ec
BLAKE2b-256 checksum
How to use checksums
66474ccd06ee7cfe54f54858d308dcb1984254340fc24147354bac0d2e23dac1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp39-cp39-win_amd64.whl

Download URL tree_sitter-0.23.1-cp39-cp39-win_amd64.whl
Size 117.5 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
3fc7b3d9d9d5bf1a481adf0be3254c344543329458bfc33ea788a38180df3da5
BLAKE2b-256 checksum
How to use checksums
3c48ceaa6d22937316e079e2c1ec3593d1092ad8b886c6ebfdd292597b826e41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp39-cp39-musllinux_1_2_x86_64.whl

Download URL tree_sitter-0.23.1-cp39-cp39-musllinux_1_2_x86_64.whl
Size 563.0 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
73efbec420083c368ccba9d3f153678fdc174e5765283c274ec1ca599c2a469d
BLAKE2b-256 checksum
How to use checksums
e30a2cca0fbacce34e0dc10397ba431d720f4861916019d00f497c59f5e51c36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp39-cp39-musllinux_1_2_aarch64.whl

Download URL tree_sitter-0.23.1-cp39-cp39-musllinux_1_2_aarch64.whl
Size 552.9 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
801845257c3718b01b4e1d58fd344cdc3f54d1b346b6754ad9f962e2401eec3b
BLAKE2b-256 checksum
How to use checksums
cc3e5dcc9957825d12b3269985beba0eeaeb9a8dec94b8f5240397e5491e9383
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tree_sitter-0.23.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 562.5 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
8240cfcf52575267ac9509ca199c012a0adcde61b431f17730f48a52aa95741f
BLAKE2b-256 checksum
How to use checksums
186874f849ac246f61b68e31ff5921bdc0861484499d4c70065f68ba34976c7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL tree_sitter-0.23.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 548.5 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
68474230c30bad92f8cdde4744b65b0e6266926b28101537a74355787458b076
BLAKE2b-256 checksum
How to use checksums
2d07695e450c74df55b7bcbd04d8d4316ea5dfe2710d1c31c011952b69808fe4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp39-cp39-macosx_11_0_arm64.whl

Download URL tree_sitter-0.23.1-cp39-cp39-macosx_11_0_arm64.whl
Size 130.8 kB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5a7311a14f98c50836559ad9ba706397261d3a4e74a5c4c3cf6684ae00551899
BLAKE2b-256 checksum
How to use checksums
a3a7eaa50b390247751eb329eace0c67b8d15462a0ad237ac652dbd67440b1d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / tree_sitter-0.23.1-cp39-cp39-macosx_10_9_x86_64.whl

Download URL tree_sitter-0.23.1-cp39-cp39-macosx_10_9_x86_64.whl
Size 137.5 kB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
19c5cf5ea2ad1a34510dc1bcfa064e4e9ad1e097ba3af7d8bc95377669d28aed
BLAKE2b-256 checksum
How to use checksums
09348ecefa14dcd86b64c1bcf66a352f12ec0c5f8576e6bf8cc13e097ac50515
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7
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