Skip to content

Instantly share code, notes, and snippets.

@Eising
Created March 10, 2020 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Eising/052698315ee75bd831c7777babdd8e30 to your computer and use it in GitHub Desktop.
Save Eising/052698315ee75bd831c7777babdd8e30 to your computer and use it in GitHub Desktop.
Generate random bogus company names
def generate_company_name(self):
""" Try poorly to generate a unique company name """
colors = [
"Black",
"White",
"Red",
"Yellow",
"Magenta",
"Purple",
"Green",
"Blue",
"Brown",
"Large",
"Virtual",
"Hyper",
"Megacorp",
"Evil",
]
areas = [
"Production",
"Industries",
"Technology",
"Consulting",
"Medical",
"Services",
"Systems"
]
thing = [
"Hill",
"Stone",
"Arrow",
"Roads",
"Clouds",
"Forks",
"Islands",
"Lands",
"Atoms",
]
forms = [
"Inc.",
"Ltd",
"Co",
"Corp"
]
name = "{} {} {} {}".format(
random.choice(colors),
random.choice(thing),
random.choice(areas),
random.choice(forms)
)
return name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment