Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ask_ron-1.0.0.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

ask_ron-1.0.0-py3-none-any.whl (2.7 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