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.utils 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.1.0.tar.gz (6.9 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.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kaalin-2.1.0.tar.gz
Algorithm Hash digest
SHA256 4f37f9ebb344441722f5d0a1f5c46ea84865f2d91ccfced31ee105380e9cd118
MD5 048f133c8aced4c00f715014946028b8
BLAKE2b-256 a5f4e47a08d1b8a0243fe50e76164b73626eaa281eb1b43ad4be072cb7c3b192

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for kaalin-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1103529ee6718663d2476bedb22a2542862b21c160433493222da3952fbf5492
MD5 a35e4feb6bb202d6d9919673a57af82d
BLAKE2b-256 3ab0ee7b6085f49b82b334d65107be2e4ea3a64e1b86b6417c185813116ed620

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