skillfed

codenamize

Generate consistent easier-to-remember names from strings and numbers

codenamize v1.2.3 101.3K downloads/30d#12,944 on PyPI141
Permissive license MIT Abandoned released

What it is and what it does

Codenamize maps arbitrary strings and numbers to consistent, memorable codenames by hashing the input and combining adjectives with nouns. It solves the problem of presenting hard-to-remember identifiers (UUIDs, hashes, IP addresses, database IDs) to users in a more human-friendly form—the same input always produces the same codename, making it suitable for reference codes, logging, or user-facing display.

The package works as both a Python library and a standalone command-line tool. You control the output format by specifying the number of adjectives, maximum word length, separator character, and capitalization. It includes pre-built word lists and supports configurable hash algorithms. With no runtime dependencies and a pure-Python implementation, it installs quickly and runs anywhere Python is available.

Use it for:

  • Replace database record IDs with memorable names when displaying results to users or in logs
  • Generate human-friendly aliases for network addresses, MAC addresses, or other technical identifiers
  • Create consistent, pronounceable codenames for test fixtures or temporary objects in CI/CD pipelines
  • Build user-facing reference codes for support tickets, orders, or transactions that are easier to communicate verbally
  • Generate mnemonic identifiers for distributed system nodes or container instances for easier monitoring and debugging

Worth the install?

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

Generates consistent, human-readable codenames from strings and numbers by hashing input and mapping to adjective-noun combinations, usable as a Python library or command-line tool.

Yes, if you need human-readable, collision-resistant codenames and can accept an abandoned package. The library is simple, has no dependencies, and the core algorithm is stable. However, verify that the word lists and Python version support meet your needs—the last release was June 2018 and classifiers only claim support through Python 3.4. For new projects, consider whether an actively maintained alternative better fits your risk tolerance.

Install

codenamize on PyPI

pip

pip install codenamize

uv

uv add codenamize

poetry

poetry add codenamize

Installing codenamize

Before you install

Low install friction with no runtime dependencies. Package is abandoned (last commit February 2022, 2976 days since release), though marked Production/Stable and has received 101346 monthly downloads historically.

License in practice

MIT license permits commercial and private use with minimal restrictions; you must retain the license notice in distributions.

Quickstart

pip install codenamize

from codenamize import codenamize
print(codenamize("1"))  # Output: 'familiar-grand'
print(codenamize("11:22:33:44:55:66", 2))  # Output: 'separate-craven-delivery'

Verify before relying

  • Whether the package works reliably on modern Python versions (classifiers list only up to 3.4)
  • Current state of word lists and whether they remain appropriate for production use
  • Whether abandoned status affects long-term stability or introduces security concerns

Package facts

License MIT (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance abandoned — 2,976 days since the last release
Last repo commit
First released
Downloads 101,346/month — #12,944 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: codenamize-1.2.3-py3-none-any.whl

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: POSIXProgramming Language :: PythonProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4

Tags

human readable identifier generationconsistent codename from hashreplace uuid with wordsmemorable name generatoradjective noun codenamestring to readable nameidentifier mnemonic
identifier-generationcli-tool

More Utilities packages