A basic 8 ball library that generates random output
Project description
Ask Ron
This is a very simple library that has been created to demonstrate how to build a Python package and deploy to PyPi such
that the code is available to anyone using the pip tool
Usage
This tool can be used in two ways, you can either import it as a Python package to use in your own code or you can use it via the Command Line to replicate a Magic 8 Ball
Installation
You can install this Python package via the pip tool
pip install ask_ron
Python Library
from ask_ron.ask_ron.ask import Ask
# using the default set of answers
ask_ronald = Ask()
ask_ronald.get_answer() # this would return one of the default answers
# using a custom set of answers
custom_answers = ("Yes", "No", "I Don't Know")
ask_me = Ask(answers=custom_answers)
ask_me.get_answer() # returns one of the custom answers (randomly)
Command Line
ask_ron
Release Manager
- Raghav Nair (@nairraghav)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ask_ron-1.0.0.tar.gz.
File metadata
- Download URL: ask_ron-1.0.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e511b8bd8e128f63cb19469932cf9bf7985fb1faa23b6bd2e5338e8b61c035df
|
|
| MD5 |
cae727c04bd26964ce7f83930e19a871
|
|
| BLAKE2b-256 |
d6cc9fdf5da609660ff05bc0f21a143f40fb4b5c05deaea08c76cfad05de8f39
|
File details
Details for the file ask_ron-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ask_ron-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66608f09df8487c93e1a1945e1fa02b97a424798bd8d62b89f5fc60989a38d77
|
|
| MD5 |
e809e584998453cad0d51e8178696633
|
|
| BLAKE2b-256 |
6a4e53b65d1468d1e41df93f51cde5b3f0b7754e28452448443e77fb256bcd27
|