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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kaalin-2.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 92f3016920a3bf0d084c4338b8085c117f5c5ef4970606058ae4519c9744884b
MD5 adf0bdf7fa51e4289cee87d7637c4c18
BLAKE2b-256 5a93a51bf66f88fa35341030c153e43ef0f89aeae3741637b0e37cce20778e2a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kaalin-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 717a0f0cb7b5e9262b1e51a1ce8a216f7957d5ea3ba27f11b41e4c9eef5fc93c
MD5 2ed5edc0bc71ca41f847e61d4d742a8b
BLAKE2b-256 9f2b710ff23a5553a5b107a1f9a2c27dc3c5338edcb8312f465b16eec76369fb

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