Metadata-Version: 2.4
Name: sluglingual
Version: 1.0.0
Summary: Multilingual ASCII-safe string normalizer with locale-aware transliteration.
Author-email: "Fabian Besekow (bskw-dev)" <bskw-dev+pypi@gmail.com>
Project-URL: Homepage, https://github.com/bskw-dev/sluglingual
Project-URL: Source, https://github.com/bskw-dev/sluglingual
Project-URL: Issues, https://github.com/bskw-dev/sluglingual/issues
Keywords: normalization,transliteration,unicode,ascii,locale,slugify
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Text Processing :: Linguistic
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Dynamic: license-file

# sluglingual

`sluglingual` is a multilingual ASCII-safe string normalizer with full locale-aware transliteration.

It supports 20+ languages, including German, French, Spanish, Portuguese, Italian, Dutch, Swedish, Danish, Norwegian, Polish, Czech, Slovak, Hungarian, Romanian, Croatian/Bosnian/Serbian, Albanian, Icelandic, and Maltese.

## Features

- Locale-aware transliteration
- Global fallback transliteration
- Unicode NFKD accent stripping
- Safe ASCII output
- Underscore sanitization
- Uppercase-sensitive mapping
- Special handling for German ß

## License

`sluglingual` is licensed under the MIT License.

## Installation

```bash
pip install sluglingual
```

## Usage

from sluglingual import sluglingual

print(sluglingual("Hallöchen Welt!", lang="de"))
# halloechen_welt

print(sluglingual("cœur de la ville", lang="fr"))
# coeur_de_la_ville

print(sluglingual("Hellœ Wörld"))
# helloe_world
