unicode-slugify
A slug generator that turns strings into unicode slugs.
Decision gist · record as of 2026-08-14
Yes, if you need unicode-aware slug generation. The package is lightweight, stable, and carries no security vulnerabilities. Dormant maintenance is not a blocker for a simple, focused tool—the code is unlikely to need updates. Install it when transliteration control and unicode preservation matter; skip it if you only need ASCII slugs or can use a more actively maintained alternative.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with only two lightweight dependencies (six and unidecode).
- Maintenance is dormant—last release was 2021-10-20—but the codebase is stable and shows no active development pressure.
License · maintenance · safety
BSD (permissive) — BSD permissive license imposes no significant restrictions; you may use, modify, and distribute the package freely in commercial or open-source projects.
last release 2021-10-20 (1759 days) · last repo commit 2024-01-27 · 325 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 78,547 downloads/mo, #14,434 on PyPI
Alternatives
Verify before relying
pip install unicode-slugify
from slugify import slugify
slugify(u'Bän...g (bang)')
# u'bäng-bang'
slugify(u'北京 (capital of China)', only_ascii=True)
# u'bei-jing-capital-of-china'- Current compatibility with Python versions beyond 3.3 (classifiers list Python 3.3 but requires_python is unspecified)
- Whether dormant maintenance since 2021-10-20 poses any practical risk for modern Python environments
What it is and what it does
Unicode Slugify generates URL-safe slugs from strings while handling unicode characters intelligently. Unlike simple transliteration libraries, it was built to preserve unicode in slugs when appropriate (e.g., 'Bäng' stays 'bäng') or transliterate to ASCII on demand (e.g., '北京' becomes 'bei-jing'). It offers fine-grained control: you can keep or strip case, replace spaces with custom characters, and whitelist additional allowed characters for formats like snake_case or CamelCase.
The package depends on unidecode for transliteration and six for Python 2/3 compatibility. It installs with low friction as a pure Python wheel. Maintenance is dormant, but the library is simple, stable, and carries no known vulnerabilities. It remains suitable for projects that need slug generation with unicode awareness, particularly web applications handling international content.
Use it for
- Generate URL slugs for blog posts or product names containing accented characters or non-Latin scripts.
- Convert user-provided strings to ASCII-only slugs for systems that require it (e.g., legacy APIs or databases).
- Create snake_case or CamelCase identifiers from natural-language input with unicode support.
- Build URL-friendly identifiers for marketplaces with international content.
- Normalize unicode strings into consistent slug formats for deduplication or routing in web applications.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need unicode-aware slug generation.
The package is lightweight, stable, and carries no security vulnerabilities. Dormant maintenance is not a blocker for a simple, focused tool—the code is unlikely to need updates. Install it when transliteration control and unicode preservation matter; skip it if you only need ASCII slugs or can use a more actively maintained alternative.
Install
unicode-slugify on PyPI
Before you install
Low friction: pure Python wheel with only two lightweight dependencies (six and unidecode). Maintenance is dormant—last release was 2021-10-20—but the codebase is stable and shows no active development pressure.
License in practice
BSD permissive license imposes no significant restrictions; you may use, modify, and distribute the package freely in commercial or open-source projects.
Quickstart
pip install unicode-slugify
from slugify import slugify
slugify(u'Bän...g (bang)')
# u'bäng-bang'
slugify(u'北京 (capital of China)', only_ascii=True)
# u'bei-jing-capital-of-china'
Verify before relying
- Current compatibility with Python versions beyond 3.3 (classifiers list Python 3.3 but requires_python is unspecified)
- Whether dormant maintenance since 2021-10-20 poses any practical risk for modern Python environments
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagessixunidecode |
| Maintenance | Dormant 1,759 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 78,547 / month, #14,434 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: Web EnvironmentEnvironment :: Web Environment :: MozillaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.3Topic :: Software Development :: Libraries :: Python Modules |
Evidence: unicode_slugify-0.1.5-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “unicode slug generator”
- unicode-slugifyConverts strings into URL-friendly slugs while preserving unicode…
- python-slugifyConverts text strings—including unicode, HTML entities, and special…
- slugifyConverts text strings into URL-safe slugs by removing accents,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also python-slugify · python-string-utils · slugify · django-autoslug · clean-text · Unidecode · normality · anyascii · text-unidecode · random-slugs