This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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
$ pip install -r requirements.txt

To install the source geolang package:

$ git clone https://github.com/Lh4cKg/simple-geolang-toolkit "geolang"
$ cd geolang
$ sudo python setup.py install # if you do not have a default Python 3, then use the python3 install instead of python install
$ pip install -r requirements.txt

Usage

To use geolang, just import it in your project like so:

>>> import geolang as _ka

You can convert the Latin words in Georgian

>>> latin_to_ka = _ka._2KA
>>> _text_2ka = "i love you python and django"
>>> latin_to_ka(_text_2ka)
ი ლოვე  ყოუ  პყტჰონ  ანდ  დჯანგო

You can convert the Georgian words in Latin

>>> ka_to_latin = _ka._2LAT
>>> _text_2lat = "მე მიყვარს ანი"
>>> ka_to_latin(_text_2lat)
me miyvars ani
>>> encode_slugify = _ka.encode_slugify
>>> _try_encode_slugify = "ი ლოვე ყოუ პყტჰონ ანდ დჯანგო"
>>> encode_slugify(_try_encode_slugify)
b'i-love-you-python-and-django'
>>> encode_slugify(_try_encode_slugify, _slugify=False)
b'i love you python and django'
>>> _try_encode_slugify_1 = "é\jcàé\jcàétéétéé\jéé\jcàété\jcàétécàété"
>>> encode_slugify(_try_encode_slugify_1)
b'ejcaejcaeteeteejeejcaetejcaetecaete'
See more examples 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.

Release History

Release History

This version
History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
geolang-0.1.4.tar.gz (7.2 kB) Copy SHA256 Checksum SHA256 Source May 22, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting