Skip to content

Instantly share code, notes, and snippets.

@AnthonyBriggs
Last active November 3, 2024 23:48
Show Gist options
  • Save AnthonyBriggs/66e2e15d65bac973be35783c9a843593 to your computer and use it in GitHub Desktop.
Save AnthonyBriggs/66e2e15d65bac973be35783c9a843593 to your computer and use it in GitHub Desktop.
Project codename generator
#!/usr/bin/env python3
"""
Project naming scheme (roughly; funny trumps the rules):
<weird/funny animal> + <word which should be rude but isn't>
Useful if management / fellow developers are taking themselves too seriously."""
import random
directive = """ENGAGE COMMENCE EXECUTE DEPLOY BEGIN ACTIVATE INITIATE SECURE UNDERTAKE LAUNCH """.split()
directive.append('PROCEED WITH')
thing = """PROJECT OPERATION PLAN PROGRAM DIRECTIVE ASSIGNMENT
OBJECTIVE INCIDENT SCENARIO PROTOCOL PHASE INITIATIVE CAMPAIGN""".split()
animals = """
BADGER BEAVER FERRET WEASEL POSSUM SQUID PLATYPUS GOOSE DONKEY AARDVARK
ROOSTER MANATEE GIRAFFE HONEYBADGER DINGO HIPPO LOBSTER CRAB
LLAMA SQUIRREL TURKEY MONKEY LEMUR IGUANA LEMMING BABOON
ZEBRA OCELOT MARMOT BUDGIE SHRIMP""".split()
random.shuffle(animals)
# not quite funny enough? CATFISH TOUCAN COW SEAHORSE
#print(animals)
words = """
CREVICE NIBLICK CROUTON TITBIT DINGHY CUMQUAT DONGLE ARSON
DITTY MANHOLE FLANGE SHUNT SPATULA NUGGET LINGUIST FRACAS
GHERKIN DICTUM TRUMPET DISCO FIRKIN FURPHY BINGO BRICOLAGE
SCHISM TROUBADOUR PICCOLO COWBOY BEBOP NOODLE WRANGLE FANDANGO
IMBROGLIO KLAXON HOEDOWN VORTEX CONTEXT CUSTARD GRAVITAS
NUDGE WINK FLAP SCRUPLE WHISKEY""".split()
random.shuffle(words)
# not quite funny enough? SERVICE VERANDAH CREDENZA RISSOLE ORATORY SQUINT
# quite funny WADDLE SAUSAGE
# bit too rude COCKPIT BULGE
#print(words)
for i in range(15):
print(random.choice(directive), random.choice(thing), animals[i], words[i])
"""
good ones so far:
OPERATION BADGER CREVICE PROJECT LOBSTER DISCO
OPERATION LEMUR TRUMPET OPERATION BEAVER GHERKIN
OPERATION MONKEY DITTY PROJECT IGUANA NUGGET
PROJECT SQUIRREL ARSON OPERATION LLAMA LINGUIST
OPERATION WEASEL CROUTON PROJECT TURKEY FRACAS
OPERATION ROOSTER SPATULA OPERATION DINGO NIBLICK
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment