Skip to main content

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

Offensive fortunes are not included in this Python package.

The fortune data for this package is taken from fortune-mod. Please see the datfiles directory in this repo for their corresponding license.

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.1.tar.gz (1.1 MB view hashes)

Uploaded Source

Built Distribution

fortune_python-1.0.1-py3-none-any.whl (1.1 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page