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

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

Total release size: 9.9 MB

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

Download URL panproto_grammars_functional-0.78.1-cp313-abi3-win_amd64.whl
Size 1.9 MB
Tags CPython 3.13 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
25e0f3ad437b610d9205894c9a0730d8a1999803a58377ee3a2b69b10c7d2bbd
BLAKE2b-256 checksum
How to use checksums
95fc6d99cd83e8bedab81c5901793bd43d46bcaccb99cc41c71b2646e6bb70ed
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 Dec 2, 2026.

Transparency log

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

Download URL panproto_grammars_functional-0.78.1-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
31264b0d10b08ca1c35cb11013c804a72c9d7466105d8849778fbcc9996b0c35
BLAKE2b-256 checksum
How to use checksums
1d92a588b416589ca366766f4d70a28ab1ed31b7c7e44311b3eaa03d663fbff6
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 Dec 2, 2026.

Transparency log

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

Download URL panproto_grammars_functional-0.78.1-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
8f506c39afb05868d683908cf6d572d03601fb5c1e43dd49334b58b0f0541658
BLAKE2b-256 checksum
How to use checksums
950ae9e7dd38e145443e1b4690ae4303ee6792df97e84b3d0a6ba117e4d1841c
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 Dec 2, 2026.

Transparency log

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

Download URL panproto_grammars_functional-0.78.1-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
b505369ca6df5bc0830e20ee4f2854babe33eee6ac582e8d7b125ca9cee097d8
BLAKE2b-256 checksum
How to use checksums
d9f8a4a4d424999a5364b3c80169f0c5163455e3fea6935cee84bcba896f601d
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 Dec 2, 2026.

Transparency log

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

Download URL panproto_grammars_functional-0.78.1-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
40ecbe1cf18883a085a73495e21e699449306ace301737dd7c89c2b861bdaeb7
BLAKE2b-256 checksum
How to use checksums
55d86c7c5b23556c5910ce0fdf2e360a75f8f6c807bcf35902d2512e25a73bc1
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 Dec 2, 2026.

Transparency log

Security for panproto-grammars-functional 0.78.1

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.78.1-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 Dec 2, 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.78.1 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