Skip to main content

Codename generator. Credits to "projectcodename.com".

Project description

Codename

A codename generator inspired by projectcodename.com

Installation

$ pip install codename

Usage

Command-line usage:

$ codename
killer unicorn

# Capitalize
$ codename -c
Unexpected Dragon

# Uppercase
$ codename -u
STALKING BATTERY

# Custom separator
$ codename -s _
exploding_crab

# Deterministic codenames
$ codename -i 1.2.3+foo
diamond guitar
$ codename -i 1.2.3+foo
diamond guitar

$ codename -h
usage: codename.py [-h] [-c] [-u] [-s SEPARATOR]

optional arguments:
  -h, --help            show this help message and exit
  -c, --capitalize      Capitalize words.
  -u, --uppercase       Upper-case each word.
  -s SEPARATOR, --separator SEPARATOR
                        String to use to join words. Defaults to whitespace.
  -i ID, --id ID        String to use as random seed for deterministic
                        codenames.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for codename, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size codename-1.1.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page