-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate-codename
More file actions
executable file
·64 lines (58 loc) · 2.78 KB
/
create-codename
File metadata and controls
executable file
·64 lines (58 loc) · 2.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!env python3
import random
import argparse
# Python adaptation of https://github.com/zachwlewis/projectcodename
# Generate a CIA like project codename
attributes = [
# Environ
"desert", "tundra", "mountain", "space", "field", "urban",
# Stealth and cunning
"hidden", "covert", "uncanny", "scheming", "decisive", "untouchable", "stalking",
# Volitility
"rowdy", "dangerous", "explosive", "threatening", "warring", "deadly", "killer", "insane", "wild",
# Needs correction
"bad", "unnecessary", "unknown", "unexpected", "waning",
# Organic Gems and materials
"amber", "bone", "coral", "ivory", "jet", "nacre", "pearl", "obsidian", "glass",
# Regular Gems
"agate", "beryl", "diamond", "opal", "ruby", "onyx", "sapphire", "emerald", "jade",
# Colors
"red", "orange", "yellow", "green", "blue", "violet",
# Unsorted
"draconic", "wireless", "spinning", "falling", "orbiting", "hunting", "chasing", "searching", "revealing", "flying", "destroyed", "inconceivable", "tarnished"
]
objects = [
# Large cats
"panther", "wildcat", "tiger", "lion", "cheetah", "cougar", "leopard",
# Snakes
"viper", "cottonmouth", "python", "boa", "sidewinder", "cobra",
# Other predators
"grizzly", "jackal", "falcon",
# Prey
"wildebeest", "gazelle", "zebra", "elk", "moose", "deer", "stag", "pony", "koala", "sloth",
# HORSES!
"horse", "stallion", "foal", "colt", "mare", "yearling", "filly", "gelding",
# Mythical creatures
"mermaid", "unicorn", "fairy", "troll", "yeti", "pegasus", "griffin", "dragon",
# Occupations
"nomad", "wizard", "cleric", "pilot", "captain", "commander", "general", "major", "admiral", "chef", "inspector",
# Technology
"mainframe", "device", "motherboard", "network", "transistor", "packet", "robot", "android", "cyborg", "display", "battery", "memory", "disk", "cartridge", "tape", "camera", "projector",
# Sea life
"octopus", "lobster", "crab", "barnacle", "hammerhead", "orca", "piranha",
# Weather
"storm", "thunder", "lightning", "rain", "hail", "sun", "drought", "snow", "drizzle",
# Musical
"piano", "keyboard", "guitar", "trumpet", "trombone", "flute", "cornet", "horn", "tuba", "clarinet", "saxophone", "piccolo", "violin", "harp", "cello", "drum", "organ", "banjo", "rhythm", "beat", "sound", "song",
# Tools
"screwdiver", "sander", "lathe", "mill", "welder", "mask", "hammer", "drill", "compressor", "wrench", "mixer", "router", "vacuum",
# Other
"warning", "presence", "weapon", "player", "ink", "case", "cup", "chain", "door"
]
parser = argparse.ArgumentParser(description="Creates a CIA like project codename")
parser.add_argument("-n", dest="amount", default="1", help="How many codenames should be generated", type=int)
args = parser.parse_args()
for i in range(args.amount):
first = random.choice(attributes).upper()
last = random.choice(objects).upper()
print(f"{first} {last}")