A Cowsay clone in Python
Project description
Python Fortune
A simple self-contained clone of fortune. Try it out with cowsay!
Install
pip install fortune-python
Usage
To use this package, import the fortune
function and call:
from fortune import fortune
print(fortune())
This will produce a random fortune.
Notes
The fortune data for this package is taken from fortune-mod. Please see the datfiles directory in this repo for their corresponding license.
The offensive fortunes in the 'off' directory are not included in this Python package. However, the fortunes provided in this package are otherwise provided as they were in the original fortune-mod repository. I do not take responsibility for the content of these fortunes.
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
fortune-python-1.0.2.tar.gz
(1.1 MB
view hashes)
Built Distribution
Close
Hashes for fortune_python-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9152e5d5fd9830b6813f20f170b378ff8d161d85b3bfb465f251ede808d6e83a |
|
MD5 | a4c35d2127a0348ccad0f0517b4c96bb |
|
BLAKE2b-256 | 8feb7c9c17f8d32ee25d87fb156ba57b1b35e6b7b7d973b485c8a9c92c04c554 |