FunKitPy 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {funkitpy-0.1.0 → funkitpy-0.1.1}/FunKitPy.egg-info/PKG-INFO +2 -2
- {funkitpy-0.1.0 → funkitpy-0.1.1}/PKG-INFO +2 -2
- {funkitpy-0.1.0 → funkitpy-0.1.1}/README.md +1 -1
- {funkitpy-0.1.0 → funkitpy-0.1.1}/funkitpy/jokes.py +7 -1
- {funkitpy-0.1.0 → funkitpy-0.1.1}/funkitpy/roasts.py +3 -0
- funkitpy-0.1.1/funkitpy/version.py +1 -0
- {funkitpy-0.1.0 → funkitpy-0.1.1}/pyproject.toml +1 -1
- funkitpy-0.1.0/funkitpy/version.py +0 -1
- {funkitpy-0.1.0 → funkitpy-0.1.1}/FunKitPy.egg-info/SOURCES.txt +0 -0
- {funkitpy-0.1.0 → funkitpy-0.1.1}/FunKitPy.egg-info/dependency_links.txt +0 -0
- {funkitpy-0.1.0 → funkitpy-0.1.1}/FunKitPy.egg-info/top_level.txt +0 -0
- {funkitpy-0.1.0 → funkitpy-0.1.1}/LICENSE +0 -0
- {funkitpy-0.1.0 → funkitpy-0.1.1}/funkitpy/__init__.py +0 -0
- {funkitpy-0.1.0 → funkitpy-0.1.1}/funkitpy/data/dad_jokes.json +0 -0
- {funkitpy-0.1.0 → funkitpy-0.1.1}/funkitpy/data/jokes.json +0 -0
- {funkitpy-0.1.0 → funkitpy-0.1.1}/funkitpy/data/roasts.json +0 -0
- {funkitpy-0.1.0 → funkitpy-0.1.1}/setup.cfg +0 -0
- {funkitpy-0.1.0 → funkitpy-0.1.1}/tests/test_jokes.py +0 -0
- {funkitpy-0.1.0 → funkitpy-0.1.1}/tests/test_roasts.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: FunKitPy
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: A lightweight Python toolkit for fetching and generating jokes, dad jokes, and roasts.
|
|
5
5
|
Author: fmasterpro27
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -54,7 +54,7 @@ Dynamic: license-file
|
|
|
54
54
|
Install FunKitPy from PyPI using pip:
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
|
-
pip install
|
|
57
|
+
pip install FunKitPy
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
Requires Python 3.8 or higher.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: FunKitPy
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: A lightweight Python toolkit for fetching and generating jokes, dad jokes, and roasts.
|
|
5
5
|
Author: fmasterpro27
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -54,7 +54,7 @@ Dynamic: license-file
|
|
|
54
54
|
Install FunKitPy from PyPI using pip:
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
|
-
pip install
|
|
57
|
+
pip install FunKitPy
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
Requires Python 3.8 or higher.
|
|
@@ -13,5 +13,11 @@ with open(DATA / "dad_jokes.json", encoding="utf-8") as f:
|
|
|
13
13
|
def joke() -> str:
|
|
14
14
|
return random.choice(JOKES)["joke"]
|
|
15
15
|
|
|
16
|
+
def get_joke():
|
|
17
|
+
return joke()
|
|
18
|
+
|
|
16
19
|
def dad_joke() -> str:
|
|
17
|
-
return random.choice(DAD_JOKES)["joke"]
|
|
20
|
+
return random.choice(DAD_JOKES)["joke"]
|
|
21
|
+
|
|
22
|
+
def get_dad_joke():
|
|
23
|
+
return dad_joke()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.1"
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "FunKitPy"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.1"
|
|
8
8
|
description = "A lightweight Python toolkit for fetching and generating jokes, dad jokes, and roasts."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "Apache-2.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|