Skip to main content

ethio-kit (v0.5.0)

Zero-dependency, browser-safe Ethiopian developer & creator foundation with spec-locked parity across Python (PyPI), JavaScript/TypeScript (npm), and Dart/Flutter (pub.dev)—verified against spec/golden_vectors.json.

Modules Included

  • Calendar & Bahire Hasab: Beyene–Kudlek / Unicode ICU Ethiopian ↔ Gregorian conversion (1800–2200 daily ICU verified), 12-hour EAT clock, Ge'ez numerals, Bahire Hasab computus (Fasika/Siklet/Nineveh/Abiy Tsom), and fixed Ethiopian holidays.
  • Ethiopic Script, IME & Creator Tools: Homophone normalization (normalize_ethiopic), full labialized phonetic transliteration (fidel_to_latin), reverse phonetic typing (latin_to_fidel), URL slugifier (ethiopic_slugify), Ethiopic-aware subtitle line wrapping (wrap_subtitle_lines), and script composition stats (count_ethiopic_stats).
  • Offline Ethiopian Geo Dataset: All 12 Regional States + 2 Chartered Cities with English/Amharic/Afaan Oromo names, capitals, dialing prefixes, and homophone-aware search (list_regions, get_region, find_regions).
  • Unified Payment & Receipt Adapter: Transport-agnostic checkout request builders for Chapa, Telebirr, SantimPay, and ArifPay (build_checkout_request), zero-dependency browser/Node/Python/Dart Chapa HMAC-SHA256 webhook verification (verify_chapa_webhook), and bank/wallet receipt URL/reference parsing (parse_receipt_reference).
  • Phone, Fayda & ETB Currency: ASCII-only Ethio Telecom (09…) / Safaricom (07…) parsing, 12-digit Fayda format checking, arbitrary-precision ETB formatting & splitting (format_etb, split_birr, splitBirrBigInt), and multilingual ETB amount-in-words (etb_to_words in en, am, om).

Running Tests Locally

# Monorepo sync & browser-safety check
python3 scripts/check_sync.py

# Python
PYTHONPATH=python python3 -m unittest discover -s python/tests -v

# JavaScript / TypeScript (ESM + CJS + 146,462-day Unicode ICU check)
cd js && npm test

# Dart / Flutter
cd dart && dart pub get && dart analyze --fatal-infos && dart test

Interactive Playground

Open index.html in any browser to test all features live with zero build step:

  • Latin → Fidel IME: Type selam → ሰላም with full labialized support (qwanqwa → ቋንቋ).
  • Calendar & Clock: Live Ethiopian ↔ Gregorian conversion & 12-hour Ethiopian local clock.
  • Multilingual ETB in Words: Convert amounts to English, Amharic, and Afaan Oromo words.
  • Phone & Fayda: 09/07 auto-detection, carrier badges, and 12-digit Fayda checking.
  • Payments & Receipts: Live Chapa/Telebirr checkout request builder & HMAC signature validator.
  • Copyable Snippets: Working code snippets for Python, JS/TS, and Dart.

Publishing

  • PyPI: cd python && python3 -m build && twine upload dist/*
  • npm: cd js && npm publish --access public
  • pub.dev: cd dart && dart pub publish

Metadata

Release files for ethio-kit 0.5.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 ethio-kit 0.5.1
File Size Uploaded Provenance Actions
ethio_kit-0.5.1.tar.gz 19.7 kB Without provenance Details for ethio_kit-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ethio-kit 0.5.1
File Interpreter ABI Platform Actions
ethio_kit-0.5.1-py3-none-any.whl Python 3 none any Details for ethio_kit-0.5.1-py3-none-any.whl

Total release size: 35.4 kB

Release files / ethio_kit-0.5.1.tar.gz

Download URL ethio_kit-0.5.1.tar.gz
Size 19.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3b6dd27eba3f3b130ab008a0fb6788c24b359a801fc678d50a2c26862f7b8f2d
BLAKE2b-256 checksum
How to use checksums
90989c65aa016e7831794dd29645a56071f296e19d93d487ecdb053e34e5195f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.0

Release files / ethio_kit-0.5.1-py3-none-any.whl

Download URL ethio_kit-0.5.1-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b07f40507750b37ea8b045464624bfea68c21468415f32db51a74f6c02be75fb
BLAKE2b-256 checksum
How to use checksums
da47269adf25324dc4b4a05c58a5765c961d3c378dbda229f9f4183555e9c225
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.0

Security for ethio-kit 0.5.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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