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.'
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.2.0.tar.gz
(2.4 kB
view details)
Built Distribution
File details
Details for the file magic_py_ball-2.2.0.tar.gz
.
File metadata
- Download URL: magic_py_ball-2.2.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 335459117f97aa2d81ca91123b7b4923dce11ef42480c71511e38081dab75b69 |
|
MD5 | 53d6f3a4a6ebf5619f71616e76100363 |
|
BLAKE2b-256 | 45e1b3ada656ece29f0bd4f67bd4f4fe164086864049f4db147e02bae6a56fd0 |
File details
Details for the file magic_py_ball-2.2.0-py3-none-any.whl
.
File metadata
- Download URL: magic_py_ball-2.2.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 646692c675dc2acd0f09e15c0a37fe4fa51061b17e548412a058351b7d7f5d32 |
|
MD5 | 38eae828f0c9c0f950a1fbbfe7cfae62 |
|
BLAKE2b-256 | 0ff6e73c60847806082914bcadfb40a2e8f6edbe2f2387b495f77081cc9f98c2 |