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.2.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.2-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for latinuzconverter-1.0.2.tar.gz
Algorithm Hash digest
SHA256 ab110a70ffa2dd341272c7b6508a20f7cedc2fe860249603eead0f86ada0afb9
MD5 a6d0ec5557bddb84bc2ada3ced432519
BLAKE2b-256 7bdbe0a43f0d045d2eeca616e1bbb5692c3fcd8281ef56e7621d6fccce29460d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for latinuzconverter-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4ff703e74aaac2b85500e08ce9bddafb14d089e7fd35dca7f7534ed7910a8d55
MD5 5693228896b13a6b55e2ea8b2d9ace28
BLAKE2b-256 a0020a50e8768901fba4275c14eae2e92ac47912b5e24827d59c9cf6c46c38ab

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