coolname
Random name and slug generator
What it is and what it does
Coolname is a pure-Python generator that creates random, human-readable names and URL-safe slugs by combining adjectives, animals, and prepositions. It offers both a simple interface (generate_slug() for ready-to-use strings) and a composable one (generate() for raw word lists you can format yourself). The package supports fixed lengths (2, 3, or 4 words) or random lengths, and includes a command-line tool for one-off generation.
The vocabulary is hand-picked to be neutral or positive, with animals as subjects. It has no external dependencies, works on modern Python versions (3.10+), and is fully customizable—you can define your own word lists and generation rules through a configuration dictionary. The BSD-2-Clause license permits commercial use.
Use it for:
- Generate temporary or memorable project names, test identifiers, or deployment environment names in CI/CD pipelines.
- Create user-friendly URL slugs for REST APIs that need readable, collision-resistant identifiers.
- Build random but pronounceable names for temporary resources (containers, databases, log files) in infrastructure automation.
- Generate placeholder or demo data with human-readable names for testing, prototyping, or documentation examples.
- Produce random team or squad names, challenge names, or event identifiers in gaming or collaborative platforms.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Generates random human-readable names and URL-safe slugs with customizable word combinations, supporting fixed or variable-length output.
Yes. Coolname is a lightweight, stable utility with zero dependencies, active maintenance, no known vulnerabilities, and a permissive license. Install it if you need random readable names or slugs for identifiers, URLs, or test data. The only constraint is Python 3.10+.
Install
coolname on PyPI
pip
pip install coolnameuv
uv add coolnamepoetry
poetry add coolnameInstalling coolname
Before you install
Low friction: pure Python with no runtime dependencies, distributed as a wheel. Active maintenance with recent commits and a stable release history since 2015.
License in practice
BSD-2-Clause is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install coolname
from coolname import generate_slug, generate
# Generate a slug
print(generate_slug())
# Output: 'tiny-optimal-crocodile-of-progress'
# Generate a name as a list
print(generate())
# Output: ['beneficial', 'bronze', 'bee', 'of', 'glee']
Requires Python 3.10 or later.
Verify before relying
- Whether the vocabulary is truly hand-picked and how frequently it is updated.
- Performance characteristics when generating names at scale or in high-concurrency scenarios.
- Whether Django integration is automatic or requires additional configuration.
- The actual number of possible name combinations across different word lengths.
Package facts
| License | BSD-2-Clause (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 113 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 8,858,402/month — #1,586 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: coolname-5.0.0-py3-none-any.whl
Keywords: random, name, string, identifier, slug, animal
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
friendlywordsGenerates random human-readable strings from…
permissive · top 15,000 on PyPI
petnameGenerates random, pronounceable names by…
permissive · top 15,000 on PyPI
random-slugsGenerates random word-based slugs with…
unclear · top 15,000 on PyPI
codenamizeGenerates consistent, human-readable codenames…
permissive · top 15,000 on PyPI
unicode-slugifyConverts strings into URL-friendly slugs while…
permissive · top 15,000 on PyPI
wonderwordsGenerates random English words and sentences…
permissive · top 15,000 on PyPI
slugifyConverts text strings into URL-safe slugs by…
unclear · top 15,000 on PyPI
xkcdpassGenerates strong, memorable passphrases by…
permissive · top 15,000 on PyPI
loremGenerates random placeholder text that…
permissive · top 15,000 on PyPI
python-slugifyConverts text strings—including unicode, HTML…
permissive · top 1,000 on PyPI