just4fun

A fun package with 4 interactive functions for your entertainment.


Keywords
python, package, build, tutorial
License
Other
Install
pip install just4fun==0.1.1

Documentation

CI / CD

Python Package Exercise

Welcome to just4Fun - a lighthearted Python package designed to bring a little joy and levity to developers' lives. This package includes four fun, interactive functions.

PyPi Package

This was an exercise to create a Python package, build it, test it, distribute it, and use it. See instructions for details.

Team Members

Edison Chen Natalie Wu Chelsea Li Jacklyn Hu

Usage

Installation

pip install just4fun

Example Program

A sample program demonstrating all package functions is included. Run main.py to explore the functionalities of just4fun.

To Test Functionality + Run Tests

pytest

4 Functions

8 Ball Predictions

Input = question for the 8 ball

Variations:

  • If the input is too long, reject the question, the 8 ball doesn't want to think about it.

  • If too many questions are asked, the 8 ball needs a break.

Mood-Based Affirmations

Input = mood (i.e. happy or sad)

Variations:

  • Will give you a compliment / affirmation based on your mood.

Make Me Laugh

Input = output type (fun fact or joke)

Variations:

  • Gives you a fun fact or a joke

Copypasta

Input = ouptut type (text or image)

Variations:

  • Text copypasta, image copypasta (image made up of characters / emojis in terminal)