Abyssinica
Locale library for the countries of Ethiopia and Eritrea.
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
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?
Metadata
Release files for abyssinica 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| abyssinica-3.0.0.tar.gz | 15.3 kB | Without provenance | Details for abyssinica-3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| abyssinica-3.0.0-py3-none-any.whl | Python 3 | none | any | Details for abyssinica-3.0.0-py3-none-any.whl |
Total release size: 26.5 kB
Release files / abyssinica-3.0.0.tar.gz
| Download URL | abyssinica-3.0.0.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c995776ea266a2d3826d818d4c45c72f0f37e66e2e600b4720fe5589a1a35ec
|
|
BLAKE2b-256 checksum How to use checksums |
8e0c145d7ca51b25505ab96c66f950c4e5f67394f3c4156ae0c4013f7cd1b04b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / abyssinica-3.0.0-py3-none-any.whl
| Download URL | abyssinica-3.0.0-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
855f4ce62ad1e8650be6ee2abcb3bf60e94ad25f461157418de827fbc544ccc0
|
|
BLAKE2b-256 checksum How to use checksums |
6a0863db5ddcb6d3d896d397804eb42756e2cbfcafa730d55e71613898f114c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for abyssinica 3.0.0
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.