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.2.tar.gz (178.0 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.2-cp314-cp314-win_arm64.whl (117.5 kB view details)

Uploaded CPython 3.14Windows ARM64

tree_sitter-0.25.2-cp314-cp314-win_amd64.whl (130.9 kB view details)

Uploaded CPython 3.14Windows x86-64

tree_sitter-0.25.2-cp314-cp314-musllinux_1_2_x86_64.whl (631.5 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

tree_sitter-0.25.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (636.8 kB view details)

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

tree_sitter-0.25.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (609.5 kB view details)

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

tree_sitter-0.25.2-cp314-cp314-macosx_11_0_arm64.whl (137.7 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

tree_sitter-0.25.2-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.2-cp313-cp313-win_arm64.whl (114.0 kB view details)

Uploaded CPython 3.13Windows ARM64

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

Uploaded CPython 3.13Windows x86-64

tree_sitter-0.25.2-cp313-cp313-musllinux_1_2_x86_64.whl (631.4 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

tree_sitter-0.25.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (636.3 kB view details)

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

tree_sitter-0.25.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (607.9 kB view details)

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

tree_sitter-0.25.2-cp313-cp313-macosx_11_0_arm64.whl (137.7 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

tree_sitter-0.25.2-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.2-cp312-cp312-win_arm64.whl (114.0 kB view details)

Uploaded CPython 3.12Windows ARM64

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

Uploaded CPython 3.12Windows x86-64

tree_sitter-0.25.2-cp312-cp312-musllinux_1_2_x86_64.whl (631.2 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

tree_sitter-0.25.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (635.4 kB view details)

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

tree_sitter-0.25.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (607.1 kB view details)

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

tree_sitter-0.25.2-cp312-cp312-macosx_11_0_arm64.whl (137.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

tree_sitter-0.25.2-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.2-cp311-cp311-win_arm64.whl (114.0 kB view details)

Uploaded CPython 3.11Windows ARM64

tree_sitter-0.25.2-cp311-cp311-win_amd64.whl (127.3 kB view details)

Uploaded CPython 3.11Windows x86-64

tree_sitter-0.25.2-cp311-cp311-musllinux_1_2_x86_64.whl (629.9 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

tree_sitter-0.25.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (632.2 kB view details)

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

tree_sitter-0.25.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (604.6 kB view details)

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

tree_sitter-0.25.2-cp311-cp311-macosx_11_0_arm64.whl (137.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

tree_sitter-0.25.2-cp311-cp311-macosx_10_9_x86_64.whl (146.8 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

tree_sitter-0.25.2-cp310-cp310-win_arm64.whl (114.0 kB view details)

Uploaded CPython 3.10Windows ARM64

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

Uploaded CPython 3.10Windows x86-64

tree_sitter-0.25.2-cp310-cp310-musllinux_1_2_x86_64.whl (624.3 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

tree_sitter-0.25.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (627.7 kB view details)

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

tree_sitter-0.25.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (599.8 kB view details)

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

tree_sitter-0.25.2-cp310-cp310-macosx_11_0_arm64.whl (137.8 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

tree_sitter-0.25.2-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.2.tar.gz.

File metadata

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

File hashes

Hashes for tree-sitter-0.25.2.tar.gz
Algorithm Hash digest
SHA256 fe43c158555da46723b28b52e058ad444195afd1db3ca7720c59a254544e9c20
MD5 eecf939b67e42a74c9655f2fb8d41cff
BLAKE2b-256 667c0350cfc47faadc0d3cf7d8237a4e34032b3014ddf4a12ded9933e1648b55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp314-cp314-win_arm64.whl
Algorithm Hash digest
SHA256 b8d4429954a3beb3e844e2872610d2a4800ba4eb42bb1990c6a4b1949b18459f
MD5 f133d7de5fed17d658a3e7723c0fa6e7
BLAKE2b-256 a66ee64621037357acb83d912276ffd30a859ef117f9c680f2e3cb955f47c680

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 4973b718fcadfb04e59e746abfbb0288694159c6aeecd2add59320c03368c721
MD5 b5f5983afba3098b2df05b6331a0bbf9
BLAKE2b-256 0387af9604ebe275a9345d88c3ace0cf2a1341aa3f8ef49dd9fc11662132df8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7d2ee1acbacebe50ba0f85fff1bc05e65d877958f00880f49f9b2af38dce1af0
MD5 663438bcabd9c292b12e860b8e1ce351
BLAKE2b-256 57e2d42d55bf56360987c32bc7b16adb06744e425670b823fb8a5786a1cea991

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.2-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.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 260586381b23be33b6191a07cea3d44ecbd6c01aa4c6b027a0439145fcbc3358
MD5 771d1ac65503539742483273a7b3be14
BLAKE2b-256 48b6cf08f4f20f4c9094006ef8828555484e842fc468827ad6e56011ab668dbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 eac4e8e4c7060c75f395feec46421eb61212cb73998dbe004b7384724f3682ab
MD5 4f264b02f60143998c9ac11add5c5474
BLAKE2b-256 b6191e968aa0b1b567988ed522f836498a6a9529a74aab15f09dd9ac1e41f505

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bda059af9d621918efb813b22fb06b3fe00c3e94079c6143fcb2c565eb44cb87
MD5 aeb8c09ab94725324bf76ea48d75dba5
BLAKE2b-256 42974bd4ad97f85a23011dd8a535534bb1035c4e0bac1234d58f438e15cff51f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp314-cp314-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 65d3c931013ea798b502782acab986bbf47ba2c452610ab0776cf4a8ef150fc0
MD5 e67ee16947a0ef674bfcbcdafb88707b
BLAKE2b-256 07e3d9526ba71dfbbe4eba5e51d89432b4b333a49a1e70712aa5590cd22fc74f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 b3f63a1796886249bd22c559a5944d64d05d43f2be72961624278eff0dcc5cb8
MD5 bdf60e72cb141c63281fa9afc3a5325a
BLAKE2b-256 d523f8467b408b7988aff4ea40946a4bd1a2c1a73d17156a9d039bbaff1e2ceb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 463c032bd02052d934daa5f45d183e0521ceb783c2548501cf034b0beba92c9b
MD5 592aa37533262697d1faf4232406249f
BLAKE2b-256 d43c87caaed663fabc35e18dc704cd0e9800a0ee2f22bd18b9cbe7c10799895d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d77605e0d353ba3fe5627e5490f0fbfe44141bafa4478d88ef7954a61a848dae
MD5 5b40e2c99450730f380d5504346353a0
BLAKE2b-256 9d275f97098dbba807331d666a0997662e82d066e84b17d92efab575d283822f

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.2-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.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b878e296e63661c8e124177cc3084b041ba3f5936b43076d57c487822426f614
MD5 c39ee7119c4818eadec754207de22025
BLAKE2b-256 ed4cb430d2cb43f8badfb3a3fa9d6cd7c8247698187b5674008c9d67b2a90c8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bd88fbb0f6c3a0f28f0a68d72df88e9755cf5215bae146f5a1bdc8362b772053
MD5 7e239c8a3e2d2d50ba38e0d83e632829
BLAKE2b-256 549a423bba15d2bf6473ba67846ba5244b988cd97a4b1ea2b146822162256794

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f5ddcd3e291a749b62521f71fc953f66f5fd9743973fd6dd962b092773569601
MD5 af3b15756cfe9533b5f36c811bf3f56d
BLAKE2b-256 4e9ca278b15e6b263e86c5e301c82a60923fa7c59d44f78d7a110a89a413e640

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 0628671f0de69bb279558ef6b640bcfc97864fe0026d840f872728a86cd6b6cd
MD5 be022733a1b49d59f3401d56acc7f643
BLAKE2b-256 8c6767492014ce32729b63d7ef318a19f9cfedd855d677de5773476caf771e96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 0c8b6682cac77e37cfe5cf7ec388844957f48b7bd8d6321d0ca2d852994e10d5
MD5 ceae4f61d08b26bd31ebd2d8fb9ced03
BLAKE2b-256 6723148c468d410efcf0a9535272d81c258d840c27b34781d625f1f627e2e27d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6d0302550bbe4620a5dc7649517c4409d74ef18558276ce758419cf09e578897
MD5 5de34602a6612be8c7e97130c9fe82aa
BLAKE2b-256 46f25f654994f36d10c64d50a192239599fcae46677491c8dd53e7579c35a3e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fbb1706407c0e451c4f8cc016fec27d72d4b211fdd3173320b1ada7a6c74c3ac
MD5 8f4c9f629bef0e50170824750612c608
BLAKE2b-256 de4db734bde3fb6f3513a010fa91f1f2875442cdc0382d6a949005cd84563d8f

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.2-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.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b43a9e4c89d4d0839de27cd4d6902d33396de700e9ff4c5ab7631f277a85ead9
MD5 1a07202800b81ac49a2a16394a199ede
BLAKE2b-256 39d1b95f545e9fc5001b8a78636ef942a4e4e536580caa6a99e73dd0a02e87aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dd12d80d91d4114ca097626eb82714618dcdfacd6a5e0955216c6485c350ef99
MD5 47ab25076b6b292d031d71887db93768
BLAKE2b-256 478ad48c0414db19307b0fb3bb10d76a3a0cbe275bb293f145ee7fba2abd668e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c0c0ab5f94938a23fe81928a21cc0fac44143133ccc4eb7eeb1b92f84748331c
MD5 63d5f4fc91a32cd12b932d702a074d0c
BLAKE2b-256 ef048512e2062e652a1016e840ce36ba1cc33258b0dcc4e500d8089b4054afec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 ddabfff809ffc983fc9963455ba1cecc90295803e06e140a4c83e94c1fa3d960
MD5 689d8de54df5e957cfd8b20fd3825137
BLAKE2b-256 3c9e20c2a00a862f1c2897a436b17edb774e831b22218083b459d0d081c9db33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 b3d11a3a3ac89bb8a2543d75597f905a9926f9c806f40fcca8242922d1cc6ad5
MD5 0e4dd40106b14df5ebf903285071c92c
BLAKE2b-256 ebd9eef856dc15f784d85d1397a17f3ee0f82df7778efce9e1961203abfe376a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 56ac6602c7d09c2c507c55e58dc7026b8988e0475bd0002f8a386cce5e8e8adc
MD5 4ad8ce9a31e0d74fbce303b90a197dd4
BLAKE2b-256 f919427e5943b276a0dd74c2a1f1d7a7393443f13d1ee47dedb3f8127903c080

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 49ee3c348caa459244ec437ccc7ff3831f35977d143f65311572b8ba0a5f265f
MD5 10c07fac35d868291b11147d2eb5f3f5
BLAKE2b-256 32f6cda1e1e6cbff5e28d8433578e2556d7ba0b0209d95a796128155b97e7693

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.2-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.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3e65ae456ad0d210ee71a89ee112ac7e72e6c2e5aac1b95846ecc7afa68a194c
MD5 60c8a2f8b6750a0aacc32468f4b7695c
BLAKE2b-256 3438b735a58c1c2f60a168a678ca27b4c1a9df725d0bf2d1a8a1c571c033111e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1799609636c0193e16c38f366bda5af15b1ce476df79ddaae7dd274df9e44266
MD5 8ca0caae6f727f5c923bcdc430d65140
BLAKE2b-256 1c0cd0de46ded7d5b34631e0f630d9866dab22d3183195bf0f3b81de406d6622

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cc0351cfe5022cec5a77645f647f92a936b38850346ed3f6d6babfbeeeca4d26
MD5 46006f96b4c29ab45e44b7c21e557459
BLAKE2b-256 571c22cc14f3910017b7a76d7358df5cd315a84fe0c7f6f7b443b49db2e2790d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b8ca72d841215b6573ed0655b3a5cd1133f9b69a6fa561aecad40dca9029d75b
MD5 f94c0921cb2fffdb73c1e88c5e94ea15
BLAKE2b-256 7c2288a1e00b906d26fa8a075dd19c6c3116997cb884bf1b3c023deb065a344d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 a925364eb7fbb9cdce55a9868f7525a1905af512a559303bd54ef468fd88cb37
MD5 784853e3363bdac5a963f004bce509de
BLAKE2b-256 8890ceb05e6de281aebe82b68662890619580d4ffe09283ebd2ceabcf5df7b4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7712335855b2307a21ae86efe949c76be36c6068d76df34faa27ce9ee40ff444
MD5 a43d81316377c0f2f1a26f41426275a8
BLAKE2b-256 d4303283cb7fa251cae2a0bf8661658021a789810db3ab1b0569482d4a3671fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a0ec41b895da717bc218a42a3a7a0bfcfe9a213d7afaa4255353901e0e21f696
MD5 57a886727d0bdefd675e3235e6aa750e
BLAKE2b-256 69fe4c1bef37db5ca8b17ca0b3070f2dff509468a50b3af18f17665adcab42b9

See more details on using hashes here.

File details

Details for the file tree_sitter-0.25.2-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.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 20b570690f87f1da424cd690e51cc56728d21d63f4abd4b326d382a30353acc7
MD5 ade707d87e8aeb30cc5ee1d084292d57
BLAKE2b-256 c5a468ae301626f2393a62119481cb660eb93504a524fc741a6f1528a4568cf6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c2f8e7d6b2f8489d4a9885e3adcaef4bc5ff0a275acd990f120e29c4ab3395c5
MD5 18c1877dc8ea4387a962585d43a312cc
BLAKE2b-256 19fb357158d39f01699faea466e8fd5a849f5a30252c68414bddc20357a9ac79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 44488e0e78146f87baaa009736886516779253d6d6bac3ef636ede72bc6a8234
MD5 41212934214ad8ac89ea088455254920
BLAKE2b-256 9a58f8a107f9f89700c0ab2930f1315e63bdedccbb5fd1b10fcbc5ebadd54ac8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.25.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 72a510931c3c25f134aac2daf4eb4feca99ffe37a35896d7150e50ac3eee06c7
MD5 14f83056eb02c1ec089a9eeb2343b779
BLAKE2b-256 e2d4f7ffb855cb039b7568aba4911fbe42e4c39c0e4398387c8e0d8251489992

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