Skip to main content

Special opportunities for the Karakalpak language

Project description

Kaalin

Using this library, certain operations for the Karakalpak language can be performed very quickly and conveniently.

Example

from kaalin.converter import latin2cyrillic, cyrillic2latin


print(latin2cyrillic("Assalawma áleykum"))      # Ассалаўма әлейкум
print(cyrillic2latin("Ассалаўма әлейкум"))      # Assalawma áleykum
from kaalin.number import to_word, NumberRangeError


try:
  print(to_word(123))                     # bir júz jigirma úsh
  print(to_word(999, num_type="cyr"))     # тоғыз жүз тоқсан тоғыз
  print(to_word(12.75))                   # on eki pútin júzden jetpis bes
except NumberRangeError as e:
  print("San shegaradan asıp ketti!")
from kaalin.string import upper, lower


print(upper("Assalawma áleykum"))     # ASSALAWMA ÁLEYKUM
print(lower("Assalawma áleykum"))     # assalawma áleykum

Command Line Interface (CLI)

$ cyr2lat input.txt [output.txt]
$ lat2cyr input.txt [output.txt]

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-3.3.0.tar.gz (9.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-3.3.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kaalin-3.3.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for kaalin-3.3.0.tar.gz
Algorithm Hash digest
SHA256 1b3befb216480372281aa9552e95e2cfc54af7035ab4190913c6d831cf020517
MD5 ecc6185f4cecdf5b16392aa133775148
BLAKE2b-256 2dfd45a283ab9fc9f7ca250c2bd35e90af8814b25e123a06beca46f2f0d01884

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kaalin-3.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for kaalin-3.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c3def45d62bafaceac4130584e030211fc44682d20820260c854952d97c4a83
MD5 0de04a6036dd3b01c6757b3e41747e89
BLAKE2b-256 385c8c037910842086df2caecff8cda2c776b802e124baf9905d29b6e735f954

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