friendlywords
Python package to generate random human-readable strings, e.g. project and experiment names
What it is and what it does
friendlywords is a lightweight Python library that generates random, human-readable strings by combining words from four predefined categories: predicates, objects, teams, and collections. It loads word lists (~41KB) once at import and offers a simple API to generate names by count, grammar pattern, or custom separator. The package has no runtime dependencies and is fully typed.
It's designed for naming projects, experiments, or temporary identifiers where readability matters more than cryptographic uniqueness. You can control randomness by passing your own random.Random instance for reproducibility, or return results as lists instead of strings. The author acknowledges it as a weekend side project and notes that generated names are readable, not unguessable—unsuitable as secrets or unique identifiers.
Use it for:
- Generate readable project or experiment names for logs, dashboards, or user-facing labels.
- Create temporary identifiers for test runs or CI/CD pipeline stages that are easy to reference verbally.
- Build random team or collection names for gaming, simulation, or organizational tools.
- Seed reproducible name generation in tests by passing a seeded random.Random instance.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Generates random human-readable strings from predefined word lists for naming projects, experiments, or other identifiers.
Yes, if you need simple, readable random names with no dependencies and don't require uniqueness guarantees or custom dictionaries. The low friction, active maintenance, and MIT license make it straightforward to adopt. No if you need collision avoidance, cryptographic strength, or extensive customization.
Install
friendlywords on PyPI
pip
pip install friendlywordsuv
uv add friendlywordspoetry
poetry add friendlywordsInstalling friendlywords
Before you install
Low install friction with no runtime dependencies. Active maintenance as of 2026-08-02, marked Production/Stable, and supports current Python versions.
License in practice
MIT license permits commercial and private use with minimal restrictions; attribution required but no copyleft obligations.
Quickstart
pip install friendlywords
import friendlywords as fw
fw.generate(1)
# 'square'
fw.generate('po', separator='-')
# 'better-tabletop'
fw.generate('po', rng=__import__('random').Random(42))
# 'tidal cardboard'
Requires Python 3.9 or later.
Verify before relying
- Whether word lists can be extended or replaced with custom dictionaries beyond the four built-in categories.
- Performance characteristics when generating large batches of names or with very long grammar patterns.
- Collision probability or uniqueness guarantees across repeated generations.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 12 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 75,980/month — #14,662 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: friendlywords-1.3.0-py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
coolnameGenerates random human-readable names and…
permissive · top 5,000 on PyPI
petnameGenerates random, pronounceable names by…
permissive · top 15,000 on PyPI
unique-namerGenerates unique, human-readable names and…
permissive · top 15,000 on PyPI
wonderwordsGenerates random English words and sentences…
permissive · top 15,000 on PyPI
english-wordsProvides curated sets of English words from…
permissive · top 15,000 on PyPI
random-slugsGenerates random word-based slugs with…
unclear · top 15,000 on PyPI
randomnameGenerates random memorable identifiers by…
permissive · top 5,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
pytest-rngProvides pytest fixtures that make random…
permissive · top 15,000 on PyPI