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 details)

Uploaded Source

File details

Details for the file codename-1.1.tar.gz.

File metadata

  • Download URL: codename-1.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for codename-1.1.tar.gz
Algorithm Hash digest
SHA256 863780fa47521baa19087015d408b19dac4e93c6eaac4b1cc59a7ea728ea15fd
MD5 4de2f3229a9321c70dfb290781c2261e
BLAKE2b-256 c844682d39480678b0d3a07c7c7c08e5c102e4807938ed9d126a77e21be00afd

See more details on using hashes here.

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