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

Uploaded Source

Built Distributions

tree_sitter-0.23.2-cp313-cp313-win_arm64.whl (102.5 kB view details)

Uploaded CPython 3.13 Windows ARM64

tree_sitter-0.23.2-cp313-cp313-win_amd64.whl (117.9 kB view details)

Uploaded CPython 3.13 Windows x86-64

tree_sitter-0.23.2-cp313-cp313-musllinux_1_2_x86_64.whl (574.4 kB view details)

Uploaded CPython 3.13 musllinux: musl 1.2+ x86-64

tree_sitter-0.23.2-cp313-cp313-musllinux_1_2_aarch64.whl (562.3 kB view details)

Uploaded CPython 3.13 musllinux: musl 1.2+ ARM64

tree_sitter-0.23.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (570.9 kB view details)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

tree_sitter-0.23.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (557.6 kB view details)

Uploaded CPython 3.13 manylinux: glibc 2.17+ ARM64

tree_sitter-0.23.2-cp313-cp313-macosx_11_0_arm64.whl (132.0 kB view details)

Uploaded CPython 3.13 macOS 11.0+ ARM64

tree_sitter-0.23.2-cp313-cp313-macosx_10_13_x86_64.whl (139.3 kB view details)

Uploaded CPython 3.13 macOS 10.13+ x86-64

tree_sitter-0.23.2-cp312-cp312-win_arm64.whl (102.5 kB view details)

Uploaded CPython 3.12 Windows ARM64

tree_sitter-0.23.2-cp312-cp312-win_amd64.whl (117.9 kB view details)

Uploaded CPython 3.12 Windows x86-64

