项目作者: theabuseproject

项目描述 :
World's First Profanity Library.
高级语言: Python
项目地址: git://github.com/theabuseproject/abuse.git
创建时间: 2018-09-28T11:52:23Z
项目社区:https://github.com/theabuseproject/abuse

开源协议:Do What The F*ck You Want To Public License

下载


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

  1. >>>import abuse as ab
  2. >>>ab.list_from("a")
  3. ['...', '...', '...'] # 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):

  1. $ pip install abuse
  2. $ pipenv install abuse
  3. C:\Python34\Scripts> pip install abuse
  4. C:\> py -3 -m pip install abuse

Satisfaction guaranteed.

Documentation

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