PyLatinize – Unicode Transliteration Library for Python

PyLatinize is a lightweight Python library that converts Unicode text into Latin ASCII using configurable transliteration mappings and Unicode normalization. It simplifies working with international text by replacing accented characters, symbols, emoji, and other Unicode sequences with ASCII equivalents suitable for URLs, filenames, search indexing, legacy systems, and other text-processing workflows.

Key Features

  • Unicode to Latin ASCII transliteration
  • Configurable character mappings
  • Custom transliteration rules
  • Unicode normalization (NFC, NFD, NFKC, NFKD)
  • Emoji and symbol conversion
  • Longest-match replacement algorithm
  • Lightweight with no runtime dependencies
  • BSD 3-Clause License

Typical Applications

  • URL slug generation
  • Filename normalization
  • Search indexing
  • Data migration
  • Import and export pipelines
  • Text preprocessing
  • Legacy software compatibility

Installation

pip install pylatinize

Download Details

Support
Bug Tracker

Stay Ahead of the Curve

Newsletter
Was this helpful - Post