Skip to main content

Textual Dad Joke

Introduction

This library provides a widget that displays a dad joke. No, I'm not even kidding.

Installing

The package can be installed with pip or related tools, for example:

$ pip install textual-dad-joke

Then what?

Import it as you would any other widget from a library:

from textual_data_joke import DadJoke

and then compose the DadJoke widget into your application as you would any other widget.

The widget has a tell method if you want it to tell another joke. It'll also swallow any errors but will post a DadJoke.FellFlat message if there was an error.

Erm... okay. Anything else I should know?

The widget needs an internet connection and is using icanhazdadjoke.com as the backend. Also, I won't be held responsible for the content of any joke served. That's all on you.

Release files for textual-dad-joke 0.0.1

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

Built distribution (wheel)

Table of built distributions (wheels) for textual-dad-joke 0.0.1
File Interpreter ABI Platform
textual_dad_joke-0.0.1-py3-none-any.whl Python 3 none any Details

Release files / textual_dad_joke-0.0.1-py3-none-any.whl

Download URL textual_dad_joke-0.0.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b4b0d8d37be51e3552af2c432359f023e5ef0f7f31207e3507a4950c31afc77
BLAKE2b-256 checksum
How to use checksums
91c96427580b5ffb5f5ee23c5267341eb168828dade1ff55f8a62f6bba1065f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

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