• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gladiaio / num2words2
97%

Build:
DEFAULT BRANCH: main
Repo Added 18 Sep 2026 01:16PM UTC
Token WQwyBB2gk2KctgLNiYr3SneL12vYYxKlh regen
Build 60 Last
Files 174
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
Sync Branches
  • main
  • ci/drop-pypy-3.10
  • ci/pypi-trusted-publishing
  • fix/ckb-sorani-script
  • fix/cli-and-ci-test-discovery
  • fix/kok-devanagari-and-ordinals
  • fix/ky-cyrillic-and-ordinals
  • fix/or-odia-script-and-ordinals
  • fix/port-sfl-672-verify-ordinal
  • fix/ti-geez-and-ordinals
  • jl/gladiaio-org-metadata
  • jl/pyo3-0-29-security-bump

21 Sep 2026 11:08PM UTC coverage: 96.715% (+0.004%) from 96.711%
35666190497

push

github

web-flow
fix(kok): render Konkani in Devanagari and add the suppletive ordinals (#142)

* fix(kok): render Konkani in Devanagari and add the suppletive ordinals

lang_KOK.py spelled every numeral in Latin transliteration (ek, don,
chalis, xambhar). Devanagari is Konkani's official script - the one
named in the Goa Official Language Act and used by the Sahitya Akademi
standard - and every sibling Indic module in this crate already emits
its own script. Rewrites ONES, TENS, zero, hundred, thousand, million,
the negative prefix, the decimal point, the connector and the three
CURRENCY_FORMS entries.

The ordinal marker was already the real Konkani one, so 5, 7, 8 and 10
came out right. 1-4 are suppletive (poilo, dusro, tisro, chouto) and 6
and 9 contract (sovvo, novvo), so those six were non-words. Adds the
1-10 table; from 11 up only the script changed.

million was spelled 'dosh lakh' - 'dosh' has no Konkani reading, so it
is written with the module's own word for ten, keeping the 'ten lakh'
the header documents.

Composition rules, the mixed connector joints, the 10^9 cliff and the
currency fallback are untouched. verify_ordinal is still not called.

Adds tests/lang/test_kok.py (9 tests) and updates the kok entry in
test_new_26_languages.py.

* docs(kok): clean search-and-replace artefacts left by the Devanagari conversion

- expect() message: "single decimal चार" -> "single decimal char" (the
  word "char" had been rewritten as the numeral four).
- Doc examples now show what the module renders: शून्यवो instead of
  the half-converted "xunyavo", and the वो suffix instead of Latin "vo"
  on "1000000000वो", "रीण एकवो", "-1वो", "-0.0वो", "5.00वो", "1e+16वो".

No behaviour change. References to upstream's `+ "vo"` and the quoted
Latin transliteration source are intentionally left as they are.

---------

Co-authored-by: Jean-Louis Queguiner <jean-louis.queguiner@gmail.com>

1288 of 1436 branches covered (89.69%)

Branch coverage included in aggregate %.

39 of 39 new or added lines in 1 file covered. (100.0%)

25299 of 26054 relevant lines covered (97.1%)

5.83 hits per line

Relevant lines Covered
Build:
Build:
26054 RELEVANT LINES 25299 COVERED LINES
5.83 HITS PER LINE
Source Files on main
  • Tree
  • List 174
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
35666190497 main fix(kok): render Konkani in Devanagari and add the suppletive ordinals (#142) * fix(kok): render Konkani in Devanagari and add the suppletive ordinals lang_KOK.py spelled every numeral in Latin transliteration (ek, don, chalis, xambhar). Devanag... push 21 Sep 2026 11:12PM UTC web-flow github
96.72
35665468011 main fix(ky): render Kyrgyz in Cyrillic and use vowel-harmonic ordinals (#136) lang_KY.py spelled every numeral in Latin transliteration (bir, uech, jiyirma, juez). Kyrgyz is written in Cyrillic; the Latin alphabet was dropped in 1940 and has no offic... push 21 Sep 2026 11:03PM UTC web-flow github
96.71
35664733890 main fix(ci,cli): run the whole suite in CI, and ship the CLI again (ports savoirfairelinux/num2words#624 + #623 by @shamilbi) (#146) * fix(ci,cli): run the whole test suite, and ship the CLI again CI ran 'coverage run -m unittest discover'. unittest... push 21 Sep 2026 10:55PM UTC web-flow github
96.71
35660982929 main ci: drop PyPy 3.10 from the test matrix (#150) pyo3 0.29 (merged in #132) requires PyPy >= 3.11, so the pypy-3.10 leg fails at the maturin build step on every PR. PyPy 3.11 stays and passes. push 21 Sep 2026 10:11PM UTC web-flow github
95.13
35659557188 main fix(or): render Odia in the Odia script, separate 70 from 17, add suppletive ordinals (#138) * fix(or): render Odia in the Odia script, fix tens[7], add real ordinals lang_OR.py spelled every numeral in IAST-style Latin transliteration (eka, dui... push 21 Sep 2026 09:55PM UTC web-flow github
95.13
35658729994 main fix(ckb): render Central Kurdish in the Sorani Perso-Arabic script (#140) lang_CKB.py spelled every numeral in Latin transliteration (yek, cwar, hezar, sed). Central Kurdish is written in the Perso-Arabic Sorani alphabet. The Latin (Hawar) alphab... push 21 Sep 2026 09:45PM UTC web-flow github
95.15
35657799232 main fix(ar,hi): reject negative and fractional ordinals (#144) Ports savoirfairelinux/num2words#672 by @santhreal. Num2Word_AR.to_ordinal never called verify_ordinal, so a negative indexed arabicOrdinal backwards and returned a silently wrong word i... push 21 Sep 2026 09:36PM UTC web-flow github
95.17
35656860992 main ci: publish to PyPI with trusted publishing (OIDC) instead of PYPI_API_TOKEN (#149) The gladiaio/num2words2 trusted publisher is now registered on PyPI (workflow release.yml, environment pypi), so the long-lived API token is no longer needed. Gra... push 21 Sep 2026 09:27PM UTC web-flow github
95.17
35655445479 main fix(rust): bump pyo3 0.23 -> 0.29 for RUSTSEC advisories (#132) Closes the 6 open Dependabot alerts (3 advisories reported on both rust/num2words2-py/Cargo.toml and rust/Cargo.lock): - RUSTSEC PyO3 missing Sync bound on PyCFunction::new_closure ... push 21 Sep 2026 09:13PM UTC web-flow github
95.17
35507441595 main fix(ti): render Tigrinya in Ge'ez script and use real Tigrinya ordinals (#134) * fix(ti): render Tigrinya in Ge'ez script instead of Latin transliteration Upstream `lang_TI.py` spells every Tigrinya numeral in Latin transliteration ("ḥade", "mi'... push 20 Sep 2026 11:21AM UTC web-flow github
95.17
See All Builds (36)

Badge your Repo: num2words2

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc