Ribbet 0.1.4 | Coderz Repository

ribbet 0.1.4

Last updated:

0 purchases

ribbet 0.1.4 Image
ribbet 0.1.4 Images

Free

Languages

Categories

Add to Cart

Description:

ribbet 0.1.4

๐Ÿธ 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

Clone the repository:

git clone https://github.com/software-students-spring2024/3-python-package-exercise-berries.git


Create a virtual environment:

python -m venv env
source env/bin/activate


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

Bonny
Christina
Damla
Yura

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.