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 = 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.

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.24.0.tar.gz (168.3 kB view details)

Uploaded Source

Built Distributions

tree_sitter-0.24.0-cp313-cp313-win_arm64.whl (108.2 kB view details)

Uploaded CPython 3.13Windows ARM64

tree_sitter-0.24.0-cp313-cp313-win_amd64.whl (120.2 kB view details)

Uploaded CPython 3.13Windows x86-64

tree_sitter-0.24.0-cp313-cp313-musllinux_1_2_x86_64.whl (581.1 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

tree_sitter-0.24.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (578.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

tree_sitter-0.24.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (564.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

tree_sitter-0.24.0-cp313-cp313-macosx_11_0_arm64.whl (133.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

tree_sitter-0.24.0-cp313-cp313-macosx_10_13_x86_64.whl (140.8 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

tree_sitter-0.24.0-cp312-cp312-win_arm64.whl (108.2 kB view details)

Uploaded CPython 3.12Windows ARM64

tree_sitter-0.24.0-cp312-cp312-win_amd64.whl (120.2 kB view details)

Uploaded CPython 3.12Windows x86-64

tree_sitter-0.24.0-cp312-cp312-musllinux_1_2_x86_64.whl (581.1 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

tree_sitter-0.24.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (579.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

tree_sitter-0.24.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (564.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

tree_sitter-0.24.0-cp312-cp312-macosx_11_0_arm64.whl (133.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

tree_sitter-0.24.0-cp312-cp312-macosx_10_13_x86_64.whl (140.8 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

tree_sitter-0.24.0-cp311-cp311-win_arm64.whl (108.3 kB view details)

Uploaded CPython 3.11Windows ARM64

tree_sitter-0.24.0-cp311-cp311-win_amd64.whl (120.1 kB view details)

Uploaded CPython 3.11Windows x86-64

tree_sitter-0.24.0-cp311-cp311-musllinux_1_2_x86_64.whl (578.2 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

tree_sitter-0.24.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (575.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

tree_sitter-0.24.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (562.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

tree_sitter-0.24.0-cp311-cp311-macosx_11_0_arm64.whl (134.2 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

tree_sitter-0.24.0-cp311-cp311-macosx_10_9_x86_64.whl (140.7 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

tree_sitter-0.24.0-cp310-cp310-win_arm64.whl (108.4 kB view details)

Uploaded CPython 3.10Windows ARM64

tree_sitter-0.24.0-cp310-cp310-win_amd64.whl (120.3 kB view details)

Uploaded CPython 3.10Windows x86-64

tree_sitter-0.24.0-cp310-cp310-musllinux_1_2_x86_64.whl (577.2 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

tree_sitter-0.24.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (574.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

tree_sitter-0.24.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (560.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

tree_sitter-0.24.0-cp310-cp310-macosx_11_0_arm64.whl (134.4 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

tree_sitter-0.24.0-cp310-cp310-macosx_10_9_x86_64.whl (140.9 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: tree-sitter-0.24.0.tar.gz
  • Upload date:
  • Size: 168.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for tree-sitter-0.24.0.tar.gz
Algorithm Hash digest
SHA256 abd95af65ca2f4f7eca356343391ed669e764f37748b5352946f00f7fc78e734
MD5 fcebbdc7d29cc74290a1fbbfaad1e765
BLAKE2b-256 a7a2698b9d31d08ad5558f8bfbfe3a0781bd4b1f284e89bde3ad18e05101a892

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 23641bd25dcd4bb0b6fa91b8fb3f46cc9f1c9f475efe4d536d3f1f688d1b84c8
MD5 5e96be767f083c990b0f5d8a8ed668e4
BLAKE2b-256 a818542fd844b75272630229c9939b03f7db232c71a9d82aadc59c596319ea6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f58bb4956917715ec4d5a28681829a8dad5c342cafd4aea269f9132a83ca9b34
MD5 e2c70c1028384d3a8dcc16eeb76121c2
BLAKE2b-256 a1b46b0291a590c2b0417cfdb64ccb8ea242f270a46ed429c641fbc2bfab77e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7d5d9537507e1c8c5fa9935b34f320bfec4114d675e028f3ad94f11cf9db37b9
MD5 15fb111aab7e60cfd2470c20f08039ec
BLAKE2b-256 af82aebe78ea23a2b3a79324993d4915f3093ad1af43d7c2208ee90be9273273

See more details on using hashes here.

File details

Details for the file tree_sitter-0.24.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d25fa22766d63f73716c6fec1a31ee5cf904aa429484256bd5fdf5259051ed74
MD5 e8cda77ad967fde14207a56f225882d5
BLAKE2b-256 ced0f2ffcd04882c5aa28d205a787353130cbf84b2b8a977fd211bdc3b399ae3

See more details on using hashes here.

File details

Details for the file tree_sitter-0.24.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 57277a12fbcefb1c8b206186068d456c600dbfbc3fd6c76968ee22614c5cd5ad
MD5 03613d2c010b305ebe689d1f7670d159
BLAKE2b-256 feae55c1055609c9428a4aedf4b164400ab9adb0b1bf1538b51f4b3748a6c983

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e0992d483677e71d5c5d37f30dfb2e3afec2f932a9c53eec4fca13869b788c6c
MD5 767f7e063e5742a04a6983cf31a3a381
BLAKE2b-256 8ba31ea9d8b64e8dcfcc0051028a9c84a630301290995cd6e947bf88267ef7b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 0d4a6416ed421c4210f0ca405a4834d5ccfbb8ad6692d4d74f7773ef68f92071
MD5 eeab7fd39082e397848b3a7581d50f3d
BLAKE2b-256 61cd2348339c85803330ce38cee1c6cbbfa78a656b34ff58606ebaf5c9e83bd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 f733a83d8355fc95561582b66bbea92ffd365c5d7a665bc9ebd25e049c2b2abb
MD5 748b24be5c60ec7ed351ccb7e343bb9f
BLAKE2b-256 b22a9979c626f303177b7612a802237d0533155bf1e425ff6f73cc40f25453e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f9e8b1605ab60ed43803100f067eed71b0b0e6c1fb9860a262727dbfbbb74751
MD5 63980b5c2147bc3a64335b77898a131b
BLAKE2b-256 8c1cff23fa4931b6ef1bbeac461b904ca7e49eaec7e7e5398584e3eef836ec96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 24a8dd03b0d6b8812425f3b84d2f4763322684e38baf74e5bb766128b5633dc7
MD5 5102cc16977b63c1d16ffca119c4e564
BLAKE2b-256 0af4bd0ddf9abe242ea67cca18a64810f8af230fc1ea74b28bb702e838ccd874

See more details on using hashes here.

File details

Details for the file tree_sitter-0.24.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 772e1bd8c0931c866b848d0369b32218ac97c24b04790ec4b0e409901945dd8e
MD5 32e41f18d111926af3cd4c9310a22454
BLAKE2b-256 bfb36c5574f4b937b836601f5fb556b24804b0a6341f2eb42f40c0e6464339f4

See more details on using hashes here.

File details

Details for the file tree_sitter-0.24.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5fc5c3c26d83c9d0ecb4fc4304fba35f034b7761d35286b936c1db1217558b4e
MD5 e2d18dbbe76c40f99672e405f5b69a52
BLAKE2b-256 86d780767238308a137e0b5b5c947aa243e3c1e3e430e6d0d5ae94b9a9ffd1a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 26a5b130f70d5925d67b47db314da209063664585a2fd36fa69e0717738efaf4
MD5 81be14a1677bb426dd9e62878d96f789
BLAKE2b-256 610bfc289e0cba7dbe77c6655a4dd949cd23c663fd62a8b4d8f02f97e28d7fe5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 14beeff5f11e223c37be7d5d119819880601a80d0399abe8c738ae2288804afc
MD5 4c3ff633206b8468c287294745f1a8a3
BLAKE2b-256 e9573a590f287b5aa60c07d5545953912be3d252481bf5e178f750db75572bff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 f3f08a2ca9f600b3758792ba2406971665ffbad810847398d180c48cee174ee2
MD5 2f8444905d3d9b1968fbf74b9dfe830d
BLAKE2b-256 c04c9add771772c4d72a328e656367ca948e389432548696a3819b69cdd6f41e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3b1f3cbd9700e1fba0be2e7d801527e37c49fc02dc140714669144ef6ab58dce
MD5 5101855de9d111811f782bd3edd4f74e
BLAKE2b-256 d51ff2bc7fa7c3081653ea4f2639e06ff0af4616c47105dbcc0746137da7620d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 464fa5b2cac63608915a9de8a6efd67a4da1929e603ea86abaeae2cb1fe89921
MD5 5d834bd7e395e1750af35f31ea4e6f14
BLAKE2b-256 e33c5f997ce34c0d1b744e0f0c0757113bdfc173a2e3dadda92c751685cfcbd1

See more details on using hashes here.

File details

Details for the file tree_sitter-0.24.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 01ea01a7003b88b92f7f875da6ba9d5d741e0c84bb1bd92c503c0eecd0ee6409
MD5 2ba9c4c0bdb36ebddd5a7698005276fb
BLAKE2b-256 4caa2fb4d81886df958e6ec7e370895f7106d46d0bbdcc531768326124dc8972

See more details on using hashes here.

File details

Details for the file tree_sitter-0.24.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4ddb113e6b8b3e3b199695b1492a47d87d06c538e63050823d90ef13cac585fd
MD5 6286e6e2e27655b1d7fe5d799c473542
BLAKE2b-256 46c1c2037af2c44996d7bde84eb1c9e42308cc84b547dd6da7f8a8bea33007e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a7c9c89666dea2ce2b2bf98e75f429d2876c569fab966afefdcd71974c6d8538
MD5 bffd402d658c9141c8e15fee4202e187
BLAKE2b-256 8cbd1a84574911c40734d80327495e6e218e8f17ef318dd62bb66b55c1e969f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 de0fb7c18c6068cacff46250c0a0473e8fc74d673e3e86555f131c2c1346fb13
MD5 98701f5a954559a984f9fd4a526897c1
BLAKE2b-256 660882aaf7cbea7286ee2a0b43e9b75cb93ac6ac132991b7d3c26ebe5e5235a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 033506c1bc2ba7bd559b23a6bdbeaf1127cee3c68a094b82396718596dfe98bc
MD5 c03bdece5d950de64ab486957fd9a3c5
BLAKE2b-256 c1c307bfaa345e0037ff75d98b7a643cf940146e4092a1fd54eed0359836be03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c012e4c345c57a95d92ab5a890c637aaa51ab3b7ff25ed7069834b1087361c95
MD5 6bc5b11f975109e65e88bbb1ec3731ef
BLAKE2b-256 c5b0266a529c3eef171137b73cde8ad7aa282734354609a8b2f5564428e8f12d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2a84ff87a2f2a008867a1064aba510ab3bd608e3e0cd6e8fef0379efee266c73
MD5 7be235b4b4603315e630a3800c309ca2
BLAKE2b-256 ec973914e45ab9e0ff0f157e493caa91791372508488b97ff0961a0640a37d25

See more details on using hashes here.

File details

Details for the file tree_sitter-0.24.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0b26bf9e958da6eb7e74a081aab9d9c7d05f9baeaa830dbb67481898fd16f1f5
MD5 691ec8e4f90c732bb2ed248c8372323a
BLAKE2b-256 1c594d132f1388da5242151b90acf32cc56af779bfba063923699ab28b276b62

See more details on using hashes here.

File details

Details for the file tree_sitter-0.24.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 098a81df9f89cf254d92c1cd0660a838593f85d7505b28249216661d87adde4a
MD5 5b5ecbb7227b5fe25ca62adee3442eb3
BLAKE2b-256 0139e25b0042a049eb27e991133a7aa7c49bb8e49a8a7b44ca34e7e6353ba7ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f9691be48d98c49ef8f498460278884c666b44129222ed6217477dffad5d4831
MD5 31c9f6e4d974ec12833a26dce5c7d601
BLAKE2b-256 5b9bb1ccfb187f8be78e2116176a091a2f2abfd043a06d78f80c97c97f315b37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.24.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f3f00feff1fc47a8e4863561b8da8f5e023d382dd31ed3e43cd11d4cae445445
MD5 a65c219cd688fd08b979db4db18e6b20
BLAKE2b-256 089abd627a02e41671af73222316e1fcf87772c7804dc2fba99405275eb1f3eb

See more details on using hashes here.

Supported by

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