Catalog PyPI
Back to packageRELEASE DETAILS

3.0.0

PyPI

abyssinica

Locale functions for the countries of Eritrea and Ethiopia.

Published5 Sept 2026
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 3.0.0 documentation
##########
Abyssinica
##########

Locale library for the countries of Ethiopia and Eritrea.

See also `HornMT <https://github.com/gebre/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

Calendar
========
Convert between Gregorian and Ethiopic dates::

    >>> from abyssinica.calendar import Date as EthiopicDate
    >>> from datetime import date as GregorianDate
    >>> EthiopicDate.from_gregorian(GregorianDate(year=1996, month=3, day=2))
    abyssinica.calendar.Date(1988, 6, 23)

    >>> EthiopicDate(year=1988, month=6, day=23).to_gregorian()
    datetime.date(1996, 3, 2)

Romanization
============
Transliterate Ge'ez characters::

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

2 collected
abyssinica-3.0.0-py3-none-any.whl

bdist_wheel · 10.91 KB · Python py3

Source file
abyssinica-3.0.0.tar.gz

sdist · 14.94 KB · Python source

Source file

Repository

PENDING
ebenh/abyssinica

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:48 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:59389baa5b32f8233babd887398f08c250ea9cc76b7e07b4cb8cdfe83bbddf3a

Other collected versions

View all collected versions →