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

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.1.1
File Size Uploaded Provenance Actions
rhoella-0.1.1.tar.gz 150.9 kB With provenance Details for rhoella-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 176.5 kB

Release files / rhoella-0.1.1.tar.gz

Download URL rhoella-0.1.1.tar.gz
Size 150.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b7c9bde385074aeedd1765a9b47759c8019b60c624681013a11636771f430aa1
BLAKE2b-256 checksum
How to use checksums
d2028ad164454be657b94e3c5cf7c61bce3defe01442a81fc3d7d91d207943a5
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 1, 2026.

Transparency log

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

Download URL rhoella-0.1.1-py3-none-any.whl
Size 25.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63424b3f9342d570f65004762f01c1b99fc8c749bbd5d32de1bb98fe229f952c
BLAKE2b-256 checksum
How to use checksums
a600f652dc8e501c1ecd56e5907aaca9059cfe2891d46bc1a748f1a8c1d5ffd4
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 1, 2026.

Transparency log

Security for rhoella 0.1.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

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

Select from 2 files

Attestation for rhoella-0.1.1.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 1, 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