Convert Ogham inscriptions to latin text & vice versa.
Project description
Ogham
Convert Ogham inscriptions to latin text & vice versa.
Python port of the original Node.js library.
Install
pip install ogham
Usage
You can either transform ogham to text, or text to ogham.
Latin text to ogham:
from ogham import letters_to_ogham
# "Netacari, nephew of Cagi", from Castletimon, Brittas Bay, Co Wicklow
result = letters_to_ogham('netacarinetaccagi')
print(result) # ᚛ᚅᚓᚈᚐᚉᚐᚏᚔᚅᚓᚈᚐᚉᚉᚐᚌᚔ᚜
Ogham to latin text:
from ogham import ogham_to_letters
# "Nettasagri, Briaci", from Bridell, Pembrokeshire
result = ogham_to_letters('᚛ᚅᚓᚈᚈᚐᚄᚐᚌᚏᚔ ᚋᚐᚊᚔ ᚋᚒᚉᚑᚓ ᚁᚏᚔᚐᚉᚔ᚜')
print(result) # nettasagri maqi mucoe briaci
About Ogham
Ogham (or ogam) is an Early Medieval alphabet used primarily to write the early Irish language, and later the Old Irish language. Used roughly from 4th to 10th centuries AD.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ogham-1.0.0.tar.gz
(3.2 kB
view details)
Built Distribution
ogham-1.0.0-py3-none-any.whl
(3.4 kB
view details)
File details
Details for the file ogham-1.0.0.tar.gz
.
File metadata
- Download URL: ogham-1.0.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 774e76781d5ded48828d386cf0b530e5bf514cb8a56dd2434edff3e5f0014a2c |
|
MD5 | 02a4fb08c8859aa6f4fb49aae6a73800 |
|
BLAKE2b-256 | f540a2a1baf0f19f9bbbfc5382ad79cac3b28627fd9b2595bc41221bcabeef27 |
File details
Details for the file ogham-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: ogham-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91f8b4eab47039ff3da1a1bf8469a3c1beaf1b9865947ffbff62d39f31e42d4b |
|
MD5 | 1ab30a328cf9b9216ee11a70b4f884f3 |
|
BLAKE2b-256 | 9c94d97735aa6c7a39994c66fedfa2ddf0c7346782370bffb8ba84857d347392 |