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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page