usage: slugify [-h] [--stdin] [--no-entities] [--no-decimal] [--no-hexadecimal] [--max-length MAX_LENGTH] [--word-boundary] [--save-order] [--separator SEPARATOR] [--stopwords STOPWORDS [STOPWORDS ...]] [--regex-pattern REGEX_PATTERN] [--no-lowercase] [--replacements REPLACEMENTS [REPLACEMENTS ...]] [--allow-unicode] [--algorithm {legacy,modern}] [--backend {auto,text-unidecode,unidecode,anyascii}] [--replacement-stage {both,pre,post}] [input_string ...] Slug string options: -h, --help show this help message and exit --no-entities Do not convert HTML entities to unicode --no-decimal Do not convert HTML decimal to unicode --no-hexadecimal Do not convert HTML hexadecimal to unicode --max-length MAX_LENGTH Output string length, 0 for no limit --word-boundary Truncate to complete word even if length ends up shorter than --max_length --save-order When set and --max_length > 0 return whole words in the initial order --separator SEPARATOR Separator between words. By default - --stopwords STOPWORDS [STOPWORDS ...] Words to discount --regex-pattern REGEX_PATTERN Python regex pattern for disallowed characters --no-lowercase Activate case sensitivity --replacements REPLACEMENTS [REPLACEMENTS ...] Additional replacement rules e.g. "|->or", "%->percent". --allow-unicode Allow unicode characters --algorithm {legacy,modern} Slug algorithm (legacy default; modern explicitly opts into changed output) --backend {auto,text-unidecode,unidecode,anyascii} Transliteration backend (auto preserves legacy preference) --replacement-stage {both,pre,post} Apply replacement rules before, after, or both sides of cleanup Input input_string Text to slugify --stdin Take the text from STDIN