Skip to main content

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.

Metadata

Release files for ogham 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ogham 1.0.0
File Size Uploaded
ogham-1.0.0.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ogham 1.0.0
File Interpreter ABI Platform
ogham-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 kB

Release files / ogham-1.0.0.tar.gz

Download URL ogham-1.0.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
774e76781d5ded48828d386cf0b530e5bf514cb8a56dd2434edff3e5f0014a2c
BLAKE2b-256 checksum
How to use checksums
f540a2a1baf0f19f9bbbfc5382ad79cac3b28627fd9b2595bc41221bcabeef27
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ogham-1.0.0-py3-none-any.whl

Download URL ogham-1.0.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91f8b4eab47039ff3da1a1bf8469a3c1beaf1b9865947ffbff62d39f31e42d4b
BLAKE2b-256 checksum
How to use checksums
9c94d97735aa6c7a39994c66fedfa2ddf0c7346782370bffb8ba84857d347392
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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