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 details)

Uploaded Source

Built Distribution

magic_py_ball-2.3.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file magic_py_ball-2.3.0.tar.gz.

File metadata

  • Download URL: magic_py_ball-2.3.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for magic_py_ball-2.3.0.tar.gz
Algorithm Hash digest
SHA256 16e7057615a5b97a7da3e835ec8aa218d75a8f57ca3f1d994d184fe252860fea
MD5 c7fa20cf60f270009a9fd7c5ace6a1b1
BLAKE2b-256 0bca6f8381bd3d35291aed00c792af8beab9f22db2d4634ff55eb9f4bf716eff

See more details on using hashes here.

File details

Details for the file magic_py_ball-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: magic_py_ball-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for magic_py_ball-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bcb0a764ed6e5dce702572d02a5dc9ae3dd14a3f32ad07e5f5a5d4a941edc9b6
MD5 22d35ee6a223ae373af70be34d274edf
BLAKE2b-256 0209c222ea90e495f9cf58e92f967f635f5d7ae55c05691a88558da8b77b6d5a

See more details on using hashes here.

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