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.

Source Distribution

magic_py_ball-2.3.0.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

magic_py_ball-2.3.0-py3-none-any.whl (3.2 kB 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