Skip to main content

panproto grammar pack: Scripting — Python, Ruby, Lua, Bash, Perl, R, Julia, Nushell, Fish

Project description

panproto-grammars-scripting

A panproto companion package shipping tree-sitter grammars for scripting languages: Python, Ruby, Lua, Bash, Perl, R, Julia, Nushell, Fish.

Install

pip install panproto-grammars-scripting

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

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_scripting-0.45.0-cp313-abi3-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.13+Windows x86-64

panproto_grammars_scripting-0.45.0-cp313-abi3-manylinux_2_28_x86_64.whl (1.5 MB view details)

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

panproto_grammars_scripting-0.45.0-cp313-abi3-manylinux_2_28_aarch64.whl (1.5 MB view details)

Uploaded CPython 3.13+manylinux: glibc 2.28+ ARM64

panproto_grammars_scripting-0.45.0-cp313-abi3-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.13+macOS 11.0+ ARM64

panproto_grammars_scripting-0.45.0-cp313-abi3-macosx_10_12_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for panproto_grammars_scripting-0.45.0-cp313-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 70af6490e5c1708fb27152cb02fc1a179c10159b03d62807270a3db8d5551e6f
MD5 d0c84cc234e865dcdbf6454cd63c0e49
BLAKE2b-256 35f2408b6938f8d14e71303d92831304f3335d319013f5965b4ea50cf7c0d27b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for panproto_grammars_scripting-0.45.0-cp313-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 822fdf74fe843e60e3209cb54e12ca033e856d72ffaa40520730c324edf6af61
MD5 c85a8fd715f7020f07fb24fefaec4464
BLAKE2b-256 6d93e001483a25d3bd28f4e6168a69b5c18e68125359e96b779faa2fc3cef3d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for panproto_grammars_scripting-0.45.0-cp313-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 129f08b2c06734ca322a1110e6ab9f39b760e95679324e01db071e0e399ac272
MD5 e1e97dfae7a9302fd37259bfb3584d57
BLAKE2b-256 7144130caab4fbaf093e1b2b8f52ae68f667173edc2a0416f3068481a1a44ccc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for panproto_grammars_scripting-0.45.0-cp313-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 193d1f74fc3098acc3206dc59ae19a02a6814f1e2519ac17ab1ff205d2cfd53c
MD5 f483c4477309ca350d0bad054e6c2b3c
BLAKE2b-256 ec122d13dede6c858401f746456da4a36bd7e3ff5f69201c87b29cfa7d224259

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for panproto_grammars_scripting-0.45.0-cp313-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bb7c089119182628ae3f42d11bb786dcb3a7f077f32741d75e3837193473c388
MD5 0a6d2b8a40dd50f4054f1036a19aadd3
BLAKE2b-256 008a7c98d9a231e05acf5a27256fb403a021ce253a05e7617db27d68149fc96b

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