Skip to main content

Special opportunities for the Karakalpak language

Project description

Kaalin

The string methods provided by the Python programming language are primarily tailored for English language usage, which might not seamlessly suit the needs of other languages such as Karakalpak. Consequently, to bridge this gap, you can employ this library to avail a range of functions specifically designed to accommodate the intricacies of the Karakalpak language.

Example

from kaalin import Latin

kaa = Latin('BÁHÁR')

print(kaa.upper())      # BÁHÁR
print(kaa.lower())      # báhár
print(kaa.isupper())    # True
print(kaa.islower())    # False
print(kaa.isalpha())    # True
print(kaa.isdigit())    # False
from kaalin import Number, NumberRangeError

kaa_num = Number()

try:
    print(kaa_num.to_word(533_525))         # bes júz otız úsh mıń bes júz jigirma bes
    print(kaa_num.to_word(894_236_671))     # segiz júz toqsan tórt million eki júz otız altı mıń altı júz jetpis bir
except NumberRangeError as e:
    print("San shegaradan asıp ketti!")
from kaalin.converter import latin2cyrillic, cyrillic2latin


print(latin2cyrillic("Assalawma áleykum"))      # Ассалаўма әлейкум
print(cyrillic2latin("Ассалаўма әлейкум"))      # Assalawma áleykum

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

kaalin-2.2.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

kaalin-2.2.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file kaalin-2.2.0.tar.gz.

File metadata

  • Download URL: kaalin-2.2.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for kaalin-2.2.0.tar.gz
Algorithm Hash digest
SHA256 166ce99264999a45a6d3183c465c82e5eff282afbd54a78bc9ba3201533d082e
MD5 cb92b01f89ad29f9d234739adb32554f
BLAKE2b-256 939d08dc8d6b02a5ab82b4415438e0344b1012a6b0695803497b4c3d8363b90e

See more details on using hashes here.

File details

Details for the file kaalin-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: kaalin-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for kaalin-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0142f33b52112193a480009fa83d4ff0e723bb141fac5cbff667bbc910549b57
MD5 2d95a25eb31d7cf9a5e8c7237fe98e5b
BLAKE2b-256 c444103db4a27ba2683f70ba9f842e7288be6a8bc0063fa7972e2f86c6933a89

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