Skip to main content

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().

Release files for magic-py-ball 2.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for magic-py-ball 2.3.0
File Size Uploaded
magic_py_ball-2.3.0.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for magic-py-ball 2.3.0
File Interpreter ABI Platform
magic_py_ball-2.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.6 kB

Release files / magic_py_ball-2.3.0.tar.gz

Download URL magic_py_ball-2.3.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
16e7057615a5b97a7da3e835ec8aa218d75a8f57ca3f1d994d184fe252860fea
BLAKE2b-256 checksum
How to use checksums
0bca6f8381bd3d35291aed00c792af8beab9f22db2d4634ff55eb9f4bf716eff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1

Release files / magic_py_ball-2.3.0-py3-none-any.whl

Download URL magic_py_ball-2.3.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bcb0a764ed6e5dce702572d02a5dc9ae3dd14a3f32ad07e5f5a5d4a941edc9b6
BLAKE2b-256 checksum
How to use checksums
0209c222ea90e495f9cf58e92f967f635f5d7ae55c05691a88558da8b77b6d5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1

Release history Release notifications | RSS feed

This release

2.3.0 This release

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page