/drug_names

Generate random medication names

Primary LanguagePython

Are you suffering from overexerted spleen? Ask your doctor if Sanilidolochol® is right for you!

Drug Names

Python program to generate pharmaceutical advertisements for fictional drugs

Drug names based on a Markov chain fed by this list of drug names

to use:

set up your virtualenv with Python 3

$ pip install -r requirements.text

use drug_name.create_drug_name to get a medication name, or generate_advertisement.get_ad for a full advertisement.

You could regenerate names.txt (list of real drug names) or chain.p if you wanted to, but you don't have to.

Don't forget to check out the official drug_names twitterbot!

Like our twitterbot? Learn to set up your own here.

You can run any of the files containing if name == 'main', including:

from the command line to print the results.

Example ads

Are you plagued by restless elbow? Ask your doctor if Mencardand Ethroarb® is right for you!

You don't have to deal with an excess of desert sand bile alone. Ask your doctor if Relermin Azidoline Bexxer Syne Statethine® is right for you!

Are you suffering from pompous knee? Try Sodiumate Hyamiham®!

Is compulsive nausea keeping you up at night? Try Colybate®!

Worried you might have vulgar buttock? Try Priomine®!

Are you suffering from restless intestine? Ask your doctor if Urizol® is right for you!

Are you plagued by sarcastic cornea? Salim Carostidexivenamicavush® can help!

Is excessive exhaustion keeping you up at night? Ask your doctor about Zesynt Suprin Vitripipyra® today!

Worried you might have restless brainstem? Try Therol Estchin®!

Are you plagued by above-average ringing in the ears? Try TaryPenativer HCline®!

You don't have to deal with an excess of taupe bile alone. Try Nuccine®!

Example medications

Disaline Pricartax

Oluocine

Difil

Sodone Mal Heparideraletolex

Eque

Rotinavirosin

Pratec

Visalcin

Roxia-Duranupra-1a

Lope

Flol

Hydro

Kalorate

Diane

Estralinid

Zaglitone Benofuviriumaccar

Methalfateride

IIII 123

Ferix

Bis

References

How to Write a Twitter Bot with Python and Tweepy

How to Fake a Sophisticated Knowledge of Wine with Markov Chains