Skip to main content

Jokepy

Python Wrapper for sv443 JokeApi

Installation (Install versions > 1.0.0)

pip install jokepy

Importing Jokepy

from jokepy import Jokepy

Creating Jokepy object

j = Jokepy(categories=[],flags  =  [],idRange=[(startId),(endId)],type  =  (single/twopart),searchstring  = (searchstring))

Getjoke

j.getjoke()

Params

  • Categories : ['Programming' , 'Miscellaneous' , 'Dark']
  • Blacklist flags :['nsfw' , 'religious' , 'political' , 'racist' , 'sexist' ]
  • types : single / twopart

Exceptions

  • InvalidCategoryException (if the api doesnt supported categories)
  • InvalidFlagException (if the api doesnt support blackList flags)
  • InvalidTypeException(if the type is invalid)
  • InvalidIdRangeException (if the idRange is invalid)

Dependencies

API Documentation

Metadata

Release files for jokepy 1.0.3

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

Source distribution (sdist)

Source distribution for jokepy 1.0.3
File Size Uploaded Provenance Actions
jokepy-1.0.3.tar.gz 3.0 kB Without provenance Details for jokepy-1.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 6.9 kB

Release files / jokepy-1.0.3.tar.gz

Download URL jokepy-1.0.3.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5ad3401aff06a58c9ec7997554ea81cbb8fdf2ff52f2c9f2d04fec50bfc634d4
BLAKE2b-256 checksum
How to use checksums
35937834975fa3fc6ce136bf8d33a295ca0f71c0e54215d34a6dd7ac883cd550
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release files / jokepy-1.0.3-py3-none-any.whl

Download URL jokepy-1.0.3-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
813016c27789e24ccba99f312f6f5e2b10d50633651e21eaa5d3f07210e617ba
BLAKE2b-256 checksum
How to use checksums
48204c3dc78902d6b754f5b0f2ddf3f0e74a3c9e50a436aab0648c1f79965ad3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Security for jokepy 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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