Skip to main content

panproto-grammars-functional

PyPI Python License: MIT

Python companion package for Haskell, OCaml, Elm, Gleam, Erlang, Elixir, PureScript, F#, Clojure, Scheme, and Racket.

Installation

pip install panproto-grammars-functional

The package requires Python 3.13 or newer. Its current metadata requires the matching panproto minor release, panproto>=0.74,<0.75.

Usage

import panproto

registry = panproto.AstParserRegistry()
schema = registry.parse_with_protocol("haskell", b"f x = x", "main.hs")

The Rust extension is implemented in crates/panproto-grammars-functional/. The wheel metadata and Python package are in this directory.

How it works

The wheel registers panproto_grammars_functional._impl in the panproto.grammars entry-point group. Each call to panproto.AstParserRegistry() loads installed entries and calls their grammars_metadata() functions. Duplicate names already registered by the core wheel or another pack are ignored. A pack that cannot load produces a RuntimeWarning. Registry construction continues without its grammars.

Application code does not need to import this companion package. Its top-level Python package exposes only __version__. Calling panproto._native.AstParserRegistry() directly bypasses companion discovery.

License

MIT

Metadata

Release files for panproto-grammars-functional 0.77.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for panproto-grammars-functional 0.77.0
File Actions
panproto_grammars_functional-0.77.0-cp313-abi3-win_amd64.whl CPython 3.13 abi3 Windows x86-64 Details for panproto_grammars_functional-0.77.0-cp313-abi3-win_amd64.whl
panproto_grammars_functional-0.77.0-cp313-abi3-manylinux_2_28_x86_64.whl CPython 3.13 abi3 Linux glibc 2.28+ x86-64 Details for panproto_grammars_functional-0.77.0-cp313-abi3-manylinux_2_28_x86_64.whl
panproto_grammars_functional-0.77.0-cp313-abi3-manylinux_2_28_aarch64.whl CPython 3.13 abi3 Linux glibc 2.28+ ARM64 Details for panproto_grammars_functional-0.77.0-cp313-abi3-manylinux_2_28_aarch64.whl
panproto_grammars_functional-0.77.0-cp313-abi3-macosx_11_0_arm64.whl CPython 3.13 abi3 macOS 11.0+ ARM64 Details for panproto_grammars_functional-0.77.0-cp313-abi3-macosx_11_0_arm64.whl
panproto_grammars_functional-0.77.0-cp313-abi3-macosx_10_12_x86_64.whl CPython 3.13 abi3 macOS 10.12+ x86-64 Details for panproto_grammars_functional-0.77.0-cp313-abi3-macosx_10_12_x86_64.whl

Total release size: 9.9 MB

Release files / panproto_grammars_functional-0.77.0-cp313-abi3-win_amd64.whl

Download URL panproto_grammars_functional-0.77.0-cp313-abi3-win_amd64.whl
Size 1.9 MB
Tags CPython 3.13 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c38f28dc938daa8fdf28063241d9446033861dcc47b7f3bd9ad430053ffb5408
BLAKE2b-256 checksum
How to use checksums
9574bc4177d4e613c3d7e7addccba429cf6b3506467bc2b33c62f9b3d275ecb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / panproto_grammars_functional-0.77.0-cp313-abi3-manylinux_2_28_x86_64.whl

Download URL panproto_grammars_functional-0.77.0-cp313-abi3-manylinux_2_28_x86_64.whl
Size 2.0 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
9c0eb33bbf29282a397d14fdcf6931057be256bd576368e9e8dfec93db9fb210
BLAKE2b-256 checksum
How to use checksums
2deb75ca3c651d0392e494471d651d5434a7f03753a546637536761a65376be3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / panproto_grammars_functional-0.77.0-cp313-abi3-manylinux_2_28_aarch64.whl

Download URL panproto_grammars_functional-0.77.0-cp313-abi3-manylinux_2_28_aarch64.whl
Size 2.0 MB
Tags CPython 3.13 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
455bd5fb4f3e42c20a76d334b98f5aa8e8bf93414f36e4d4feffae275f8c0067
BLAKE2b-256 checksum
How to use checksums
0a4bfe16b7ad940c64168a1aaa085076949c1b9f19f96145fdbbf14a7369a7a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / panproto_grammars_functional-0.77.0-cp313-abi3-macosx_11_0_arm64.whl

Download URL panproto_grammars_functional-0.77.0-cp313-abi3-macosx_11_0_arm64.whl
Size 2.1 MB
Tags CPython 3.13 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
89dc1dc0dabb936af9465634ac194750555af06e1394da373464260afaf38d5c
BLAKE2b-256 checksum
How to use checksums
8e0bf8b579e45179bf9a77281d7e236ea45692847d72833d8a275556594a1f04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / panproto_grammars_functional-0.77.0-cp313-abi3-macosx_10_12_x86_64.whl

Download URL panproto_grammars_functional-0.77.0-cp313-abi3-macosx_10_12_x86_64.whl
Size 2.0 MB
Tags CPython 3.13 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
0c6a4fe6eda3d22321d686b58ce63fa666771d24818df45ce095ce33cd151c60
BLAKE2b-256 checksum
How to use checksums
580194d6dfcd686f13d1fdb7f7472c809dab8a4c3c1c6528cc3a2ef1221fb298
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for panproto-grammars-functional 0.77.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for panproto_grammars_functional-0.77.0-cp313-abi3-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.77.0 This release

5 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page