dimka665

awesome-slugify: Create Configurable Slugs from Text

A Python library for turning text into configurable, readable slugs for URLs, filenames, and other identifiers. It supports transliteration, Unicode-preserving output, custom replacements, and unique slug generation.

View on GitHub Compare
Stars
490
Forks
42
Stars, last 30 days
+1
Last commit
6.5 years ago
Contributors
8

Our take

Inactiveno commits in over a year

Health score

23/100

How it is scored
Activity
19
Community
33
Issues
21
Pull requests
20

+1 stars in the last 30 days

This is a focused, configurable Python utility, but its long inactivity and highly concentrated contributor activity make it a higher-maintenance adoption today.

Good fit if

  • Your application needs the specific slugging and transliteration options documented here.
  • You can evaluate and maintain the dependency yourself, given that the project is inactive and most contributions come from one person.
  • Python is already part of your runtime environment.

Look elsewhere if

  • You need a project with recent commits, releases, or demonstrated recent issue and pull-request handling.
  • Your project requires a clearly stated license, since the provided repository data does not identify one.
  • You need a slugging library for a runtime other than Python.
All health signals
Last commit2020-04-17 (6.5 years ago)
Commits, last 90 days0
Releases, last 12 months0 (latest v1.4, 2014-04-08)
Contributors8 (top contributor: 84% of commits)
Issues closed, last 90 days0
Pull requests merged, last 90 days0
Project age12 years

Checked on 2026-10-10 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

491

Forks

42

Change since Nov 16, 2026: 0 stars·0 forks

Overview

awesome-slugify is a Python library that converts text into slugs by sanitizing characters and, by default, translating non-ASCII text. It addresses the common need to create readable identifiers from titles or other user-provided text, with controls for output format and length.

It suits Python applications that need slug generation as a small, configurable component. The project also provides specialized configurations for URL and filename use, plus a mode that keeps Unicode characters.

Key Features

  • Convert text into slugs with a configurable separator, lowercase setting, capitalization, and maximum length.
  • Transliterate text using the default translation or select Unicode-preserving output.
  • Apply custom replacements before translation, including language-specific mappings for Cyrillic, German, and Greek.
  • Remove configured stop words and allow additional safe characters.
  • Create unique slugs by adding a suffix when a value has already been used.
  • Supply a custom uniqueness checker, such as one that checks an application database.
  • Configure slug generation for URLs and filenames.

Use Cases

  • Python web developers can turn page titles into readable URL segments and set a maximum slug length.
  • Applications handling multilingual text can choose transliteration, language-specific mappings, or Unicode-preserving output.
  • File-processing tools can generate filename-friendly slugs with underscores and selected safe characters.
  • Systems that need distinct identifiers can use UniqueSlugify and connect its checker to their own storage.

What you need

Detected in the repository

  • Python (from setup.py)

Getting Started

Install from PyPI:

pip install awesome-slugify

See the README for configuration options and examples.

License in Plain Words

No standard license was detected. Without a license, the default copyright rules apply: you may read the code, but not reuse it. Check the repository or ask the authors.

Alternatives

  • python-slugify: python-slugify offers similar slug generation with transliteration and Unicode-retention options, but its rules and backend choices differ.
ProjectLanguageLicenseStarsStatus
awesome-slugifyPython–490Inactive
python-slugifyPythonMIT1.6kActive

Considerations

The repository is marked inactive: it has had no commits in over a year, no recent releases, and no recent issue closures or pull requests merged. Its latest listed release is old, and contributor activity is concentrated heavily in one person, so do not assume maintenance or compatibility updates will arrive. Python is the only runtime identified in the project data. No license is listed in the provided repository information, so verify the license and terms before adopting it.

Found this useful?

Share it with someone who would like awesome-slugify.

Comparisons