663 B
663 B
title, summary, date_added, date_updated, keywords, files
| title | summary | date_added | date_updated | keywords | files | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A Readable Slug | Turn a short title into a lowercase ASCII slug, keeping word boundaries and dropping punctuation. | 2026-11-02 | 2026-11-03 | python, text, utilities, web |
|
A small Python helper for filenames and draft URLs. For example,
slugify("Café by the River!") produces cafe-by-the-river.
This is deliberately a narrow tool: it transliterates to ASCII and does not make duplicate titles unique. Keep the original title beside the slug if it needs to be displayed later.