Skip to main content

panproto grammar pack: Data — JSON, TOML, XML, YAML, SQL, CSV, GraphQL, Protobuf

Project description

panproto-grammars-data

A panproto companion package shipping tree-sitter grammars for data languages: JSON, TOML, XML, YAML, SQL, CSV, GraphQL, Protobuf.

Install

pip install panproto-grammars-data

The package declares an entry point under panproto.grammars. panproto's AstParserRegistry factory picks it up automatically; there is nothing to import from this package directly.

Use

import panproto

reg = panproto.AstParserRegistry()
# parse one of the grammars this pack adds:
# schema = reg.parse_with_protocol("typescript", b"...", "main.ts")

See the panproto repository for the full list of available grammar packs and the source for this one at crates/panproto-grammars-data/ and bindings/python-grammars-data/.

License

MIT.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

panproto_grammars_data-0.45.0-cp313-abi3-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.13+Windows x86-64

panproto_grammars_data-0.45.0-cp313-abi3-manylinux_2_28_x86_64.whl (1.2 MB view details)

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

panproto_grammars_data-0.45.0-cp313-abi3-manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.13+manylinux: glibc 2.28+ ARM64

panproto_grammars_data-0.45.0-cp313-abi3-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.13+macOS 11.0+ ARM64

panproto_grammars_data-0.45.0-cp313-abi3-macosx_10_12_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13+macOS 10.12+ x86-64

File details

Details for the file panproto_grammars_data-0.45.0-cp313-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for panproto_grammars_data-0.45.0-cp313-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 533ca65f057091bbff38a16d27dcdcb00c90b8a845602cb97e43ae58c597ea0e
MD5 6c12a5f897697cb9d9cb521b0b3426dd
BLAKE2b-256 e0400ca4f751e53f4b7b00121eed23059ef1be47fbbde952c5ea9e410cb5e42a

See more details on using hashes here.

File details

Details for the file panproto_grammars_data-0.45.0-cp313-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for panproto_grammars_data-0.45.0-cp313-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fca2a8221e932405240e6d0dc70fddc3bcad0d6d9be83f0e9221a7a816513355
MD5 a9e083853b618dd8d5272e30f067f9f5
BLAKE2b-256 0efa3906acc365d680adf0d281657d33f6aca81121a70d269751a9ef70e589e4

See more details on using hashes here.

File details

Details for the file panproto_grammars_data-0.45.0-cp313-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for panproto_grammars_data-0.45.0-cp313-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 07c02aabbe0b6fbab53f3e51f1ff86671b49cadbf2a9730319294c48e76a1641
MD5 ebb8fd613ef79a4bf5f7f6c52a004789
BLAKE2b-256 acc454a12d4e7b2f3e8256fec3219407f0a5d35a20a956856e15c636c69b37af

See more details on using hashes here.

File details

Details for the file panproto_grammars_data-0.45.0-cp313-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for panproto_grammars_data-0.45.0-cp313-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fc85040cb064ead587027aa4fd6659f780cdf8e6c9e35c0497a18f6b226ae75c
MD5 2710e433e4bdfd042c98429274ee2149
BLAKE2b-256 b238e5b22e3026e9eca56d47f6cd46c307b1e6b2aa978183718d906333fb01d9

See more details on using hashes here.

File details

Details for the file panproto_grammars_data-0.45.0-cp313-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for panproto_grammars_data-0.45.0-cp313-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bc0f53b46fe8fde76b3979ac3e8c0745ac2dddc969f77f9a7042758725e52b0f
MD5 b8acd8387fc46dbdd502bca930c5d8b1
BLAKE2b-256 47378b44ea2c1d72065872a96b564df16e02e81fdf581108435eeddb9b68484e

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