Skip to main content

rhoella-py

The Python port of rhoella — a minimal Fluent (FTL) engine for Metanorma (from the Greek ῥοία: the flow). Conformance contract: the vendored testsuite/ snapshots rhoella/rhoella-testsuite at a pinned tag; CI re-verifies the snapshot against the testsuite repo and runs the parity, conformance and API-accessor suites (upstream classification + resolution vectors

  • the reference-pinned introspection surface).

    python3 test_parity.py python3 test_behavior.py python3 test_api.py

The CLDR surface (optional data package)

rhoella carries the CLDR code — the sealed-package loader (lazy, checksum-verified against the manifest sha256 seals), the RBNF evaluator, the package-fed plural rules, the SPELLOUT/ORDINAL/LIST/ NUMBER default registry and the engine API:

from rhoella import spellout, ordinal, list, plural_category, calendar_symbols

spellout(42, "ja")                  # 四十二
ordinal(1)                          # first
list(["ISO", "IEC", "ITU"])         # ISO, IEC, and ITU
plural_category("1", "en-US")       # one
calendar_symbols("en")              # months / days / dayPeriods

The same four functions are registered in every Bundle's default registry, so { SPELLOUT($n) } renders inside messages directly; a Bundle's registry is the only source of function behavior.

The DATA is not bundled: it lives in the optional rhoella-cldr package. Attach it in one of three ways (checked in this order):

  1. an explicit directory — load_cldr_data("<dir>") (the rhoella-cldr layout: manifest.json + artifacts);
  2. the RHOELLA_CLDR_DATA environment variable pointing at such a directory;
  3. the installed rhoella-cldr package (discovered through importlib.resources).

Without data the locale functions raise the named CldrError — loud, never silently wrong; the core Fluent functions are unaffected. Every load verifies the artifact seals; a corrupted copy fails loudly with a checksum mismatch instead of serving wrong locale data. Rule syntax beyond the RBNF evaluator's documented spellout subset raises UnsupportedRuleError rather than approximated output.

Metadata

Release files for rhoella 0.2.0

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

Source distribution (sdist)

Source distribution for rhoella 0.2.0
File Size Uploaded Provenance Actions
rhoella-0.2.0.tar.gz 237.8 kB With provenance Details for rhoella-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rhoella 0.2.0
File Interpreter ABI Platform Actions
rhoella-0.2.0-py3-none-any.whl Python 3 none any Details for rhoella-0.2.0-py3-none-any.whl

Total release size: 264.1 kB

Release files / rhoella-0.2.0.tar.gz

Download URL rhoella-0.2.0.tar.gz
Size 237.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7db3f237842929ce7a4f577bc93f8e04f5fce53397e8bd8bc5968b3ce25b95d7
BLAKE2b-256 checksum
How to use checksums
ed9855aee4507de68c9c81c92988d944571c9ac787411f9028dd88882b5b6886
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 / rhoella-0.2.0-py3-none-any.whl

Download URL rhoella-0.2.0-py3-none-any.whl
Size 26.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6011058b74897542ed26fe535e163c17543037cc1988a933a325cdcec6484710
BLAKE2b-256 checksum
How to use checksums
6c769331b6bc0b32ec4f59e60c92d8e7f8d1e855572d9952ae1a1be261a991ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 rhoella 0.2.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rhoella-0.2.0.tar.gz

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.

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