Skip to main content

A simple package to convert latin text to cyrillic and vice versa.

Project description

LatinUzConverter - Latin to Uzbek and Uzbek to Latin converter

Description

This is a simple Latin to Uzbek and Uzbek to Latin converter. It is written in Python and uses a dictionary to convert the text.

Installation

pip install latinuzconverter

Usage

from latinUzConverter.core import LatinUzConverter

converter = LatinUzConverter()

#Transliterate cyrillic text to latin (transliterate method)
text = "Салом, дунё!"
print(converter.transliterate(text, "latin"))

#Transliterate latin text to cyrillic (transliterate method)
text = "Salom, dunyo!"
print(converter.transliterate(text, "cyrillic"))

#Output:
# Salom, dunyo!
# Салом, дунё!

License

MIT

The MIT License (MIT)

Copyright (c) <year> <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Author

DavronbekDev

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

latinuzconverter-1.0.0.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

latinuzconverter-1.0.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file latinuzconverter-1.0.0.tar.gz.

File metadata

  • Download URL: latinuzconverter-1.0.0.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.6

File hashes

Hashes for latinuzconverter-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a1cc0b12dd2644db9b7316caabafd634876202484b3f8fdd0a73890a5754f27a
MD5 c4266434488b312a0f76dd78a18552ab
BLAKE2b-256 070bf58ddb0270b410fae58704546ddc843cf483d6bfca156b1b1c55b59e277d

See more details on using hashes here.

File details

Details for the file latinuzconverter-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for latinuzconverter-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35af650650f0808eb1f9a57ea626fcb411931746db1ee1b9a24712cd796ef685
MD5 5aa90ba5d10e471acb2812db657b7f9b
BLAKE2b-256 e18bbd722b0a535b3586b7ed2f4b2f05fef69d7ed0a19d7665322ba1c20ca4d8

See more details on using hashes here.

Supported by

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