Skip to main content

Ribbet is a package that introduces users to Ribbet the frog, a virtual pet that cheers up the user based on different commands. Let's eat bugs together!

Project description

Workflow Status

🐸 FrogPy: Python Package

We are building a frog 🐸 named Ribbet, a virtual pet that has multiple behaviors that can be called upon each with their own unique message/response.

NOTE: This is a python packaged that can be installed and utilized in your terminal. This is not a python package that can be imported into a python file.

The unique responses will be:

  • -h/--help: List of commands
  • hello(name): "🐸: Hi there (name)"
  • encourage: "🐸: You are the smartest frog in the pond!",
    "You got this! Leap by leap!" or
    "You are amazing!" selected based on the frog's mood! (randomly)
  • frogmode: "🐸: I EAT BUGS, let's eat bugs together"
  • feed(snack): "🐸: Thanks for the sweet little treat! (snack) is yummy! Nom nom nom"
  • kill(anything): "🐸: I killed (anything) for you! You are safe now!" or
    "I don't like (anything), I only eat yummy snacks! nom nom nom" selected based on the frog's mood! (randomly)
  • goodbye(name): "🐸: Bye bye (name), go catch some flies for me!"

Install

Install the ribbet module using pip

  pip install ribbet 

Usage

Call ribbet from the command line to interact with your virtual frog while coding.

To access menu with all functions:

  ribbet

Functions:

  • hello
  ribbet hello {name}
  • encourage
  ribbet encourage
  • frogmode
  ribbet frogmode
  • feed
  ribbet feed {snack}
  • kill
  ribbet kill {anything}
  • goodbye
  ribbet goodbye {name}

Command Examples

  • hello
Your-MacBook-Pro:Documents username$ ribbet hello Name
🐸: Hi there Name!
  • encourage
Your-MacBook-Pro:Documents username$ ribbet encourage
🐸: You are amazing!
  • frogmode
Your-MacBook-Pro:Documents username$ ribbet frogmode
🐸: I EAT BUGS, let's eat bugs together
  • feed
Your-MacBook-Pro:Documents username$ ribbet feed worm
🐸: Thanks for the sweet little treat! Worm is yummy! nom nom nom
  • kill
Your-MacBook-Pro:Documents username$ ribbet kill bugs
🐸: I don't like bugs, I only eat yummy snacks! nom nom nom
  • goodbye
Your-MacBook-Pro:Documents username$ ribbet goodbye Name
🐸: Bye bye Name, go catch some flies for me!

How to Contribute to ribbet

  1. Clone the repository:
git clone https://github.com/software-students-spring2024/3-python-package-exercise-berries.git
  1. Create a virtual environment:
python -m venv env
source env/bin/activate
  1. Install dependencies:
pip install -r requires.txt

Make Changes & Testing

  • Add your changes in a new branch
  • Make sure all changes are passing by running:
pytest

Submit Your Contribution

  • Contribute your changes via pull requests

PyPI Website

ribbet 0.1.2

Contributors

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

ribbet-0.1.4.tar.gz (43.4 kB view details)

Uploaded Source

Built Distribution

ribbet-0.1.4-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file ribbet-0.1.4.tar.gz.

File metadata

  • Download URL: ribbet-0.1.4.tar.gz
  • Upload date:
  • Size: 43.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for ribbet-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6fd93315007b08c30d5067d16ed942f6217d7b06e3209187152e5e3838f1fcbf
MD5 a3b23f6172bc8686bd10f1f43d7ee544
BLAKE2b-256 4808f2d8d45973a41d74195a3b84055f4c392d6058ceb30295059e8709720070

See more details on using hashes here.

File details

Details for the file ribbet-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: ribbet-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for ribbet-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 932e9d1dc08937a2fcf28443da4414ac5751ef7d2a6ce7cdf1e11b025f87690a
MD5 9036c89b7ec9185f5154563565880610
BLAKE2b-256 3e2749cc43359502e2c847fcffdb0bb8b80cdcf5107563e153b1824cdbe34b91

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