randfacts 0.21.0__py3-none-any.whl → 0.22.0__py3-none-any.whl
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.
- randfacts/__init__.py +42 -25
- randfacts/__main__.py +3 -2
- randfacts/randfacts.py +45 -37
- randfacts/safe.txt +4 -12
- randfacts/unsafe.txt +1 -1
- randfacts-0.21.0.dist-info/LICENSE.txt → randfacts-0.22.0.dist-info/LICENSE +2 -2
- {randfacts-0.21.0.dist-info → randfacts-0.22.0.dist-info}/METADATA +13 -10
- randfacts-0.22.0.dist-info/RECORD +10 -0
- {randfacts-0.21.0.dist-info → randfacts-0.22.0.dist-info}/WHEEL +1 -2
- randfacts-0.22.0.dist-info/entry_points.txt +3 -0
- randfacts/__version__.py +0 -8
- randfacts-0.21.0.dist-info/RECORD +0 -11
- randfacts-0.21.0.dist-info/top_level.txt +0 -1
randfacts/__init__.py
CHANGED
|
@@ -5,49 +5,66 @@ You can retrieve facts via the get_fact method. randfacts also allows for
|
|
|
5
5
|
execution via the command line. See the examples section for more details.
|
|
6
6
|
|
|
7
7
|
Code Examples:
|
|
8
|
-
|
|
8
|
+
Example usage of randfacts in code.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Generate a random SFW (safe for work) fact.
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
>>> randfacts.get_fact()
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
Generate a random NSFW (not safe for work) fact.
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
>>> randfacts.get_fact(only_unsafe=True)
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
Generate a random mixed fact (possibility of both SFW and NSFW facts)
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
>>> # or
|
|
22
|
-
>>> randfacts.get_fact(filter_enabled=False)
|
|
20
|
+
>>> randfacts.get_fact(filter_enabled=False)
|
|
23
21
|
|
|
24
22
|
CLI Examples:
|
|
25
|
-
|
|
23
|
+
randfacts can be executed via the command line with the following commands:
|
|
26
24
|
|
|
27
|
-
|
|
25
|
+
Normal execution; only safe facts
|
|
28
26
|
|
|
29
|
-
|
|
27
|
+
$ python3 -m randfacts
|
|
30
28
|
|
|
31
|
-
|
|
29
|
+
The unsafe argument can be supplied to provide only unsafe facts
|
|
32
30
|
|
|
33
|
-
|
|
31
|
+
$ python3 -m randfacts --unsafe
|
|
34
32
|
|
|
35
|
-
|
|
33
|
+
The mixed argument can be provided to provide both SFW and NSFW facts.
|
|
36
34
|
|
|
37
|
-
|
|
35
|
+
$ python3 -m randfacts --mixed
|
|
38
36
|
|
|
39
|
-
|
|
37
|
+
More help.
|
|
40
38
|
|
|
41
|
-
|
|
39
|
+
$ python3 -m randfacts --help
|
|
42
40
|
|
|
43
41
|
"""
|
|
44
42
|
|
|
45
|
-
from .__version__ import __title__, __description__, __url__, __version__, __author__, __author_email__, __license__, __copyright__
|
|
46
|
-
from randfacts.randfacts import get_fact, safe_facts, unsafe_facts, all_facts
|
|
47
|
-
|
|
48
43
|
import warnings as _warnings
|
|
44
|
+
|
|
45
|
+
from randfacts.randfacts import (
|
|
46
|
+
__version__,
|
|
47
|
+
all_facts,
|
|
48
|
+
get_fact,
|
|
49
|
+
safe_facts,
|
|
50
|
+
unsafe_facts,
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
__all__ = [
|
|
54
|
+
"__version__",
|
|
55
|
+
"all_facts",
|
|
56
|
+
"get_fact",
|
|
57
|
+
"safe_facts",
|
|
58
|
+
"unsafe_facts",
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
|
|
49
62
|
# Deprecated methods
|
|
50
|
-
def getFact(filter_enabled=True, only_unsafe=False):
|
|
51
|
-
"""This method is deprecated. Please use get_fact"""
|
|
52
|
-
_warnings.warn(
|
|
53
|
-
|
|
63
|
+
def getFact(filter_enabled: bool = True, only_unsafe: bool = False) -> str: # noqa: N802
|
|
64
|
+
"""This method is deprecated. Please use get_fact."""
|
|
65
|
+
_warnings.warn(
|
|
66
|
+
"getFact is deprecated. Please use get_fact",
|
|
67
|
+
DeprecationWarning,
|
|
68
|
+
stacklevel=2,
|
|
69
|
+
)
|
|
70
|
+
return get_fact(filter_enabled, only_unsafe) # noqa: DOC201
|
randfacts/__main__.py
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
from .randfacts import _cli_entrypoint
|
|
2
|
-
|
|
1
|
+
from .randfacts import _cli_entrypoint # pyright: ignore[reportPrivateUsage]
|
|
2
|
+
|
|
3
|
+
_cli_entrypoint()
|
randfacts/randfacts.py
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"""Contains the core functionality of randfacts."""
|
|
2
|
+
|
|
3
3
|
import argparse
|
|
4
|
+
import contextlib
|
|
5
|
+
import importlib.metadata
|
|
6
|
+
from pathlib import Path
|
|
7
|
+
from random import choice
|
|
8
|
+
|
|
9
|
+
dir_path = Path(__file__).resolve().parent
|
|
4
10
|
|
|
5
|
-
|
|
11
|
+
__version__ = ""
|
|
12
|
+
with contextlib.suppress(Exception):
|
|
13
|
+
__version__: str = importlib.metadata.version("randfacts")
|
|
6
14
|
|
|
7
|
-
with
|
|
8
|
-
safe_facts = [
|
|
9
|
-
fact.rstrip('\r\n ')
|
|
10
|
-
for fact in f.readlines()
|
|
11
|
-
if fact.rstrip('\r\n ') != ''
|
|
12
|
-
]
|
|
15
|
+
with (dir_path / "safe.txt").open(encoding="utf-8") as f:
|
|
16
|
+
safe_facts = [fact.rstrip("\r\n ") for fact in f if fact.rstrip("\r\n ")]
|
|
13
17
|
|
|
14
|
-
with
|
|
15
|
-
unsafe_facts = [
|
|
16
|
-
fact.rstrip('\r\n ')
|
|
17
|
-
for fact in f.readlines()
|
|
18
|
-
if fact.rstrip('\r\n ') != ''
|
|
19
|
-
]
|
|
18
|
+
with (dir_path / "unsafe.txt").open(encoding="utf-8") as f:
|
|
19
|
+
unsafe_facts = [fact.rstrip("\r\n ") for fact in f if fact.rstrip("\r\n ")]
|
|
20
20
|
|
|
21
21
|
all_facts = safe_facts + unsafe_facts
|
|
22
22
|
|
|
@@ -27,20 +27,19 @@ def get_fact(filter_enabled: bool = True, only_unsafe: bool = False) -> str:
|
|
|
27
27
|
Parameters
|
|
28
28
|
----------
|
|
29
29
|
filter_enabled : bool
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
The `filter_enabled` parameter determines if the function will filter
|
|
31
|
+
out potentially inappropriate facts. Defaults to True.
|
|
32
32
|
|
|
33
33
|
only_unsafe : bool
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
The `only_unsafe` parameter determines if the function will only give
|
|
35
|
+
unsafe (NSFW) facts. Takes precedence over the `filter_enabled` argument.
|
|
36
36
|
|
|
37
|
-
Returns
|
|
37
|
+
Returns:
|
|
38
38
|
------
|
|
39
39
|
str
|
|
40
|
-
|
|
40
|
+
A random fact.
|
|
41
41
|
|
|
42
42
|
"""
|
|
43
|
-
|
|
44
43
|
if only_unsafe:
|
|
45
44
|
return choice(unsafe_facts)
|
|
46
45
|
if filter_enabled is False:
|
|
@@ -48,37 +47,46 @@ def get_fact(filter_enabled: bool = True, only_unsafe: bool = False) -> str:
|
|
|
48
47
|
return choice(safe_facts)
|
|
49
48
|
|
|
50
49
|
|
|
51
|
-
def _cli_entrypoint():
|
|
50
|
+
def _cli_entrypoint() -> None:
|
|
52
51
|
"""Entrypoint for execution via command-line."""
|
|
53
|
-
|
|
54
52
|
parser = argparse.ArgumentParser(
|
|
55
|
-
description=
|
|
53
|
+
description="Generate random facts from the command-line",
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
parser.add_argument(
|
|
57
|
+
"-V",
|
|
58
|
+
"--version",
|
|
59
|
+
action="store_true",
|
|
60
|
+
help="Print the package version and exit",
|
|
56
61
|
)
|
|
57
62
|
|
|
58
63
|
group = parser.add_mutually_exclusive_group()
|
|
59
64
|
group.add_argument(
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
action=
|
|
63
|
-
help=
|
|
65
|
+
"-m",
|
|
66
|
+
"--mixed",
|
|
67
|
+
action="store_true",
|
|
68
|
+
help="Include safe and unsafe facts",
|
|
64
69
|
)
|
|
65
70
|
|
|
66
71
|
group.add_argument(
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
action=
|
|
70
|
-
help=
|
|
72
|
+
"-u",
|
|
73
|
+
"--unsafe",
|
|
74
|
+
action="store_true",
|
|
75
|
+
help="Only include unsafe facts",
|
|
71
76
|
)
|
|
72
77
|
|
|
73
78
|
args = parser.parse_args()
|
|
74
79
|
|
|
75
|
-
if args.
|
|
76
|
-
print(
|
|
77
|
-
|
|
80
|
+
if args.version: # pyright: ignore[reportAny]
|
|
81
|
+
print(__version__)
|
|
82
|
+
return
|
|
83
|
+
if args.mixed: # pyright: ignore[reportAny]
|
|
84
|
+
print(get_fact(filter_enabled=False))
|
|
85
|
+
elif args.unsafe: # pyright: ignore[reportAny]
|
|
78
86
|
print(get_fact(only_unsafe=True))
|
|
79
87
|
else:
|
|
80
88
|
print(get_fact())
|
|
81
89
|
|
|
82
90
|
|
|
83
|
-
if __name__ ==
|
|
91
|
+
if __name__ == "__main__":
|
|
84
92
|
_cli_entrypoint()
|
randfacts/safe.txt
CHANGED
|
@@ -378,7 +378,7 @@ Whales can suffer from sunburns
|
|
|
378
378
|
In 2015, a U.S. journalist was sentenced to 5 years in jail for posting a link on the web
|
|
379
379
|
South Koreans drink twice as much alcohol as Russians
|
|
380
380
|
A newborn baby has about one cup of blood in his body.
|
|
381
|
-
4%of women in the U.S. are pregnant right now
|
|
381
|
+
4% of women in the U.S. are pregnant right now
|
|
382
382
|
The world's longest hangover lasted 4 weeks after a Scotsman consumed 60 pints of beer.
|
|
383
383
|
In 1962, John F Kennedy secretly installed a taping system in the White House.
|
|
384
384
|
Men with shaved heads are perceived as an inch taller and 13% stronger than men with hair.
|
|
@@ -1269,7 +1269,7 @@ Having an orgasm at least 3 times a week cuts in half the likelihood of coronary
|
|
|
1269
1269
|
30 million people in China live on less than US$1 per day, as of 2019.
|
|
1270
1270
|
Brazil is defined as a "federal republic" composed of the Federal District, 26 states, and 5,570 municipalities.
|
|
1271
1271
|
People with autism are less likely to catch yawns. The more severe their condition, the less common the behavior gets.
|
|
1272
|
-
Mexico
|
|
1272
|
+
Mexico has 68 official languages.
|
|
1273
1273
|
Girls who complete secondary school are 6 times less likely to become child brides
|
|
1274
1274
|
La Paz, Bolivia, was the first South American city to get an electricity supply. It was powered by llama dung
|
|
1275
1275
|
Penguins have an organ near the eye that filters salt from the water out of their system
|
|
@@ -4397,7 +4397,6 @@ To escape the grip of a crocodile's jaws, push your thumbs into its eyeballs –
|
|
|
4397
4397
|
Reindeer like to eat bananas.
|
|
4398
4398
|
More people are killed annually by donkeys than airplane crashes.
|
|
4399
4399
|
Because of the rotation of the earth, an object can be thrown farther if it is thrown west.
|
|
4400
|
-
The average person spends 6 months of their life sitting at red lights.
|
|
4401
4400
|
More Monopoly money is printed in a year, than real money throughout the world.
|
|
4402
4401
|
Caesar salad has nothing to do with any of the Caesars. It was first concocted in a bar in Tijuana, Mexico, in the 1920′s.
|
|
4403
4402
|
Seattle's Fremont Bridge rises up and down more than any drawbridge in the world.
|
|
@@ -5077,7 +5076,6 @@ Many insects can carry 50 times their own body weight. This would be like an adu
|
|
|
5077
5076
|
There are over a million described species of insects. Some people estimate there are actually between 15 and 30 million species.
|
|
5078
5077
|
Most insects are beneficial to people because they eat other insects, pollinate crops, are food for other animals, make products we use (like honey and silk) or have medical uses.
|
|
5079
5078
|
Butterflies and insects have their skeletons on the outside of their bodies, called the exoskeleton. This protects the insect and keeps water inside their bodies so they don't dry out.
|
|
5080
|
-
Elephants are the only mammals that cannot jump.
|
|
5081
5079
|
11% of the world is left-handed.
|
|
5082
5080
|
A healthy (non-colorblind) human eye can distinguish between 500 shades of gray.
|
|
5083
5081
|
Lizards can self-amputate their tails for protection. It grows back after a few months.
|
|
@@ -5758,7 +5756,6 @@ Up to 20% of power outages in the U.S are due to squirrels.
|
|
|
5758
5756
|
The Mayo Clinic made glow in the dark cats while trying to find a cure for AIDS.
|
|
5759
5757
|
The Antarctic glaciers are made up of 3% penguin urine.
|
|
5760
5758
|
The happiest prisoner on death row had an IQ of 46.
|
|
5761
|
-
Violin bows are made from horsehair.
|
|
5762
5759
|
IKEA is an acronym.
|
|
5763
5760
|
Stephen Hawking held a reception for time travelers in 2009.
|
|
5764
5761
|
A Norwegian Island made dying illegal.
|
|
@@ -6212,7 +6209,6 @@ The largest known volcano in the solar system is Olympus Mons, located on Mars.
|
|
|
6212
6209
|
On Mars, sunsets appear blue due to the way light is captured in the atmosphere.
|
|
6213
6210
|
Because there is no atmosphere, wind, or water to erode them, astronaut footprints on the moon will likely remain there for hundreds of millions of years.
|
|
6214
6211
|
One spacesuit for a NASA astronaut costs $12 million to make.
|
|
6215
|
-
Uranus is the only planet to spin on its side.
|
|
6216
6212
|
The diameter of Pluto is smaller than the horizontal length of the United States.
|
|
6217
6213
|
The Kármán line, the invisible boundary that officially separates Earth from outer space, is located 62 miles above sea level. So you're only about 62 miles from space right now!
|
|
6218
6214
|
It's impossible to burp in space. The lack of gravity in space prevents air in your stomach from separating and rising up from food you've eaten.
|
|
@@ -6502,7 +6498,6 @@ If Barbie were life-size, her measurements would be 39-23-33. She would stand 7
|
|
|
6502
6498
|
On average, people fear spiders more than they do death.
|
|
6503
6499
|
Thirty-five percent of the people who use personal ads for dating are already married.
|
|
6504
6500
|
In Tokyo you can buy a toupee for your dog.
|
|
6505
|
-
A dime has 118 ridges around the edge.
|
|
6506
6501
|
The world's oldest wooden wheel has been around for more than 5,000 years
|
|
6507
6502
|
Dead skin cells are a main ingredient in household dust
|
|
6508
6503
|
Sudan has more pyramids than any country in the world
|
|
@@ -6714,7 +6709,6 @@ NFL refs also get Super Bowl rings.
|
|
|
6714
6709
|
President Hubert Hoover invented a game called "Hooverball" which was a cross between tennis and volleyball and was played with a medicine ball.
|
|
6715
6710
|
Only one city has won three major championships in one year. In 1935, the Detroit Lions won the Super Bowl, the Tigers won the world series, and the Red Wings won the Stanley Cup.
|
|
6716
6711
|
More than 100 baseballs are used during a typical professional baseball game.
|
|
6717
|
-
You can't hum while plugging your nose.
|
|
6718
6712
|
Tomatoes have more genes than humans.
|
|
6719
6713
|
We're one to two centimeters taller in the morning than at night.
|
|
6720
6714
|
One quarter of all our bones are in our feet.
|
|
@@ -6761,7 +6755,7 @@ Turns out, a dog's paw print is just as unique as a human's. Good news for dog d
|
|
|
6761
6755
|
A camel can drink up to 40 gallons of water in one go. That's seriously impressive!
|
|
6762
6756
|
Don't bring your crystal ball to Maryland! Fortune telling is illegal in the state.
|
|
6763
6757
|
Speaking of ferrets, did you know they used to be used to protect grain stores from rodents?
|
|
6764
|
-
The technical term for a fear of long words is "
|
|
6758
|
+
The technical term for a fear of long words is "hippopotomonstrosesquippedaliophobia." No way you can self-diagnose yourself with that one!
|
|
6765
6759
|
The White House has 35 bathrooms. So every bathroom break can be different for POTUS!
|
|
6766
6760
|
Greyhounds can run up to 45 mph. So don't challenge one to a race!
|
|
6767
6761
|
Hiking naked is illegal in Switzerland. Though we must say, it doesn't seem like a good idea in general!
|
|
@@ -7020,7 +7014,6 @@ Rubber bands last longer when refrigerated.
|
|
|
7020
7014
|
Since 1896, the beginning of the modern Olympics, only Greece and Australia have participated in every Games.
|
|
7021
7015
|
The average person has over 1,460 dreams a year.
|
|
7022
7016
|
The band Duran Duran got their name from an astronaut in the 1968 Jane Fonda movie Barbarella.
|
|
7023
|
-
The Earth weighs around 6,588,000,000,000,000,000,000,000 tons.
|
|
7024
7017
|
The first toilet ever seen on television was on "Leave It To Beaver."
|
|
7025
7018
|
The international telephone dialing code for Antarctica is 672.
|
|
7026
7019
|
The name "Jeep" came from the abbreviation used in the army for the "general purpose" vehicle, G.P.
|
|
@@ -7164,7 +7157,6 @@ Only animal besides a human that can get sunburn: a pig.
|
|
|
7164
7157
|
Proportional to their weight, men are stronger than horses.
|
|
7165
7158
|
It is believed that Shakespeare was 46 around the time that the King James Version of the Bible was written. In Psalms 46, the 46th word from the first word is "shake," and the 46th word from the last word is "spear."
|
|
7166
7159
|
The parachute was invented by Leonardo da Vinci in 1515.
|
|
7167
|
-
"Canada" is a Native American word meaning "big village."
|
|
7168
7160
|
The symbol on the "pound" key (#) is called an octothorpe.
|
|
7169
7161
|
A full 7% of the entire Irish barley crop goes to the production of Guinness beer.
|
|
7170
7162
|
Tigers have striped skin, not just striped fur.
|
|
@@ -7349,4 +7341,4 @@ The shortest commercial flight in the world is in Scotland.
|
|
|
7349
7341
|
Dolphins have names for one another.
|
|
7350
7342
|
The blob of toothpaste on a toothbrush has a name - a nurdle.
|
|
7351
7343
|
One part of Istanbul is in Europe and the other is in Asia.
|
|
7352
|
-
There are more than 1,000 types of bananas growing in the world.
|
|
7344
|
+
There are more than 1,000 types of bananas growing in the world.
|
randfacts/unsafe.txt
CHANGED
|
@@ -112,4 +112,4 @@ During the medieval times (circa 1400s), France had impotency trials. Which allo
|
|
|
112
112
|
Dildos have been around for centuries. With the oldest potential dildo being 28,000 years old.
|
|
113
113
|
Vibrators were created in the 19th century to reduce "hysteria" in women.
|
|
114
114
|
Famous gangster, Al Capone, had undiagnosed syphillis until he went to prison.
|
|
115
|
-
According to a British law passed in 1845, attempting to commit suicide was a capital offense. Offenders could be hanged for trying.
|
|
115
|
+
According to a British law passed in 1845, attempting to commit suicide was a capital offense. Offenders could be hanged for trying.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
MIT License
|
|
2
|
-
Copyright (c) 2020-
|
|
2
|
+
Copyright (c) 2020-2024 Connor Sample
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
4
|
of this software and associated documentation files (the "Software"), to deal
|
|
5
5
|
in the Software without restriction, including without limitation the rights
|
|
@@ -14,4 +14,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
14
14
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
15
15
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
16
16
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
17
|
-
SOFTWARE.
|
|
17
|
+
SOFTWARE.
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: randfacts
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.22.0
|
|
4
4
|
Summary: Package to generate random facts
|
|
5
|
-
Home-page: https://
|
|
6
|
-
|
|
5
|
+
Home-page: https://tabulate.tech/software/randfacts/
|
|
6
|
+
License: MIT
|
|
7
|
+
Author: TabulateJarl8
|
|
7
8
|
Author-email: tabulatejarl8@gmail.com
|
|
9
|
+
Requires-Python: >=3.6,<4.0
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Natural Language :: English
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
8
15
|
Classifier: Programming Language :: Python :: 3
|
|
9
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
10
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -13,14 +20,9 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
13
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
14
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
-
Classifier:
|
|
17
|
-
|
|
18
|
-
Classifier: Operating System :: OS Independent
|
|
19
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
20
|
-
Classifier: Intended Audience :: Developers
|
|
21
|
-
Requires-Python: >=3.6
|
|
23
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
24
|
+
Project-URL: Repository, https://github.com/TabulateJarl8/randfacts
|
|
22
25
|
Description-Content-Type: text/markdown
|
|
23
|
-
License-File: LICENSE.txt
|
|
24
26
|
|
|
25
27
|
<p align="center">
|
|
26
28
|
<img src="https://raw.githubusercontent.com/TabulateJarl8/randfacts/master/imgs/logo-embedded-font.svg" />
|
|
@@ -118,3 +120,4 @@ More help.
|
|
|
118
120
|
```sh
|
|
119
121
|
$ python3 -m randfacts --help
|
|
120
122
|
```
|
|
123
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
randfacts/__init__.py,sha256=AIc-PGGpuk2zNraanv5kum3JyWNV2ba3HSzPcX56PYs,1615
|
|
2
|
+
randfacts/__main__.py,sha256=sH6dc3zI2TSF12PVQTp_mlCPgKrF-7lJd_8kQ8hZ2S0,97
|
|
3
|
+
randfacts/randfacts.py,sha256=KvK5BVw4qykbz5X6Lb3YqAXimH-7YtlXA3lWyHJJHcw,2197
|
|
4
|
+
randfacts/safe.txt,sha256=qNQQ9W00vUjaF1Gma-sqWKGYQRbCegP-GrrDNpFvsY4,634851
|
|
5
|
+
randfacts/unsafe.txt,sha256=6CO4QTQ7YIqkDyyS9cbV1-eqs8B0TYxzDyab4lUGGHQ,10415
|
|
6
|
+
randfacts-0.22.0.dist-info/LICENSE,sha256=Pw9YWaR5pSAfnfuabUSytyJGj2Wy4G7Zw1EdldX9KGU,1088
|
|
7
|
+
randfacts-0.22.0.dist-info/METADATA,sha256=yzWaFBEbBO6Ytxgm-0mQ8dD0rC8qVi80v2C30I83RCM,4687
|
|
8
|
+
randfacts-0.22.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
9
|
+
randfacts-0.22.0.dist-info/entry_points.txt,sha256=YPadKZhBZjJaNq_Mfkaj7HJgs63rf3rl_7pj5Tf8WY8,65
|
|
10
|
+
randfacts-0.22.0.dist-info/RECORD,,
|
randfacts/__version__.py
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
__title__ = "randfacts"
|
|
2
|
-
__description__ = "Package to generate random facts"
|
|
3
|
-
__url__ = "https://github.com/TabulateJarl8/randfacts"
|
|
4
|
-
__version__ = "0.21.0"
|
|
5
|
-
__author__ = "Tabulate"
|
|
6
|
-
__author_email__ = "tabulatejarl8@gmail.com"
|
|
7
|
-
__license__ = "MIT"
|
|
8
|
-
__copyright__ = "Copyright 2020-2023 Connor Sample"
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
randfacts/__init__.py,sha256=yTaySH_8eS772eD6wCi-GLl-tekVRqiRjjbvF4SXocc,1583
|
|
2
|
-
randfacts/__main__.py,sha256=Ng4WikgLUpvoIqIfJ_ZZtNyoxS6pUdXtmA_XD4tW_L0,56
|
|
3
|
-
randfacts/__version__.py,sha256=7pIJXuFVcrjhV20rrYHh0Ef0wr22XbFKZ4sBaELJSuM,296
|
|
4
|
-
randfacts/randfacts.py,sha256=AcY65AdKtZhTvZkCEuTFmDE_kpHtjyr0LcKgVkGJDbI,1775
|
|
5
|
-
randfacts/safe.txt,sha256=3y_P1DQPPTdoEd8ECc7BT-c4SRhPcUtNC0-4OmvPgb8,635255
|
|
6
|
-
randfacts/unsafe.txt,sha256=fhnpoF9qHQf_nd3spkn3AEtDxuj5zMI1BFkNXWQ8c1A,10414
|
|
7
|
-
randfacts-0.21.0.dist-info/LICENSE.txt,sha256=jxhCPqBHN7biBPbFOa4AHqFoT1P37hYZyA2MREV1VBM,1086
|
|
8
|
-
randfacts-0.21.0.dist-info/METADATA,sha256=6-r5O9VWq5DYQrsjvyU_cUUv4ayPWevPCAr8U7xPjEU,4549
|
|
9
|
-
randfacts-0.21.0.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
|
10
|
-
randfacts-0.21.0.dist-info/top_level.txt,sha256=CtuA0wZECn98oIjL-EgzBRN804oPMLtAPPpM0KJbWIU,10
|
|
11
|
-
randfacts-0.21.0.dist-info/RECORD,,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
randfacts
|