Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

serbian-text-converter-0.1.5.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

serbian_text_converter-0.1.5-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

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

Hashes for serbian-text-converter-0.1.5.tar.gz
Algorithm Hash digest
SHA256 28143a436c09d8fcd12c703ddbb1412e614f4abf5ad191becd6a2920e034d52f
MD5 3d5d9646255ec37f7fc1d33e397b6edf
BLAKE2b-256 c6b7a151789a10cf2ee439fc1744ddab6e58788adc4a85917f0747520dac33e3

See more details on using hashes here.

File details

Details for the file serbian_text_converter-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for serbian_text_converter-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a850cdc6d44626147b237c163ef3977df88ae2fdd11ad79ae8a2b9c232bc7067
MD5 45625f10f22a66cd80e29ea74d8a68d4
BLAKE2b-256 390d36c62614e6717a38ffd5743723a63d88fd0ad811a855a7fa202b833164c2

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