Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/turdibekjumabaev/kaalin
https://github.com/turdibekjumabaev/kaalin
karakalpak language library python3
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/turdibekjumabaev/kaalin
- Owner: turdibekjumabaev
- License: mit
- Created: 2024-03-09T12:31:41.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-31T11:32:32.000Z (10 months ago)
- Last Synced: 2024-11-18T07:36:44.513Z (2 months ago)
- Topics: karakalpak, language, library, python3
- Language: Python
- Homepage: https://pypi.org/project/kaalin/
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```python
from kaalin import Latinkaa = 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
```
```python
from kaalin import Number, NumberRangeErrorkaa_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!")
```
Kaalin is an open-source project, welcoming contributions and suggestions from anyone interested. Whether you're a seasoned developer or a newcomer, your input can help improve and expand the project's capabilities. Feel free to join the community, contribute code, suggest enhancements, or provide feedback to make Kaalin even better. Together, we can make a difference in empowering users with powerful tools and resources.
[Contribute to the project](https://github.com/turdibekjumabaev/kaalin)