Skip to main content

Joking

Logo

>>>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 v3.1.4

image0 forthebadge forthebadge2 image3 image4 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
JOD() #Gets the joke of the day
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)
Meme() #Gets a meme from reddit
make_meme() #Makes a meme
Irony_Joke() #gives funny irony joke
Irony_Joke_By_ID() #gives funny irony joke by ID
Law_Joke() #Gets a law joke
Law_Joke_By_ID() # just like Irony_Joke_By_ID() but with law jokes

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 and some Law Jokes are not Inappropriate.

Q. How do I contact you?

A. h

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

Coming Soon

Something

Contact

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

CHANGELOG

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

3.1.5 (12/23/2022)

  • Some bug fixes
  • Minor Efficiency boosts
  • New feature Law_Joke()
  • New feature Law_Joke_By_ID()

Release files for Joking 3.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Joking 3.1.5
File Size Uploaded
Joking-3.1.5.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Joking 3.1.5
File Interpreter ABI Platform
Joking-3.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 12.1 kB

Release files / Joking-3.1.5.tar.gz

Download URL Joking-3.1.5.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
69f37e49c47378aefae503667356d517579d0dc9627b6807dc52f8e80803511f
BLAKE2b-256 checksum
How to use checksums
7c016467039014adadad9330b093d1ff61e044eec15590774c3983e7cf22cd06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Release files / Joking-3.1.5-py3-none-any.whl

Download URL Joking-3.1.5-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34c14bc4c697c84b9d54d726179d38196b32998351d648045ed03e2145ebd277
BLAKE2b-256 checksum
How to use checksums
29fed494d6a454bce4f7ffdeef6d909d31e6dd1b13be1508c1e99bed4e132640
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Release history Release notifications | RSS feed

This release

3.1.5 This release

2 release files

3.1.4

2 release files

3.1.3

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.2

2 release files

3.0.0

2 release files

2.9.8

2 release files

2.8.8

2 release files

2.8.6

2 release files

2.8.5

2 release files

2.8.4

2 release files

2.8.3

2 release files

2.8.2

2 release files

2.8.1

2 release files

2.8.0

2 release files

2.7.3

2 release files

2.7.2

2 release files

2.6.1

2 release files

2.5.0

2 release files

2.4.7

2 release files

1.1.1

2 release files

1.1.0

2 release files

0.1.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page