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

Built distribution (wheel)

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

Total release size: 2.2 MB

Release files / rhoella-0.3.0.tar.gz

Download URL rhoella-0.3.0.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
ef9aa33b28738ad6a9254545d7cdce974cb8d173e74e110ee765ec5f7e4745ff
BLAKE2b-256 checksum
How to use checksums
59c91ada93a48f7eb3040e4dcbac40ab2026e3efd2697b5dd024e7d4ba0e62c7
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.3.0-py3-none-any.whl

Download URL rhoella-0.3.0-py3-none-any.whl
Size 27.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0534f50fa79662a48f7fe58dc96723d2122b18acac88f3fe824fbe4890cdd4bc
BLAKE2b-256 checksum
How to use checksums
82fb3abd3a63e6ef4613f0b6c7280c9cdee8918d714857812e18d4a3afd97e2e
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.3.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.3.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 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