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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f37f9ebb344441722f5d0a1f5c46ea84865f2d91ccfced31ee105380e9cd118
|
|
| MD5 |
048f133c8aced4c00f715014946028b8
|
|
| BLAKE2b-256 |
a5f4e47a08d1b8a0243fe50e76164b73626eaa281eb1b43ad4be072cb7c3b192
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1103529ee6718663d2476bedb22a2542862b21c160433493222da3952fbf5492
|
|
| MD5 |
a35e4feb6bb202d6d9919673a57af82d
|
|
| BLAKE2b-256 |
3ab0ee7b6085f49b82b334d65107be2e4ea3a64e1b86b6417c185813116ed620
|