# 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:
```sh
$ pip install textual-dad-joke
```
## Then what?
Import it as you would any other widget from a library:
```python
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](https://icanhazdadjoke.com/) as the backend. Also, I
won't be held responsible for the content of any joke served. That's all on
you.
[//]: # (README.md ends here)
Raw data
{
"_id": null,
"home_page": "https://github.com/davep/textual-dad-joke",
"name": "textual-dad-joke",
"maintainer": "Dave Pearson",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "davep@davep.org",
"keywords": "terminal,library,file system,filesystem,dialog",
"author": "Dave Pearson",
"author_email": "davep@davep.org",
"download_url": "",
"platform": null,
"description": "# Textual Dad Joke\n\n## Introduction\n\nThis library provides a widget that displays a dad joke. No, I'm not even\nkidding.\n\n## Installing\n\nThe package can be installed with `pip` or related tools, for example:\n\n```sh\n$ pip install textual-dad-joke\n```\n\n## Then what?\n\nImport it as you would any other widget from a library:\n\n```python\nfrom textual_data_joke import DadJoke\n```\n\nand then compose the `DadJoke` widget into your application as you would any\nother widget.\n\nThe widget has a `tell` method if you want it to tell another joke. It'll\nalso swallow any errors but will post a `DadJoke.FellFlat` message if there\nwas an error.\n\n## Erm... okay. Anything else I should know?\n\nThe widget needs an internet connection and is using\n[icanhazdadjoke.com](https://icanhazdadjoke.com/) as the backend. Also, I\nwon't be held responsible for the content of any joke served. That's all on\nyou.\n\n\n[//]: # (README.md ends here)\n",
"bugtrack_url": null,
"license": "License :: OSI Approved :: MIT License",
"summary": "A dad joke widget for your Textual applications",
"version": "0.0.1",
"project_urls": {
"Discussions": "https://github.com/davep/textual-dad-joke/discussions",
"Documentation": "https://github.com/davep/textual-dad-joke/blob/main/README.md",
"Homepage": "https://github.com/davep/textual-dad-joke",
"Issues": "https://github.com/davep/textual-dad-joke/issues",
"Source": "https://github.com/davep/textual-dad-joke"
},
"split_keywords": [
"terminal",
"library",
"file system",
"filesystem",
"dialog"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "91c96427580b5ffb5f5ee23c5267341eb168828dade1ff55f8a62f6bba1065f6",
"md5": "4ab7f5144484b4baf24c5b625dc36afd",
"sha256": "4b4b0d8d37be51e3552af2c432359f023e5ef0f7f31207e3507a4950c31afc77"
},
"downloads": -1,
"filename": "textual_dad_joke-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4ab7f5144484b4baf24c5b625dc36afd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 4283,
"upload_time": "2024-01-04T22:14:45",
"upload_time_iso_8601": "2024-01-04T22:14:45.038914Z",
"url": "https://files.pythonhosted.org/packages/91/c9/6427580b5ffb5f5ee23c5267341eb168828dade1ff55f8a62f6bba1065f6/textual_dad_joke-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-04 22:14:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "davep",
"github_project": "textual-dad-joke",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "textual-dad-joke"
}