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.74.2

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.74.2
File
panproto_grammars_functional-0.74.2-cp313-abi3-win_amd64.whl CPython 3.13 abi3 Windows x86-64 Details
panproto_grammars_functional-0.74.2-cp313-abi3-manylinux_2_28_x86_64.whl CPython 3.13 abi3 Linux glibc 2.28+ x86-64 Details
panproto_grammars_functional-0.74.2-cp313-abi3-manylinux_2_28_aarch64.whl CPython 3.13 abi3 Linux glibc 2.28+ ARM64 Details
panproto_grammars_functional-0.74.2-cp313-abi3-macosx_11_0_arm64.whl CPython 3.13 abi3 macOS 11.0+ ARM64 Details
panproto_grammars_functional-0.74.2-cp313-abi3-macosx_10_12_x86_64.whl CPython 3.13 abi3 macOS 10.12+ x86-64 Details

Total release size: 9.9 MB

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

Download URL panproto_grammars_functional-0.74.2-cp313-abi3-win_amd64.whl
Size 1.9 MB
Tags CPython 3.13 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
292d025d78ab1e6c0e1159e8bd1d7981bcece58ba6f702eb4f694931ebb4ced3
BLAKE2b-256 checksum
How to use checksums
11ffa2211c5a8f936dc1647bb827b6cfe7687237264dae63fec30b799a04d57a
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 Sep 12, 2026.

Transparency log

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

Download URL panproto_grammars_functional-0.74.2-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
a9d16359be5dc2ec162c8e7384603f05169bc2ce4899fcd4890736bfbb8dbeb9
BLAKE2b-256 checksum
How to use checksums
3b95b003b1a775a1f4e21c3e506223c91d710d72c838306203358b2e527c8e24
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 Sep 12, 2026.

Transparency log

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

Download URL panproto_grammars_functional-0.74.2-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
bfef371ed7675ffb7f0e282034bd13f3b30dc2d6f16b226cb664e3eb57d4da95
BLAKE2b-256 checksum
How to use checksums
5acb69ba78869c4aa731d434f662a2b99b1b295a9a9dd3a135236efdd147fab1
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 Sep 12, 2026.

Transparency log

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

Download URL panproto_grammars_functional-0.74.2-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
d4d041f39174730492c22479d06d26466e00b119e15d0436d1dfd161e56c7786
BLAKE2b-256 checksum
How to use checksums
33347a69d42936231bd24d71baf8a80c2201dc8b7821ee1861be977aa306b845
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 Sep 12, 2026.

Transparency log

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

Download URL panproto_grammars_functional-0.74.2-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
8a4598cc5b0ef50dad7264ca2f10a8d21669db123d459affc9f89beeffb7eaa9
BLAKE2b-256 checksum
How to use checksums
dff79d43b0cdaaee5761c82342ed5108ac61288773a5357fef4f5366a561960a
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 Sep 12, 2026.

Transparency log

Release history Release notifications | RSS feed

0.74.4

5 release files

0.74.3

5 release files

This release

0.74.2 This release

5 release files

0.74.1

5 release files

0.74.0

5 release files

0.73.0

5 release files

0.72.0

5 release files

0.71.0

5 release files

0.70.1

5 release files

0.70.0

5 release files

0.69.1

5 release files

0.69.0

5 release files

0.68.0

5 release files

0.67.0

5 release files

0.66.0

5 release files

0.65.0

5 release files

0.64.0

5 release files

0.63.0

5 release files

0.62.0

5 release files

0.61.0

5 release files

0.60.0

5 release files

0.59.0

5 release files

0.58.0

5 release files

0.57.0

5 release files

0.56.1

5 release files

0.56.0

5 release files

0.55.0

5 release files

0.54.0

5 release files

0.53.0

5 release files

0.51.0

5 release files

0.50.7

5 release files

0.50.6

5 release files

0.50.5

5 release files

0.50.4

5 release files

0.50.3

5 release files

0.50.2

5 release files

0.50.0

5 release files

0.49.6

5 release files

0.49.5

5 release files

0.49.4

5 release files

0.49.3

5 release files

0.49.2

5 release files

0.49.1

5 release files

0.49.0

5 release files

0.48.8

5 release files

0.48.7

5 release files

0.48.6

5 release files

0.48.5

5 release files

0.48.4

5 release files

0.48.3

5 release files

0.48.2

5 release files

0.48.1

5 release files

0.48.0

5 release files

0.47.3

5 release files

0.47.2

5 release files

0.47.1

5 release files

0.47.0

5 release files

0.46.1

5 release files

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