copius-api


Namecopius-api JSON
Version 1.4.2 PyPI version JSON
download
home_pagehttps://github.com/martino-vic/copius_api
SummaryTranscription & orthography toolset
upload_time2023-05-23 16:23:09
maintainer
docs_urlNone
authorViktor Martinović
requires_python>=3.7
licenseMIT
keywords linguistics transcription
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            |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'}

.. |DOI| image:: https://zenodo.org/badge/428920599.svg
   :target: https://zenodo.org/badge/latestdoi/428920599
.. |CircleCI| image:: https://circleci.com/gh/martino-vic/copius_api/tree/master.svg?style=svg
   :target: https://circleci.com/gh/martino-vic/copius_api/tree/master
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/martino-vic/copius_api",
    "name": "copius-api",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "linguistics,transcription",
    "author": "Viktor Martinovi\u0107",
    "author_email": "viktoringermany@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/c5/94/3da6694eb5decfafae1d5a57be7017a328096c20974850dae45af12261da/copius_api-1.4.2.tar.gz",
    "platform": "Linux",
    "description": "|DOI| |CircleCI|\n\ncopius_api\n==========\n\nThis is a Python-api to the transcription and orthography toolset at\nhttps://copius.eu/ortho.php:\n\n\u201cThis toolset is a loose conglomeration of applications aiming to help\nyou handle various character encodings, orthographies, transcriptions\nand transliterations you might encounter when working with Uralic\nlanguages and other languages of Europe and Northern Asia that use\nvariants of the Latin or Cyrillic alphabet.\u201d (Copyright \u00a9 2021 COPIUS)\n\nHow to install:\n\n::\n\n   $ pip install copius_api\n\nHow to use:\n\n::\n\n   >>> from copius_api import api\n   >>> api.transcribe(\"ke\u032e\")\n   \"k\u0258\"\n\n::\n\n   >>> from copius_api import api\n   >>> api.transcribe(\"lol\",\"kom\",\"lc\")\n   \"\u043b\u043e\u043b\"\n\n::\n\n   >>> from copius_api import api\n   >>> api.transcribe(\"kiki\",\"mns\",\"9c\")\n   \"\u043a\u0438\u043a\u0438\"\n\n::\n\n   >>> from copius_api import api\n   >>> api.transcribe(\"\u0431\u0443\u0431\u0430\",\"mns\",\"c9\")\n   \"buba\"\n\nTo see the language abbreviations:\n\n::\n\n   >>> from copius_api import api\n   >>> api.lang_dict\n   {'Mari (Hill Mari)': 'mhr', 'Udmurt': 'udm', 'Komi': 'kom', 'Erzya': 'myv', 'Moksha': 'mdf', 'Mansi': 'mns', 'Tatar': 'tat', 'Bashkir': 'bak', 'Chuvash': 'chv', 'Russian': 'rus'}\n\nTo see the script abbrevations:\n\n::\n\n   >>> from copius_api import api\n   >>> api.orth_dict\n   {'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'}\n\n.. |DOI| image:: https://zenodo.org/badge/428920599.svg\n   :target: https://zenodo.org/badge/latestdoi/428920599\n.. |CircleCI| image:: https://circleci.com/gh/martino-vic/copius_api/tree/master.svg?style=svg\n   :target: https://circleci.com/gh/martino-vic/copius_api/tree/master",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Transcription & orthography toolset",
    "version": "1.4.2",
    "project_urls": {
        "Download": "https://github.com/martino-vic/copius_api/archive/refs/tags/v1.4.2.tar.gz",
        "Homepage": "https://github.com/martino-vic/copius_api",
        "continuous integration": "https://app.circleci.com/pipelines/github/martino-vic/copius_api?branch=master"
    },
    "split_keywords": [
        "linguistics",
        "transcription"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c5943da6694eb5decfafae1d5a57be7017a328096c20974850dae45af12261da",
                "md5": "002189bf2dfadfba12ec8e80ae08b1f2",
                "sha256": "988c7815eccd5ebfb464d6c0e75007a6eaf456d43b00913515f4c5def3cd8800"
            },
            "downloads": -1,
            "filename": "copius_api-1.4.2.tar.gz",
            "has_sig": false,
            "md5_digest": "002189bf2dfadfba12ec8e80ae08b1f2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 3579,
            "upload_time": "2023-05-23T16:23:09",
            "upload_time_iso_8601": "2023-05-23T16:23:09.732893Z",
            "url": "https://files.pythonhosted.org/packages/c5/94/3da6694eb5decfafae1d5a57be7017a328096c20974850dae45af12261da/copius_api-1.4.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-23 16:23:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "martino-vic",
    "github_project": "copius_api",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "circle": true,
    "lcname": "copius-api"
}
        
Elapsed time: 0.08225s