Skip to main content

Python bindings to the Tree-sitter parsing library

Project description

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 = Query(
    PY_LANGUAGE,
    """
(function_definition
  name: (identifier) @function.def
  body: (block) @function.block)

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

Captures

query_cursor = QueryCursor(query)
captures = query_cursor.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_cursor.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 QueryCursor.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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tree-sitter-0.25.1.tar.gz (177.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tree_sitter-0.25.1-cp314-cp314-win_arm64.whl (117.4 kB view details)

Uploaded CPython 3.14Windows ARM64

tree_sitter-0.25.1-cp314-cp314-win_amd64.whl (130.8 kB view details)

Uploaded CPython 3.14Windows x86-64

tree_sitter-0.25.1-cp314-cp314-musllinux_1_2_x86_64.whl (630.9 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

tree_sitter-0.25.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (636.0 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

tree_sitter-0.25.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (609.2 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

tree_sitter-0.25.1-cp314-cp314-macosx_11_0_arm64.whl (140.8 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

tree_sitter-0.25.1-cp314-cp314-macosx_10_13_x86_64.whl (146.8 kB view details)

Uploaded CPython 3.14macOS 10.13+ x86-64

tree_sitter-0.25.1-cp313-cp313-win_arm64.whl (113.9 kB view details)

Uploaded CPython 3.13Windows ARM64

tree_sitter-0.25.1-cp313-cp313-win_amd64.whl (127.2 kB view details)

Uploaded CPython 3.13Windows x86-64

tree_sitter-0.25.1-cp313-cp313-musllinux_1_2_x86_64.whl (630.8 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

tree_sitter-0.25.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (635.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

tree_sitter-0.25.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (607.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

tree_sitter-0.25.1-cp313-cp313-macosx_11_0_arm64.whl (140.8 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

tree_sitter-0.25.1-cp313-cp313-macosx_10_13_x86_64.whl (146.9 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

tree_sitter-0.25.1-cp312-cp312-win_arm64.whl (113.9 kB view details)

Uploaded CPython 3.12Windows ARM64

tree_sitter-0.25.1-cp312-cp312-win_amd64.whl (127.2 kB view details)

Uploaded CPython 3.12Windows x86-64

tree_sitter-0.25.1-cp312-cp312-musllinux_1_2_x86_64.whl (630.8 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

tree_sitter-0.25.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (634.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

tree_sitter-0.25.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (606.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

tree_sitter-0.25.1-cp312-cp312-macosx_11_0_arm64.whl (140.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

tree_sitter-0.25.1-cp312-cp312-macosx_10_13_x86_64.whl (146.9 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

tree_sitter-0.25.1-cp311-cp311-win_arm64.whl (113.9 kB view details)

Uploaded CPython 3.11Windows ARM64

tree_sitter-0.25.1-cp311-cp311-win_amd64.whl (127.2 kB view details)

Uploaded CPython 3.11Windows x86-64

tree_sitter-0.25.1-cp311-cp311-musllinux_1_2_x86_64.whl (629.3 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

tree_sitter-0.25.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (631.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

tree_sitter-0.25.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (604.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

tree_sitter-0.25.1-cp311-cp311-macosx_11_0_arm64.whl (141.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

tree_sitter-0.25.1-cp311-cp311-macosx_10_9_x86_64.whl (146.7 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

tree_sitter-0.25.1-cp310-cp310-win_arm64.whl (113.9 kB view details)

Uploaded CPython 3.10Windows ARM64

tree_sitter-0.25.1-cp310-cp310-win_amd64.whl (127.3 kB view details)

Uploaded CPython 3.10Windows x86-64

tree_sitter-0.25.1-cp310-cp310-musllinux_1_2_x86_64.whl (623.8 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

tree_sitter-0.25.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (627.1 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

tree_sitter-0.25.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (599.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

tree_sitter-0.25.1-cp310-cp310-macosx_11_0_arm64.whl (141.0 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

tree_sitter-0.25.1-cp310-cp310-macosx_10_9_x86_64.whl (146.7 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

Details for the file tree-sitter-0.25.1.tar.gz.

File metadata

  • Download URL: tree-sitter-0.25.1.tar.gz
  • Upload date:
  • Size: 177.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tree-sitter-0.25.1.tar.gz
Algorithm Hash digest
SHA256 cd761ad0e4d1fc88a4b1b8083bae06d4f973acf6f5f29bbf13ea9609c1dec9c1
MD5 a20e7e4b84c40872eed9b4a42f97c0c8
BLAKE2b-256 892b02a642e67605b9dd59986b00d13a076044dede04025a243f0592ac79d68c

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp314-cp314-win_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp314-cp314-win_arm64.whl
Algorithm Hash digest
SHA256 f7b68f584336b39b2deab9896b629dddc3c784170733d3409f01fe825e9c04eb
MD5 457957d437181a1de1a7645f42dab962
BLAKE2b-256 ce333591e7b22dd49f46ae4fdee1db316ecefd0486cae880c5b497a55f0ccb24

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 a40a481e28e1afdbc455932d61e49ffd4163aafa83f4a3deb717524a7786197e
MD5 28fe2e499bfa55fdb15522cf411900ec
BLAKE2b-256 122ad0b097157c2d487f5e6293dae2c106ec9ede792a6bb780249e81432e754d

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1863d96704eb002df4ad3b738294ae8bd5dcf8cefb715da18bff6cb2d33d978e
MD5 3f565fb3cfad1190a978049fca2cfa37
BLAKE2b-256 700ac5b6c9cdb7bd4bf0c3d2bd494fcf356acc53f8e63007dc2a836d95bbe964

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 044aa23ea14f337809821bea7467f33f4c6d351739dca76ba0cbe4d0154d8662
MD5 3185ae50cf28c67451524e43e8c8512a
BLAKE2b-256 53a8b782576d7ea081a87285d974005155da03b6d0c66283fe1e3a5e0dd4bd98

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d025c56c393cea660df9ef33ca60329952a1f8ee6212d21b2b390dfec08a3874
MD5 fba8c0d2c472eb44691830a6f8f85295
BLAKE2b-256 3948c9e6deb88f3c7f16963ef205e5b8e3ea7f5effd048b4515d09738c7b032b

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ae024d8ccfef51e61c44a81af7a48670601430701c24f450bea10f4b4effd8d1
MD5 d894e9b89cb0b22d254889ea7ea4f151
BLAKE2b-256 f359002c89df1e8f1664b82023e5d0c06de97fff5c2a2e33dce1a241c8909758

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp314-cp314-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp314-cp314-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 32cee52264d9ecf98885fcac0185ac63e16251b31dd8b4a3b8d8071173405f8f
MD5 66af81fd3192f551861b618bae38a5be
BLAKE2b-256 708ccb851da552baf4215baf96443e5e9e39095083a95bc05c4444e640fe0fe8

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp313-cp313-win_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 c1d2dbf7d12426b71ff49739f599c355f4de338a5c0ab994de2a1d290f6e0b20
MD5 501c2149ecd2fc7924883040a6c9d672
BLAKE2b-256 32fbb8b7b5122ac4a80cd689a5023f2416910e10f9534ace1cdf0020a315d40d

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c1d6393454d1f9d4195c74e40a487640cd4390cd4aee90837485f932a1a0f40c
MD5 d2eeed5acbf025309afb1597d374f7a9
BLAKE2b-256 2f53180b0ed74153a3c9a23967f54774d5930c2e0b67671ae4ca0d4d35ba18ac

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a99ecef7771afb118b2a8435c8ba67ea7a085c60d5d33dc0a4794ed882e5f7df
MD5 b795b11418ab2d816eea14186e7537c2
BLAKE2b-256 ce27123667f756bb32168507c940db9040104c606fbb0214397d3c20cf985073

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 632910847e3f8ae35841f92cba88a9a1b8bc56ecc1514a5affebf7951fa0fc0a
MD5 5169e47e8a2d16159e716b4c9a6ab7ff
BLAKE2b-256 4993605b08dc4cf76d08cfacebc30a88467c6526ea5c94592c25240518e38b71

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 acf571758be0a71046a61a0936cb815f15b13e0ae7ec6d08398e4aa1560b371d
MD5 338b658162cee63f985797f27842ab5a
BLAKE2b-256 16e685012113899296b8e0789ae94f562d3971d7d3df989e8bec6128749394e1

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9e0ae03c4f132f1bffb2bc40b1bb28742785507da693ab04da8531fe534ada9c
MD5 7ab063e3bef2f76b9ac239ac7740841d
BLAKE2b-256 f9367f897c50489c38665255579646fca8191e1b9e5a29ac9cf11022e42e1e2b

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 ae1eebc175e6a50b38b0e0385cdc26e92ac0bff9b32ee1c0619bbbf6829d57ea
MD5 325d129b1e7a847a0d8412ccac95e2f4
BLAKE2b-256 3fd3bfb08aab9c7daed2715f303cc017329e3512bb77678cc28829681decadd2

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp312-cp312-win_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 43e7b8e83f9fc29ca62e7d2aa8c38e3fa806ff3fc65e0d501d18588dc1509888
MD5 1bf72bd9949d02ede87a8da574199c45
BLAKE2b-256 24b707c4e3f71af0096db6c2ecd83e7d61584e3891c79cb39b208082312d1d60

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9a5c522b1350a626dc1cbc5dc203133caeaa114d3f65e400445e8b02f18b343b
MD5 ff4f3e99103287edbf7777caaf0d9add
BLAKE2b-256 b2fc79f3c5d53d1721b95ab6cda0368192a4f1d367e3a5ff7ac21d77e9841782

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 46a9b721560070f2f980105266e28a17d3149485582cdba14d66dca14692e932
MD5 065486ea0eb464f0a3627cc4732b8a43
BLAKE2b-256 c5e0f05fd5a2331c16d428efb8eef32dfb80dc6565438146e34e9a235ecd7925

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 034d4544bb0f82e449033d76dd083b131c3f9ecb5e37d3475f80ae55e8f382bd
MD5 c39a487837efbea5d52d5e7ee00af3cd
BLAKE2b-256 4a1c05a623cfb420b10d5f782d4ec064cf00fbfa9c21b8526ca4fd042f80acff

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ebb6849f76e1cbfa223303fa680da533d452e378d5fe372598e4752838ca7929
MD5 9a004aa0174a7caa3be2056462ea7dad
BLAKE2b-256 38ecd297ad9d4a4b26f551a5ca49afe48fdbcb20f058c2eff8d8463ad6c0eed1

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 593f22529f34dd04de02f56ea6d7c2c8ec99dfab25b58be893247c1090dedd60
MD5 639834ee4e064811282907536a12344c
BLAKE2b-256 15308002f4e76c7834a6101895ff7524ea29ab4f1f1da1270260ef52e2319372

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 9362a202144075b54f7c9f07e0b0e44a61eed7ee19e140c506b9e64c1d21ed58
MD5 86fbed11b62f28f405137072ed2bfd5a
BLAKE2b-256 45796dea0c098879d99f41ba919da1ea46e614fb4bf9c4d591450061aeec6fcb

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp311-cp311-win_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 6a3800235535a2532ce392ed0d8e6f698ee010e73805bdeac2f249da8246bab6
MD5 f172527980d295373b3f8c29b1ddfb50
BLAKE2b-256 48646a39882f534373873ef3dba8a1a8f47dc3bfb39ee63784eac2e789b404c4

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 183faaedcee5f0a3ba39257fa81749709d5eb7cf92c2c050b36ff38468d1774c
MD5 da712b3b6ef5f1f87cd4ecc4af35e9ea
BLAKE2b-256 a7a8ee9305ce9a7417715cbf038fdcc4fdb6042e30065c9837bdcf36be440388

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4027854c9feee2a3bb99642145ba04ce95d75bd17e292911c93a488cb28d0a04
MD5 d8c405a54418b6609b240d7e1aa2eac8
BLAKE2b-256 ec0cf4590fc08422768fc57456a85c932888a02e7a13540574859308611be1cf

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4257018c42a33a7935a5150d678aac05c6594347d6a6e6dbdf7e2ef4ae985213
MD5 6db1a2bdd2ee9935108f7a3672a8d6fb
BLAKE2b-256 c51322869a6da25ffe2dfff922712605e72a9c3481109a93f4218bea1bc65f35

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 629fc2ae3f5954b0f6a7b42ee3fcd8f34b68ea161e9f02fa5bf709cbbac996d3
MD5 eb23212eb1717bf4736648b88ed10a2b
BLAKE2b-256 84d0d0d8bd13c44ef6379499712a3f5e3930e7db11e5c8eb2af8655e288597a3

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 797bbbc686d8d3722d25ee0108ad979bda6ad3e1025859ce2ee290e517816bd4
MD5 3b99575cb4e2517eae38e231b0427edb
BLAKE2b-256 dad0b7305a05d65dbcfce7a97a93252bf7384f09800866e9de55a625c76e0257

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 33a8fbaeb2b5049cf5318306ab8b16ab365828b2b21ee13678c29e0726a1d27a
MD5 4df12abc1730af47d1f65a088bafbb39
BLAKE2b-256 17dc0dabb75d249108fb9062d6e9e791e4ad8e9ae5c095e06dd8af770bc07902

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp310-cp310-win_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 72badac2de4e81ae0df5efe14ec5003bd4df3e48e7cf84dbd9df3a54599ba371
MD5 7adf2629811c76cc9385bbafd9756da6
BLAKE2b-256 da607daca5ccf65fb204c9f2cc2907db6aeaf1cb42aa605427580c17a38a53b3

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 77be45f666adf284914510794b41100decccd71dba88010c03dc2bb0d653acec
MD5 3f582418c2b2de3757208c7e63d91d7c
BLAKE2b-256 0e29190bdfd54a564a2e43a702884ad5679f4578c481a46161f9f335dd390a70

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 afa49e51f82b58ae2c1291d6b79ca31e0fb36c04bd9a20d89007472edfb70136
MD5 49ccf8b7d4f801fa5b7925b6c567b240
BLAKE2b-256 9096ac010f72778dae60381ab5fcca9651ac72647d582db0b027ca6c56116920

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 387fd2bd8657d69e877618dc199c18e2d6fe073b8f5c59e23435f3baee4ee10a
MD5 3b9e1984bbed71dfd95859d607f22cdb
BLAKE2b-256 c291c866c3d278ee86354fd81fd055b5d835c510b0e9af07e1cf7e48e2f946b0

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ba8cea296de5dcb384b9a15cf526985ac8339c81da51c7e29a251d82071f5ee9
MD5 7135538d365939224e64ddc635f7b3f4
BLAKE2b-256 6322c8e3ba245e5cdb8c951482028a7ee99d141302047b708dc9d670f0fafd85

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1d938f0a1ffad1206a1a569b0501345eeca81cae0a4487bb485e53768b02f24e
MD5 1e3c3b2ce004113fdf8cbaa8216fe03b
BLAKE2b-256 814ae5eb39fe73a514a13bf94acee97925de296d673dace00557763cbbdc938f

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.1-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.25.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a15d62ffdb095d509bda8c140c1ddd0cc80f0c67f92b87fcc96cd242dc0c71ea
MD5 d106b00944dc41341c736eef96a15f31
BLAKE2b-256 e06c6160ca15926d11a6957d8bee887f477f3c1d9bc5272c863affc0b50b9cff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page