Tree Sitter Apache Avro
Unofficial Python release. This package (
tree-sitter-apache-avro-unofficial) is an unofficial PyPI distribution of sebimarkgraf/tree-sitter-apache-avro, which is itself a fork of victorhqc/tree-sitter-apache-avro. All grammar and parser logic belongs to the original authors. This release adds only the missing Python packaging. Maintained by Laszlo Babartzy.
Introduction
This is an unofficial Apache Avro IDL (.avdl) based on the official specs:
If you notice any bug or problem, please submit an issue or make a pull request. Any contribution is welcomed and needed.
Development
Requirements:
- Rust >= 1.90
- Node.js >= 24
- Tree Sitter CLI
- Docker (For the playground)
All the parsing logic is specified in grammar.js at the root level. To see if
the changes made to it are working, run the tests and compare the results.
npm test:parser
A playground is also available to test the parser (though it needs Docker to run)
npm start
More information about how to write or use the tree parser can be found here: http://tree-sitter.github.io/tree-sitter/
To test the bindings you can also do the following
tree-sitter parse ./test/protocol.avdl
tree-sitter parse ./test/schema.avdl
To check for highlights, run the following
tree-sitter highlight --check ./test/schema.avdl
tree-sitter highlight --check ./test/protocol.avdl
Just make sure to include the local directory where you have this parser in the
local tree-sitter configuration. For example, if I have this path under
Documents/Code/tree-sitter-apache-avro then the config should be
{
"parser-directories": [
"/Users/my_user/github",
"/Users/my_user/src",
"/Users/my_user/source",
"/Users/my_user/projects",
"/Users/my_user/dev",
"/Users/my_user/git",
"/Users/my_user/Documents/Code"
],
}
Metadata
Release files for tree-sitter-apache-avro-unofficial 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tree_sitter_apache_avro_unofficial-0.1.2.tar.gz | 29.0 kB | Details |
Built distributions (wheels)
Total release size: 265.5 kB
Release files / tree_sitter_apache_avro_unofficial-0.1.2.tar.gz
| Download URL | tree_sitter_apache_avro_unofficial-0.1.2.tar.gz |
|---|---|
| Size | 29.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7baebb74c834963b0f1a3ece0a5e530d55b9d448641b947a10ea8c297a13ef47
|
|
BLAKE2b-256 checksum How to use checksums |
1d7e40a791a68cece1bd36e8ea199e7c17fd93bc89c163573709acff65dc1e4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tree_sitter_apache_avro_unofficial-0.1.2-cp310-abi3-win_arm64.whl
| Download URL | tree_sitter_apache_avro_unofficial-0.1.2-cp310-abi3-win_arm64.whl |
|---|---|
| Size | 20.1 kB |
| Tags | CPython 3.10 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
0e315c86a57c148a9f745fd9b96ac333b5830c0c95da2eeb09e0f152d74f3046
|
|
BLAKE2b-256 checksum How to use checksums |
8b96ed2a966cce41c82f3fd4c11de765c541da93f4f2e640424ab8ecfe07a0e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tree_sitter_apache_avro_unofficial-0.1.2-cp310-abi3-win_amd64.whl
| Download URL | tree_sitter_apache_avro_unofficial-0.1.2-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 20.6 kB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
576c02166d1e872ae603237448150af39284750253d3a8ff4ded03ff8e494b69
|
|
BLAKE2b-256 checksum How to use checksums |
422800d441954efae067aa521459718a613bc8ab66831b9d02e7b043f450962d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tree_sitter_apache_avro_unofficial-0.1.2-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | tree_sitter_apache_avro_unofficial-0.1.2-cp310-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 37.9 kB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
c75c774a4a23bfb2a44ed683fa1f90acb39fa834dec0b25b296c056f5172d2b9
|
|
BLAKE2b-256 checksum How to use checksums |
df12eb23082fc129081051abbfa53e51b320f299311b552bb575d49ac4fd5b80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tree_sitter_apache_avro_unofficial-0.1.2-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | tree_sitter_apache_avro_unofficial-0.1.2-cp310-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 39.4 kB |
| Tags | CPython 3.10 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
a0a9af04f76095dce722765d1e12402012623fa8a0e66710624e8450cfd4144f
|
|
BLAKE2b-256 checksum How to use checksums |
6bfa0681367e2e32fe3617e4d346c1352b02ac53092746708bada136e193f235
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tree_sitter_apache_avro_unofficial-0.1.2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | tree_sitter_apache_avro_unofficial-0.1.2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 40.9 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
aab9d88f663a5b1ab1c4b0c339f61781cce10ad49e0ad0f12f533e0c5262bd23
|
|
BLAKE2b-256 checksum How to use checksums |
256bede0a30a68f178f900f7d4958a13569ca8af53e4990f62db530face9a623
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tree_sitter_apache_avro_unofficial-0.1.2-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | tree_sitter_apache_avro_unofficial-0.1.2-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 38.9 kB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
959b992902b6c5139cdf788d32c709d6fadbdabafc35d485404886e14668f214
|
|
BLAKE2b-256 checksum How to use checksums |
c00f0357c9804a4ba6de78f06b273837429049bd867c6a96a118f18677036efe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tree_sitter_apache_avro_unofficial-0.1.2-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | tree_sitter_apache_avro_unofficial-0.1.2-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 19.6 kB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e41621d1325d12260f01e4a8fde4963583a1a40524542cf62f6f29ca9f0a03d2
|
|
BLAKE2b-256 checksum How to use checksums |
658feca7f20c20531f68faeafcf8e04a1e0fee5c072037c3576248ca26945436
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tree_sitter_apache_avro_unofficial-0.1.2-cp310-abi3-macosx_10_9_x86_64.whl
| Download URL | tree_sitter_apache_avro_unofficial-0.1.2-cp310-abi3-macosx_10_9_x86_64.whl |
|---|---|
| Size | 19.1 kB |
| Tags | CPython 3.10 abi3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
2f9b8dd101128c211a33c723783bd40b4c5597c16b765d37a1dbcab155db2576
|
|
BLAKE2b-256 checksum How to use checksums |
1eae3fb986132969aa5f9ec3f5bdd0bed68f480b8968908a11f5491616092f51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|