tree_sitter-0.23.2-cp312-cp312-musllinux_1_2_x86_64.whl (574.3 kB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

tree_sitter-0.23.2-cp312-cp312-musllinux_1_2_aarch64.whl (562.1 kB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ ARM64

tree_sitter-0.23.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (571.2 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

tree_sitter-0.23.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (558.0 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

tree_sitter-0.23.2-cp312-cp312-macosx_11_0_arm64.whl (132.0 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

tree_sitter-0.23.2-cp312-cp312-macosx_10_13_x86_64.whl (139.3 kB view details)

Uploaded CPython 3.12 macOS 10.13+ x86-64

tree_sitter-0.23.2-cp311-cp311-win_arm64.whl (102.6 kB view details)

Uploaded CPython 3.11 Windows ARM64

tree_sitter-0.23.2-cp311-cp311-win_amd64.whl (117.8 kB view details)

Uploaded CPython 3.11 Windows x86-64

tree_sitter-0.23.2-cp311-cp311-musllinux_1_2_x86_64.whl (571.0 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

tree_sitter-0.23.2-cp311-cp311-musllinux_1_2_aarch64.whl (559.8 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ ARM64

tree_sitter-0.23.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (567.6 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

tree_sitter-0.23.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (554.3 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

tree_sitter-0.23.2-cp311-cp311-macosx_11_0_arm64.whl (132.2 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

tree_sitter-0.23.2-cp311-cp311-macosx_10_9_x86_64.whl (139.1 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

tree_sitter-0.23.2-cp310-cp310-win_arm64.whl (102.6 kB view details)

Uploaded CPython 3.10 Windows ARM64

tree_sitter-0.23.2-cp310-cp310-win_amd64.whl (117.9 kB view details)

Uploaded CPython 3.10 Windows x86-64

tree_sitter-0.23.2-cp310-cp310-musllinux_1_2_x86_64.whl (569.2 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

tree_sitter-0.23.2-cp310-cp310-musllinux_1_2_aarch64.whl (558.3 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ ARM64

tree_sitter-0.23.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (566.6 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

tree_sitter-0.23.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (552.9 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

tree_sitter-0.23.2-cp310-cp310-macosx_11_0_arm64.whl (132.4 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

tree_sitter-0.23.2-cp310-cp310-macosx_10_9_x86_64.whl (139.3 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

tree_sitter-0.23.2-cp39-cp39-win_arm64.whl (102.8 kB view details)

Uploaded CPython 3.9 Windows ARM64

tree_sitter-0.23.2-cp39-cp39-win_amd64.whl (118.2 kB view details)

Uploaded CPython 3.9 Windows x86-64

tree_sitter-0.23.2-cp39-cp39-musllinux_1_2_x86_64.whl (571.3 kB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

tree_sitter-0.23.2-cp39-cp39-musllinux_1_2_aarch64.whl (560.3 kB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ ARM64

tree_sitter-0.23.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (568.2 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

tree_sitter-0.23.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (555.0 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

tree_sitter-0.23.2-cp39-cp39-macosx_11_0_arm64.whl (132.7 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

tree_sitter-0.23.2-cp39-cp39-macosx_10_9_x86_64.whl (139.6 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: tree-sitter-0.23.2.tar.gz
  • Upload date:
  • Size: 166.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for tree-sitter-0.23.2.tar.gz
Algorithm Hash digest
SHA256 66bae8dd47f1fed7bdef816115146d3a41c39b5c482d7bad36d9ba1def088450
MD5 0307b171439120ac5ff5245a02a8ba46
BLAKE2b-256 0f50fd5fafa42b884f741b28d9e6fd366c3f34e15d2ed3aa9633b34e388379e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 0ff2037be5edab7801de3f6a721b9cf010853f612e2008ee454e0e0badb225a6
MD5 4782dc5051d1815ebaf81f48d19824dd
BLAKE2b-256 894d1728d9ce32a1d851081911b7e47830f5e740431f2bb920f54bb8c26175bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c58d89348162fbc3aea1fe6511a66ee189fc0e4e4bbe937026f29e4ecef17763
MD5 554b118d8cae19385bf16b2a76eefee3
BLAKE2b-256 c2c8eea2104443ab973091107ef3e730683bd8e6cb51dd025cef853d3fff9dae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 29224bdc2a3b9af535b7725e249d3ee291b2e90708e82832e73acc175e40dc48
MD5 0b0c37791d0101728c3ec8a9a71eb5c3
BLAKE2b-256 ca55b404fa49cb5c2926ad6fe1cac033dd486ef69f1afeb7828452d21e1e05c1

See more details on using hashes here.

File details

Details for the file tree_sitter-0.23.2-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 878580b2ad5054c410ba3418edca4d34c81cc26706114d8f5b5541688bc2d785
MD5 04ec13ac1a94524407c98b28e7115328
BLAKE2b-256 b886bbda5ad09b88051ff7bf3275622a2f79bc4f728b4c283ff8b93b8fcdf36d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 78d070d8eaeaeb36cf535f55e5578fddbfc3bf53c1980f58bf1a99d57466b3b5
MD5 336c3fb9d120593d62ee600bf2953610
BLAKE2b-256 978af73ff06959d43fd47fc283cbcc4d8efa6550b2cc431d852b184504992447

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f0b609460b8e3e256361fb12e94fae5b728cb835b16f0f9d590b5aadbf9d109b
MD5 ff8682074f2c666fd40154d6d53851ff
BLAKE2b-256 99940f7c5580d2adff3b57d36f1998725b0caf6cf1af50ceafc00c6cdbc2fef6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4780ba8f3894f2dea869fad2995c2aceab3fd5ab9e6a27c45475d2acd7f7e84e
MD5 c27d3e1e3904231069e6ba41a96d49e5
BLAKE2b-256 76c9b4197c5b0c1d6ba648202a547846ac910a53163b69a459504b2aa6cdb76e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 eff630dddee7ba05accb439b17e559e15ce13f057297007c246237ceb6306332
MD5 3be5c2b4fbcec4011461e2b7ca03670c
BLAKE2b-256 bac64ead9ce3113a7c27f37a2bdef163c09757efbaa85adbdfe7b3fbf0317c57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 a0320eb6c7993359c5f7b371d22719ccd273f440d41cf1bd65dac5e9587f2046
MD5 7b059180c1d2a4be36b95ada4a2f20fa
BLAKE2b-256 e2184ca2c0f4a0c802ebcb3a92264cc436f1d54b394fa24dfa76bf57cdeaca9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 fc5a72eb50d43485000dbbb309acb350467b7467e66dc747c6bb82ce63041582
MD5 1d6967d85cc4f7107b08668670cd743c
BLAKE2b-256 0cc23fb2c6c0ae2f59a7411dc6d3e7945e3cb6f34c8552688708acc8b2b13f83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8caebe65bc358759dac2500d8f8feed3aed939c4ade9a684a1783fe07bc7d5db
MD5 6dde1443e822a254e4f2c774509efeac
BLAKE2b-256 7bbd8a9edcbcf8a76b0bf58e3b927ed291e3598e063d56667367762833cc8709

See more details on using hashes here.

File details

Details for the file tree_sitter-0.23.2-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a4e9e53d07dd076bede72e4f7d3a0173d7b9ad6576572dd86da008a740a9bb22
MD5 1efc0e2baf12d92dd4e1baa5292cbe7d
BLAKE2b-256 04acbd6e6cfdd0421156e86f5c93848629af1c7323083077e1a95b27d32d5811

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f342c925290dd4e20ecd5787ef7ae8749981597ab364783a1eb73173efe65226
MD5 755dc537f2bdbaf2f510357bc4f3efa1
BLAKE2b-256 bd95f2f73332623cf63200d57800f85273170bc5f99d28ea3f234afd5b0048df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4471577df285059c71686ecb208bc50fb472099b38dcc8e849b0e86652891e87
MD5 f6389edfca659e84d35aa61470cf27cb
BLAKE2b-256 d76aeab01bb6b1ce3c9acf16d72922ffc29a904af485eb3e60baf3a3e04edd30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 04f8699b131d4bcbe3805c37e4ef3d159ee9a82a0e700587625623999ba0ea53
MD5 01f744b2e477724ae875446d6f12b5ce
BLAKE2b-256 b4b9bc8513d818ffb54993a017a36c8739300bc5739a13677acf90b54995e7db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 a014498b6a9e6003fae8c6eb72f5927d62da9dcb72b28b3ce8cd15c6ff6a6572
MD5 702dcdcc2debbca01b546420c5ea73fe
BLAKE2b-256 07a757e0fe87b49a78c670a7b4483f70e44c000c65c29b138001096b22e7dd87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 7cb4bb953ea7c0b50eeafc4454783e030357179d2a93c3dd5ebed2da5588ddd0
MD5 491a5e68022e8b3f68afdf439d352ca3
BLAKE2b-256 4be590adc4081f49ccb6bea89a800dc9b0dcc5b6953b0da423e8eff28f63fddf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 03b70296b569ef64f7b92b42ca5da9bf86d81bee2afd480bea35092687f51dae
MD5 fabf910b623afb2572ba60a116da0354
BLAKE2b-256 594b085bcb8a11ea18003aacc4dbc91c301d1536c5e2deedb95393e8ef26f1f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8a33f03a562de91f7fd05eefcedd8994a06cd44c62f7aabace811ad82bc11cbd
MD5 62d6e4febcf939bd036e66f5bb026bd0
BLAKE2b-256 6fb31ffba0f17a7ff2c9114d91a1ecc15e0748f217817797564d31fbb61d7458

See more details on using hashes here.

File details

Details for the file tree_sitter-0.23.2-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 08466953c78ae57be61057188fb88c89791b0a562856010228e0ccf60e2ac453
MD5 ecbc33d2a6cf50a6fd0d0743f640ddfa
BLAKE2b-256 320d23f363b3b0bc3fa0e7a4a294bf119957ac1ab02737d57815e1e8b7b3e196

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 614590611636044e071d3a0b748046d52676dbda3bc9fa431216231e11dd98f7
MD5 9b8a3b51d15202eff991e9e0596f2142
BLAKE2b-256 2f5a3169d9933be813776a9b4b3f2e671d3d50fa27e589dee5578f6ecef7ff6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 64859bd4aa1567d0d6016a811b2b49c59d4a4427d096e3d8c84b2521455f62b7
MD5 16560a30e2301dd6f9515d9faecd6745
BLAKE2b-256 5d54746f2ee5acf6191a4a0be7f5843329f0d713bfe5196f5fc6fe2ea69cb44c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 92b2b489d5ce54b41f94c6f23fbaf592bd6e84dc2877048fd1cb060480fa53f7
MD5 5c70d1d4af34f23f0cafd0e5392361a3
BLAKE2b-256 3252b8a44bfff7b0203256e5dbc8d3a372ee8896128b8ed7d3a89e1ef17b2065

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 91fda41d4f8824335cc43c64e2c37d8089c8c563bd3900a512d2852d075af719
MD5 d78a73f578371d436aad1ccd204f0db1
BLAKE2b-256 558d2d4fb04408772be0919441d66f700673ce7cb76b9ab6682e226d740fb88d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 3346a4dd0447a42aabb863443b0fd8c92b909baf40ed2344fae4b94b625d5955
MD5 a0f03655368befb32bcc842da68a25d1
BLAKE2b-256 1d39836fa485e985c33e8aa1cc3abbf7a84be1c2c382e69547a765631fdd7ce3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 12b60dca70d2282af942b650a6d781be487485454668c7c956338a367b98cdee
MD5 386c09050a34d4e6fead530e8e150904
BLAKE2b-256 32083553d8e488ae9284a0762effafb7d2639a306e184963b7f99853923084d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6de18d8d8a7f67ab71f472d1fcb01cc506e080cbb5e13d52929e4b6fdce6bbee
MD5 7dac1074a36d76248b35da2c9a545945
BLAKE2b-256 60bc19145efdf3f47711aa3f1bf06f0b50593f97f1108550d38694841fd97b7c

See more details on using hashes here.

File details

Details for the file tree_sitter-0.23.2-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d74d00a8021719eae14d10d1b1e28649e15d8b958c01c2b2c3dad7a2ebc4dbae
MD5 aa1b94aa3361a10baf153d98f2145df0
BLAKE2b-256 65fd05e966b5317b1c6679c071c5b0203f28af9d26c9363700cb9682e1bcf343

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6fe9b9ea7a0aa23b52fd97354da95d1b2580065bc12a4ac868f9164a127211d6
MD5 81dcf7d1195e1984cdd95900ed7eb201
BLAKE2b-256 d0afb0e787a52767155b4643a55d6de03c1e4ae77abb61e1dc1629ad983e0a40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3a71d607595270b6870eaf778a1032d146b2aa79bfcfa60f57a82a7b7584a4c7
MD5 6bcec987ae6e76f749d11768c9e8ccd5
BLAKE2b-256 d496fcc72c33d464a2d722db1e95b74a53ced771a47b3cfde60aced29764a783

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2c7eae7fe2af215645a38660d2d57d257a4c461fe3ec827cca99a79478284e80
MD5 83ccd8688e2e4a9c35005745ecd0326a
BLAKE2b-256 a807a5b943121f674fe1ac77694a698e71ce95353830c1f3f4ce45da7ef3e406

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3a937f5d8727bc1c74c4bf2a9d1c25ace049e8628273016ad0d45914ae904e10
MD5 fd5a95418180020f72b84c8c8d5a648d
BLAKE2b-256 91042068a7b725265ecfcbf63ecdae038f1d4124ebccd55b8a7ce145b70e2b6a

See more details on using hashes here.

File details

Details for the file tree_sitter-0.23.2-cp39-cp39-win_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp39-cp39-win_arm64.whl
Algorithm Hash digest
SHA256 b848e0fdd522fbb8888cdb4f4d93f8fad97ae10d70c122fb922e51363c7febcd
MD5 a7c796647f45716e58457a23bba68f99
BLAKE2b-256 10b59eaf794fc71490573ab14a366affca415bc1ddbf86a14d78e54583db4254

See more details on using hashes here.

File details

Details for the file tree_sitter-0.23.2-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 611cae16be332213c0e6ece72c0bfca202e30ff320a8b309b1526c6cb79ee4ba
MD5 1e1ebe77311896d32d7208c0a4e96f67
BLAKE2b-256 44e095a3d66a7e5bb229574484ab10c6dc99d1c7a32972b890d194076e30dc4f

See more details on using hashes here.

File details

Details for the file tree_sitter-0.23.2-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3ead958df87a21d706903987e665e9e0e5df7b2c5021ff69ea349826840adc6a
MD5 fbde6aa5f43e307e4058dd1da4191000
BLAKE2b-256 7a8f27ab9b96cc0261af78b080ec8a9846a38e216360ec38774ea27eba35bd3c

See more details on using hashes here.

File details

Details for the file tree_sitter-0.23.2-cp39-cp39-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp39-cp39-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c2dfb8e8f760f4cc67888d03ef9e2dbd3353245f67f5efba375c2a14d944ac0e
MD5 0e4ca8f4522712ecc324fd1c5c748295
BLAKE2b-256 4000b16bf6cf88c47c1b6c8e1cce1eb9e90badb5db9e5252ae0970d858d02592

See more details on using hashes here.

File details

Details for the file tree_sitter-0.23.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a357ed98a74e47787b812df99a74a2c35c0fe11e55c2095cc01d1cad144ef552
MD5 4f9b90101db29fe798b68f99b8a6f8bf
BLAKE2b-256 8dba20ae9079bdfc5cfac28b39d945a6c354c8e1385e73aec8142db6c53b635c

See more details on using hashes here.

File details

Details for the file tree_sitter-0.23.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 569514b9a996a0fd458b3a891c46ca125298be0c03cf82f2b6f0c13d5d8f25dc
MD5 45896b11acef4a7992ff1d7aa3178da3
BLAKE2b-256 98b9ccdddf35705fc23395caa71557f767e0753d38afe4b5bb99efddbf62bb22

See more details on using hashes here.

File details

Details for the file tree_sitter-0.23.2-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9dbd110a30cf28be5da734ae4cd0e9031768228dbf6a79f2973962aa51de4ec7
MD5 0dd2682388b3cc0be43cef33d42fb318
BLAKE2b-256 4c34fa8f5b862dd7a6014fd5578810178e8f7601830cabb6d65d2aba050c2df1

See more details on using hashes here.

File details

Details for the file tree_sitter-0.23.2-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter-0.23.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a5db8e585205faef8bf219da77d8993e2ef04d08eda2e3c8ad7e4df8297ee344
MD5 109e77734ef8a60a8877ec796555294e
BLAKE2b-256 cbabb39173a47d498cc6276e303c865f4a222134ceae890bd3c1b29427489805

See more details on using hashes here.

Supported by

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