Skip to main content

Locale functions for the countries of Eritrea and Ethiopia.

Reason this release was yanked:

Accidental upload. It's a duplicate of version 1.0.0

Project description

Locale functions for the countries of Eritrea and Ethiopia.

See also HornMT: a machine-learning corpus for the Horn of Africa region.

Functionality

Numerals

Convert between Arabic and Ge’ez numerals:

>>> from abyssinica.numerals import arabic_to_geez
>>> arabic_to_geez(42)
'፵፪'

>>> from abyssinica.numerals import geez_to_arabic
>>> geez_to_arabic('፵፪')
42

Romanization

Transliterate Ge’ez characters:

>>> from abyssinica.romanization import romanize
>>> print(f"{romanize('ሰላም እንደምን አለህ?').capitalize()}")
Salām ʼendamn ʼalah?

Upcoming Functionality

Date & Time

Convert between Ge’ez and Gregorian dates and times.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

abyssinica-0.1.tar.gz (5.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page