Skip to main content

DOI CircleCI

copius_api

This is a Python-api to the transcription and orthography toolset at https://copius.eu/ortho.php:

“This toolset is a loose conglomeration of applications aiming to help you handle various character encodings, orthographies, transcriptions and transliterations you might encounter when working with Uralic languages and other languages of Europe and Northern Asia that use variants of the Latin or Cyrillic alphabet.” (Copyright © 2021 COPIUS)

How to install:

$ pip install copius_api

How to use:

>>> from copius_api import api
>>> api.transcribe("ke̮")
"kɘ"
>>> from copius_api import api
>>> api.transcribe("lol","kom","lc")
"лол"
>>> from copius_api import api
>>> api.transcribe("kiki","mns","9c")
"кики"
>>> from copius_api import api
>>> api.transcribe("буба","mns","c9")
"buba"

To see the language abbreviations:

>>> from copius_api import api
>>> api.lang_dict
{'Mari (Hill Mari)': 'mhr', 'Udmurt': 'udm', 'Komi': 'kom', 'Erzya': 'myv', 'Moksha': 'mdf', 'Mansi': 'mns', 'Tatar': 'tat', 'Bashkir': 'bak', 'Chuvash': 'chv', 'Russian': 'rus'}

To see the script abbrevations:

>>> from copius_api import api
>>> api.orth_dict
{'Cyrillic to Cyrillic': 'cc', 'Cyrillic to Latin': 'cl', 'Cyrillic to IPA': 'ci', 'Cyrillic to ISO9': 'c9', 'Latin to Cyrillic': 'lc', 'Latin to Latin': 'll', 'Latin to IPA': 'li', 'Latin to ISO9': 'l9', 'IPA to Cyrillic': 'ic', 'IPA to Latin': 'il', 'IPA to ISO9': 'i9', 'ISO9 to Cyrillic': '9c', 'ISO9 to Latin': '9l', 'ISO9 to IPA': '9i', '<1917 to Cyrillic': '3c', '<1917 to Latin': '3l', '<1917 to IPA': '3i', '<1917 to ISO9': '39'}

Metadata

Release files for copius-api 1.4.2

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

Source distribution (sdist)

Source distribution for copius-api 1.4.2
File Size Uploaded
copius_api-1.4.2.tar.gz 3.6 kB Details

Release files / copius_api-1.4.2.tar.gz

Download URL copius_api-1.4.2.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
988c7815eccd5ebfb464d6c0e75007a6eaf456d43b00913515f4c5def3cd8800
BLAKE2b-256 checksum
How to use checksums
c5943da6694eb5decfafae1d5a57be7017a328096c20974850dae45af12261da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

1.4.2 This release

1 release file

1.4.1

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

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