Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 2.77 KB

README.md

File metadata and controls

62 lines (40 loc) · 2.77 KB

Abuse: World's First Profanity Library

Abuse is in it's beta.

PyPI Download/Month PyPI Version PyPI license PyPI pyversions PyPI implementation GitHub contributors HitCount

forthebadge: F** It! Ship It! forthebadge: Made With Python forthebadge: Kinda Safe For Work forthebadge: Creative Commons - Non-Commercial - Sharealike

Logo by Manav Kapil

This logo was created by my friend, Manav Kapil. Have a look at his Behance Profile!

Behold, the power of Abuse

Abuse allows you to use profanity when you need it, without the need for getting angry. There's no need to manually search curse words from Google, or to ask anybody. Abuse is 100% automatic, thanks to Python.

It's available over Python Package Installer as PyPI/abuse

Besides, all the cool kids are doing it. You should try it!

Let's import the beast

>>>import abuse as ab
>>>ab.list_from("a")

['...', '...', '...'] # gives a nice list of profane words starting with the letter 'a'

Usage

  • list_from('letter') : Returns list of abuses starting from a specific letter.
  • random_from('letter') : Returns a random abuse starting from a specific letter.
  • random() : Returns any random profane word from it's built-in dataset.
  • list_all() : Returns list of profane words in it's database.

Compatibility

Abuse officially supports Python 3.4 to 3.7, but can also run on Python 2.*

Installation

To install Abuse, simply use pipenv (or pip, of course):

$ pip install abuse
$ pipenv install abuse
C:\Python34\Scripts> pip install abuse
C:\> py -3 -m pip install abuse

Satisfaction guaranteed.

Documentation

Fantastic documentation will be available in some days, for a limited time only.