Skip to main content

No project description provided

Project description

LaughBit

LaughBit is a command-line application that fetches and displays jokes from the JokeAPI. It's a fun and easy way to get a quick laugh right in your terminal.

Installation

You can install LaughBit directly from PyPI using pip:

pip install laughbit

Usage

Once installed, you can use the laughbit command to get a random joke:

laughbit

Get a joke from a specific category

You can also specify a category to get a joke from. The available categories are:

  • Any
  • Misc
  • Programming
  • Dark
  • Pun
  • Spooky
  • Christmas

To get a joke from a specific category, use the --category option:

laughbit --category Programming

Search for a joke

You can also search for a joke containing a specific word or phrase using the --search option:

laughbit --search "dog"

Sample Output

Here's an example of what you might see when you run laughbit:

category: Dark
Why did the invisible man turn down the job offer?
He couldn't see himself doing it.

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

laughbit-0.1.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

laughbit-0.1.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file laughbit-0.1.2.tar.gz.

File metadata

  • Download URL: laughbit-0.1.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for laughbit-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d53bd0a99ff18ea7b116c50627f4e8353a5b2f01dfb2c3f4b049fdef180434f2
MD5 5ee3bdb2ab32ae2e2843db032618c140
BLAKE2b-256 da234bbc645bdfdb7165fd14ca179be0302af1a0e98213622aeef7558515d0ab

See more details on using hashes here.

File details

Details for the file laughbit-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: laughbit-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for laughbit-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8929f31fc66121677671d5d4252fa312d7cb49bbef55890cf5969ce98dbecb85
MD5 2158d1473f4cd06ee28e32e9b42e4e50
BLAKE2b-256 fce592c82488bea7103442453638a64db1d19cc6d6b69978fb150fb44dff767b

See more details on using hashes here.

Supported by

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