Skip to main content

A simple magic 8 ball

Project description

Magic Py Ball

Magic Py Ball is a simple Python implementation of a random magic 8 ball.

>>> answer()
'Without a doubt.'

Downloads Supported Versions License Version

Installation

Magic Py Ball is available on PyPI:

$ python -m pip install magic_py_ball

Magic Py Ball officially supports Python 2.7 and 3.5+.

API Reference

magic_py_ball.ANSWERS

A list of str objects representing all possible magic 8 ball answers

magic_py_ball.answer()

Gets a random magic 8 ball answer using random.choice().

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for magic-py-ball, version 2.3.0
Filename, size File type Python version Upload date Hashes
Filename, size magic_py_ball-2.3.0-py3-none-any.whl (3.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size magic_py_ball-2.3.0.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page