Skip to main content

Just-kidding is a python library for getting random dad jokes and more kinds of jokes

Project description

Joking

Jokes for when your bored.

>>>import Joking
>>>random_dad_joke()
My friend told me that pepper is the best seasoning for a roast, but I took it with a grain of salt.
>>>programming_joke()
The glass is neither half-full nor half-empty, the glass is twice as big as it needs to be.
>>>random_joke()
Why does Santa go down the chimney?

Because it soots him!
>>>random_knock_knock_joke()
knock knock joke example
>>>print("bye")
bye

Joking is a python library for getting random dad jokes and more kinds of jokes

image0 forthebadge forthebadge2 image3 image4 image5 forthebadge image7 PyPI - Downloads image

Installation

you can install it by using the pip package manager

pip install Joking

How to Use

Multiple_Jokes(i) #i is for the amount of dad jokes
random_dad_joke() #prints out a random dad joke
programming_joke() #prints a random programming joke
random_joke() #prints a random joke
sjoke() #Gets a specific joke using the joke id from https://icanhazdadjoke.com/
search_for_joke() #prints the top result for the joke you searched
Random_knock_knock_joke() #gets a random knock knock joke
skkjoke() #Gets a specific knock knock joke using the joke id
DarkJoke() #Gets a dark joke that is potentially sexist or racist
Pun() #Gets a random pun
Submit_joke() #submits a joke
yo_mama_joke_slash_insults() #Gets a random Yo mama joke or insult
animal_joke() #Gets a random animal Joke
chuck_norris_joke() #Gets a chuck noris joke? (I don't even know what a chuck noris joke is)

F.A.Q.

Q. Who make's The Jokes?

A. The whole of the internet

Q. Are some jokes Inappropriate?

A. No. Most Joke's with the exception of Dark Jokes are not Inappropriate

How it works

It works by web scraping https://icanhazdadjoke.com/, jokes4us.com and using version 2 of jokeapi.dev

Joke id's

Joke ids are Joke ids from icanhazdadjoke.com or from http://www.jokes4us.com/knockknockjokes/random/knockknock{id go here}.html To find a jokes id just search icanhazdadjoke.com or find the knock knock joke you want from http://www.jokes4us.com/knockknockjokes/index.html

How to contribute

Contact

jokingpython@gmail.com or contact me via this form -> https://bit.ly/3CFTHeX

CHANGELOG

==============

2.8.0 (8/27/2022)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Joking-2.8.0.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

Joking-2.8.0-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page