A utility package for converting Serbian text between Cyrillic and Latin scripts, and generating slugs.
Project description
Serbian Text Converter
A Python utility for converting Serbian text between Cyrillic and Latin scripts, and generating URL-friendly slugs.
Installation
pip install serbian-text-converter
Usage
from serbian_text_converter import SerbianTextConverter
Convert to Latin
print(SerbianTextConverter.to_latin("Љубав")) # Output: Ljubav
Convert to Cyrillic
print(SerbianTextConverter.to_cyrillic("Ljubav")) # Output: Љубав
Normalize for URLs
print(SerbianTextConverter.normalize("Љубав и Живот")) # Output: ljubav-i-zivot
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 serbian-text-converter-0.1.5.tar.gz.
File metadata
- Download URL: serbian-text-converter-0.1.5.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28143a436c09d8fcd12c703ddbb1412e614f4abf5ad191becd6a2920e034d52f
|
|
| MD5 |
3d5d9646255ec37f7fc1d33e397b6edf
|
|
| BLAKE2b-256 |
c6b7a151789a10cf2ee439fc1744ddab6e58788adc4a85917f0747520dac33e3
|
File details
Details for the file serbian_text_converter-0.1.5-py3-none-any.whl.
File metadata
- Download URL: serbian_text_converter-0.1.5-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a850cdc6d44626147b237c163ef3977df88ae2fdd11ad79ae8a2b9c232bc7067
|
|
| MD5 |
45625f10f22a66cd80e29ea74d8a68d4
|
|
| BLAKE2b-256 |
390d36c62614e6717a38ffd5743723a63d88fd0ad811a855a7fa202b833164c2
|