Utilities · zero-dependency · MIT

larzslug

Slugify with transliteration.

Turn any title into a clean URL/filename-safe slug, correctly transliterating accented and non-ASCII characters, with a helper to guarantee uniqueness against slugs you've used.

larzscript pkg install slugify
View on GitHub →Learn the stack

What you get

Try it

import "slugify" as slugify
print(slugify.slug("What Is Larzscript? A Guide"))
print(slugify.slug("café résumé"))
print(slugify.unique_slug("Hello", ["hello", "hello-2"]))
Output
what-is-larzscript-a-guide
cafe-resume
hello-3

Why it's in the Larz Stack

larzslug is a real Larzscript package (larzscript pkg install slugify) - money-native, zero dependencies, the same language as the rest of the estate, not a separate Python runtime. It composes with the rest of the Larz Stack and the Larz framework.