Giter Club home page Giter Club logo

abuse's Introduction

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.

abuse's People

Contributors

0x48piraj avatar arihantawasthi avatar bottersnike avatar ctrlsam avatar jontymorris avatar knmn2000 avatar obwan02 avatar qoyyuum avatar rob-deans avatar shreyasbapat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

abuse's Issues

Dataset Incomplete

Doesn't contains abuses from each alphabet.

TO-DO:

  • Add more Abuses to __init__.py and abuse.py

Library breaks

The library breaks as it doesn't contains abuses from each alphabet.

TO-DO:

  • use exception or empty list conditional

Add Classification to Abuse (Nouns, Verbs)

So I've made a script for abusing my co-workers, which is working perfectly apart from one thing. Sometimes the abuse doesn't make sense! E.g. "Andy is a humping" isn't very abusive.

My feature request is to separate the current random() function into two(or more) separate functions random_noun() and random_verb(). In the future more funcitons could be added such as random_adjective() and random_adverb(). This doesn't (and shouldn't) have to be the final solution as something like a named parameter might be more appropriate.

I also think there should be a more PC option for abuse.

Write Elegant Python Code

  • Remove extra iteration of code in __init__.py and abuse.py
  • Re-structure code
  • Add a seperate dataset.py for collected data

Graphics

TO-DO :

  • A good Sign/Logo
  • Add a demo GIF / Video

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.