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.

Source Distribution

codename-1.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page