Skip to main content

panproto grammar pack: Web — HTML, CSS, JavaScript, TypeScript, TSX, JSON, Vue, Svelte, Astro, GraphQL

Project description

panproto-grammars-web

A panproto companion package shipping tree-sitter grammars for web languages: HTML, CSS, JavaScript, TypeScript, TSX, JSON, Vue, Svelte, Astro, GraphQL.

Install

pip install panproto-grammars-web

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-web/ and bindings/python-grammars-web/.

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_web-0.45.0-cp313-abi3-win_amd64.whl (586.0 kB view details)

Uploaded CPython 3.13+Windows x86-64

panproto_grammars_web-0.45.0-cp313-abi3-manylinux_2_28_x86_64.whl (682.1 kB view details)

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

panproto_grammars_web-0.45.0-cp313-abi3-manylinux_2_28_aarch64.whl (666.2 kB view details)

Uploaded CPython 3.13+manylinux: glibc 2.28+ ARM64

panproto_grammars_web-0.45.0-cp313-abi3-macosx_11_0_arm64.whl (697.6 kB view details)

Uploaded CPython 3.13+macOS 11.0+ ARM64

panproto_grammars_web-0.45.0-cp313-abi3-macosx_10_12_x86_64.whl (678.6 kB view details)

Uploaded CPython 3.13+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for panproto_grammars_web-0.45.0-cp313-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 58ec845f7feed17168b1e6993d12a681c8d1a888724c721d5c0cf5a61c31b5d8
MD5 e23b2c47e7d2036f44dd97c75fef142d
BLAKE2b-256 c48724a11a38e3593be9bc0aa91e56efa6cdf6d2457547ee4bbc6004f4b62de8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for panproto_grammars_web-0.45.0-cp313-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 65b06c4b093ddefaa017ea15e6b525dab2aef645e10609be91504328f2002450
MD5 c2cc61de6bc47d19700f0d77cfea6720
BLAKE2b-256 5264cf0dc85f38ac23d6c7ec9d55e28ac1833a2790b6be9ea7a33c967c00d3d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for panproto_grammars_web-0.45.0-cp313-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3f5e6a118d71929db4f0a2a9c3902f7d0a8e4acb21eafc9cadffa0a0fe04c5a9
MD5 a47c7f0f3696d94ab22439e7bc6dc335
BLAKE2b-256 060b3d6d958127d1d6d49522fdc3c4d1481ce2634634c8da5b97afbaa33aacef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for panproto_grammars_web-0.45.0-cp313-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d3fa3a4f7fdc5d1f8a7f6392b5490ffed859257b81377b95d3b23e7db85c18ca
MD5 bd16731302801b2079903531848a15d1
BLAKE2b-256 12005056a5d6dace2ab4932e680f1b693a578c6c159f1ea3ead9c4a1c0dd6e83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for panproto_grammars_web-0.45.0-cp313-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c23eb939f7fd3c2aeff634d1c947d7f2159a77cc92fce7d53d00f25bac7de128
MD5 e88ff0fd798434fbe2ffcc94135f8f00
BLAKE2b-256 16e20737a91b7ffa2b61bf3f87acc0313701ecc3b20a32a5cb38a14d30e1171a

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