belarusianconverter


Namebelarusianconverter JSON
Version 0.0.6 PyPI version JSON
download
home_pagehttps://github.com/alelisicyna/BelarusianConverter
SummaryLibrary for convertation Belarusian texts from Cyrillic to other Belarusian alphabets
upload_time2024-11-30 19:25:55
maintainerNone
docs_urlNone
authoralelisicyna
requires_python>=3.6
licenseNone
keywords files speedfiles spellings spelling belarusian belarus convert converter alphabets
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # BelarusianConverter
Library for convertation Belarusian texts from Cyrillic to other Belarusian alphabets
## Quick Start
```py
$ pip install belarusianconverter
```
## Code Example
```py
# test.py
from BelarusianConverter import BelarusianConverter



script = BelarusianConverter()


if __name__ == '__main__':
  text = script.convert(0, 'А хто там ідзе?') # example
  print(text) # Return: "A chto tam idzie?"

'''
  BelarusianConverter.convert(alphabet: int, text: str, plosive_g = False, assimilation = False, iotation = False)
  alphabet:
    0 - LatinMuzyckajaPrauda (K. Kalinoŭski)
    1 - Latin1929 (B. Taraškievič)
    2 - Latin1962 (Ja. Stankievič)
    3 - LatinUnitedNations
    4 - Romanization2023
    5 - Arabic (Belarusian Tatars)
  plosive_g:
    True: H -> G in some words
    False: keep the original text
  assimilation:
    True: add a soft assimilation
    False: keep the original text
  iotation:
    True: I -> Ji/J after vowels
    False: keep the original text
'''

```    

## Links
About Belarusian Latin: [Wikipedia](https://en.wikipedia.org/wiki/Belarusian_Latin_alphabet)      
About Belarusian Arabic: [Wikipedia](https://en.wikipedia.org/wiki/Belarusian_Arabic_alphabet)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/alelisicyna/BelarusianConverter",
    "name": "belarusianconverter",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "files speedfiles spellings spelling Belarusian Belarus convert converter alphabets",
    "author": "alelisicyna",
    "author_email": "alelisicyna@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/82/d2/5584e1ee0d3720708a7defb109ea6c414bc7379ef9aaecee4321ec3cdd81/belarusianconverter-0.0.6.tar.gz",
    "platform": null,
    "description": "# BelarusianConverter\r\nLibrary for convertation Belarusian texts from Cyrillic to other Belarusian alphabets\r\n## Quick Start\r\n```py\r\n$ pip install belarusianconverter\r\n```\r\n## Code Example\r\n```py\r\n# test.py\r\nfrom BelarusianConverter import BelarusianConverter\r\n\r\n\r\n\r\nscript = BelarusianConverter()\r\n\r\n\r\nif __name__ == '__main__':\r\n  text = script.convert(0, '\u0410 \u0445\u0442\u043e \u0442\u0430\u043c \u0456\u0434\u0437\u0435?') # example\r\n  print(text) # Return: \"A chto tam idzie?\"\r\n\r\n'''\r\n  BelarusianConverter.convert(alphabet: int, text: str, plosive_g = False, assimilation = False, iotation = False)\r\n  alphabet:\r\n    0 - LatinMuzyckajaPrauda (K. Kalino\u016dski)\r\n    1 - Latin1929 (B. Tara\u0161kievi\u010d)\r\n    2 - Latin1962 (Ja. Stankievi\u010d)\r\n    3 - LatinUnitedNations\r\n    4 - Romanization2023\r\n    5 - Arabic (Belarusian Tatars)\r\n  plosive_g:\r\n    True: H -> G in some words\r\n    False: keep the original text\r\n  assimilation:\r\n    True: add a soft assimilation\r\n    False: keep the original text\r\n  iotation:\r\n    True: I -> Ji/J after vowels\r\n    False: keep the original text\r\n'''\r\n\r\n```    \r\n\r\n## Links\r\nAbout Belarusian Latin: [Wikipedia](https://en.wikipedia.org/wiki/Belarusian_Latin_alphabet)      \r\nAbout Belarusian Arabic: [Wikipedia](https://en.wikipedia.org/wiki/Belarusian_Arabic_alphabet)\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Library for convertation Belarusian texts from Cyrillic to other Belarusian alphabets",
    "version": "0.0.6",
    "project_urls": {
        "GitHub": "https://github.com/alelisicyna",
        "Homepage": "https://github.com/alelisicyna/BelarusianConverter"
    },
    "split_keywords": [
        "files",
        "speedfiles",
        "spellings",
        "spelling",
        "belarusian",
        "belarus",
        "convert",
        "converter",
        "alphabets"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "56c607016893f9c4655c6cc052ef9b56c9727986df1232bc3988621c4249ea0e",
                "md5": "c65fdf36c7a3508106417d1e908c0a41",
                "sha256": "9111083236bee69c62ae2a97e3c2b625896deefc5aab3055c81fbc94fe6fb7e5"
            },
            "downloads": -1,
            "filename": "belarusianconverter-0.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c65fdf36c7a3508106417d1e908c0a41",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 23687,
            "upload_time": "2024-11-30T19:25:50",
            "upload_time_iso_8601": "2024-11-30T19:25:50.213636Z",
            "url": "https://files.pythonhosted.org/packages/56/c6/07016893f9c4655c6cc052ef9b56c9727986df1232bc3988621c4249ea0e/belarusianconverter-0.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "82d25584e1ee0d3720708a7defb109ea6c414bc7379ef9aaecee4321ec3cdd81",
                "md5": "094cb8d32f8f4a39329737019c8440e4",
                "sha256": "d206c20ac2835760f86e4144a76bb4c1aecbde9225326a7402c3f3b502547b20"
            },
            "downloads": -1,
            "filename": "belarusianconverter-0.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "094cb8d32f8f4a39329737019c8440e4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 17480,
            "upload_time": "2024-11-30T19:25:55",
            "upload_time_iso_8601": "2024-11-30T19:25:55.885499Z",
            "url": "https://files.pythonhosted.org/packages/82/d2/5584e1ee0d3720708a7defb109ea6c414bc7379ef9aaecee4321ec3cdd81/belarusianconverter-0.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-30 19:25:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "alelisicyna",
    "github_project": "BelarusianConverter",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "belarusianconverter"
}
        
Elapsed time: 0.37597s