Skip to main content

Simple Georgian Language ToolKit

Project description

geolang is Simple Georgian Language ToolKit for Python 3

Installation Requirements

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.

Files for geolang, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size geolang-0.2.2-py3-none-any.whl (6.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size geolang-0.2.2.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page