Skip to content

DerpyChap/mattophobia_says

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mattophobia_says

This is a Python library that is used for generating strings that what Mattophobia, COO of Nerd Cubed LTD, would say. This is a rewrite of the NPM package of the same name by Jack Baron, viewable here: https://github.com/lolPants/mattophobia-says/

Installing

python3 -m pip install mattophobia_says

Example

#Import the library
from mattophobia_says import MattSays

#Setup the generator
generator = MattSays()

#Generate a random Matt string
print(generator.generate())

Example output:

Damn hell god damn it holy wanker fuck cunt cock asshat.

Customization

MattSays() lets you submit your own lists of profanities to the generator if you feel like the current list of words aren't enough.

MattSays(swears, ings, standalone)

swears - A list of various swearwords

ings - A list of words ending in "ing"

standalone - A list of standalone sentences that can be sent in place of a randomly generated string of swears.

You can customize the length of MattSays().generate() too:

MattSays().generate(min, max)

min - An int determining the minimum length of the string

max - An int determining the maximum length of the string

Requirements

  • Python 3+ (Tested on 3.6, but should work on earlier versions)

About

A Mattophobia string generator, based on the npm package by Jack Baron.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages