Simple Georgian Language ToolKit
Project description
geolang is Simple Georgian Language ToolKit for Python 3
Installation Requirements
Python >= 3.6
To install the source, download it from https://github.com/Lh4cKg/simple-geolang-toolkit and do python setup.py install.
A simple way to install geolang package:
$ pip install geolang
To install the source geolang package:
$ git clone https://github.com/Lh4cKg/simple-geolang-toolkit "geolang" $ cd geolang $ python3 setup.py build $ python3 setup.py install
Usage
To use geolang, just import it in your project like so:
>>> from geolang import encode_slugify, encode_text
You can convert the Latin words in Georgian
>>> txt = "i love you python and django" >>> encode_text(txt) 'ი ლოვე yოუ ფyტჰონ ანდ დჯანგო'
You can convert the Georgian words in Latin
>>> txt = "მე მიყვარს ანი" >>> encode_text(txt) 'me miqvars ani'
>>> txt = "ი ლოვე ყოუ პყტჰონ ანდ დჯანგო" >>> encode_slugify(txt) 'ი-ლოვე-ყოუ-პყტჰონ-ანდ-დჯანგო' >>> encode_slugify(txt) 'i-love-qou-pqthon-and-django' >>> txt = "é\jcàé\jcàétéétéé\jéé\jcàété\jcàétécàété" >>> encode_slugify(_try_encode_slugify_1) 'éjcàéjcàétéétééjééjcàétéjcàétécàété'
See more tests in this project.
Source Code
The source code can be found on github.
Contributing
There are plenty of ways to contribute to this project. If you think you’ve found a bug please submit an issue.
License
geolang is distributed under MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file geolang-0.2.2.tar.gz
.
File metadata
- Download URL: geolang-0.2.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 801f19fc0791e8078eb5b57ee02d9067c57f26bca5eebc822e63d86e1f5677fa |
|
MD5 | 9c37dd4630e4d6eaa799c2f8ae089b17 |
|
BLAKE2b-256 | 3619c548663b667ab10feda9b97cdd6933330cb99f927ceb1f4f45e7900f9916 |
File details
Details for the file geolang-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: geolang-0.2.2-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38702e8414226d3d6453ee78f6203a493f4e65e44e3b654e0b4e6b326c7096ff |
|
MD5 | 71407e21f27c5b8e79c7b307acf3518e |
|
BLAKE2b-256 | 4d7a9f63cc6b504b7a658c9448050fc24eb08e62253f007a4fe149c9ee92c377 |