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

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.2
File Size Uploaded Provenance Actions
rhoella-0.2.2.tar.gz 2.2 MB With provenance Details for rhoella-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 2.2 MB

Release files / rhoella-0.2.2.tar.gz

Download URL rhoella-0.2.2.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
c3b78531cd4b3d1d9d148792c0e501610850582b5d9208ee701e042f87f7eeec
BLAKE2b-256 checksum
How to use checksums
133fa5e4aac4c5b6feda7f371c7a17f7627a46c6eedd6f72936666c4db3f8d97
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 4, 2026.

Transparency log

Release files / rhoella-0.2.2-py3-none-any.whl

Download URL rhoella-0.2.2-py3-none-any.whl
Size 28.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3cded737ed1c41da285cd50894fb8022b1f0b7acb69492b77cd6b6f34ae68fda
BLAKE2b-256 checksum
How to use checksums
2be53f9ceab8b667bd12870e25749424baa3656ed412ffe92c0c5bc27af9cf08
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 4, 2026.

Transparency log

Security for rhoella 0.2.2

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.2.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 4, 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