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.

Source Distribution

geolang-0.2.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

geolang-0.2.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

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

Hashes for geolang-0.2.2.tar.gz
Algorithm Hash digest
SHA256 801f19fc0791e8078eb5b57ee02d9067c57f26bca5eebc822e63d86e1f5677fa
MD5 9c37dd4630e4d6eaa799c2f8ae089b17
BLAKE2b-256 3619c548663b667ab10feda9b97cdd6933330cb99f927ceb1f4f45e7900f9916

See more details on using hashes here.

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

Hashes for geolang-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 38702e8414226d3d6453ee78f6203a493f4e65e44e3b654e0b4e6b326c7096ff
MD5 71407e21f27c5b8e79c7b307acf3518e
BLAKE2b-256 4d7a9f63cc6b504b7a658c9448050fc24eb08e62253f007a4fe149c9ee92c377

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page