skillfed

slugify

A generic slugifier.

slugify v0.0.1 211.8K downloads/30d#9,473 on PyPI29
License unclear UNKNOWN Abandoned released

What it is and what it does

Slugify is a text-to-slug converter inspired by Django's slugify template filter, packaged as a standalone library. It transforms strings by removing accents, converting to lowercase, and replacing spaces with hyphens, producing URL-safe identifiers. The package offers both a Python API and a command-line interface for the same operation.

The core slugifying logic is derived from Django and carries a BSD license, while the packaging layer is released to the public domain. However, the package has received no maintenance since its initial release on 2010-12-07, with no updates across 5729 days. It has no declared runtime dependencies, making installation straightforward, but the lack of maintenance raises questions about compatibility with modern Python versions and whether edge cases in Unicode handling have been addressed.

Use it for:

  • Generate URL-friendly slugs from user-provided titles or names in web applications
  • Convert text with accents and special characters into ASCII-safe identifiers for database keys
  • Batch-process strings from the command line to create consistent slug formats
  • Transform multilingual text into uniform, URL-safe representations for routing or file naming

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Converts text strings into URL-safe slugs by removing accents, converting to lowercase, and replacing spaces with hyphens, available as both a Python library and command-line tool.

No. The package is abandoned (last release 2010-12-07, no updates in 5729 days), has unclear mixed licensing (public domain + BSD), and provides no Python version guarantees. For slug generation, use a maintained alternative or a modern framework's built-in utilities instead.

Install

slugify on PyPI

pip

pip install slugify

uv

uv add slugify

poetry

poetry add slugify

Installing slugify

Before you install

Installation friction is high; the package has been abandoned since its only release on 2010-12-07, with no updates in over 5729 days. The repository exists but is unmaintained, and the single source artifact suggests minimal ongoing support.

License in practice

License treatment is unclear: the package combines public domain code (via The Unlicense) with BSD-licensed material derived from Django. Users should review both license texts in the description before use, as the mixed licensing may affect downstream obligations.

Quickstart

pip install slugify

import slugify
result = slugify.slugify(u"Héllø Wörld")
print(result)  # u"hello-world"

# Or from command line:
# echo "Héllø Wörld" | slugify

Verify before relying

  • Whether the package works correctly with modern Python versions (requires_python is unspecified)
  • Whether Unicode handling remains reliable across current Python releases
  • Whether there are known issues or edge cases in the abandoned codebase

Package facts

License UNKNOWN (unclear)
Python support not specified
Install friction high — source build required
Runtime dependencies none
Maintenance abandoned — 5,729 days since the last release
Last repo commit
First released
Downloads 211,790/month — #9,473 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: slugify-0.0.1.tar.gz

Tags

url slug generatortext to slug converterdjango slugifyurl-safe string formattingaccent removal textcommand line slug toolunicode to ascii slug
text-processingurl-generationabandoned

More Text Processing packages