A package to suggest activities based on mood.
Project description
chugthiskoolaid
Badges
Team members
TABLE OF CONTENTS
Description
Mood Recommender is your ultimate boredom-busting, vibe-matching companion! 🎉 Whether you're feeling happy, stressed, bored, or just looking for something fun to do, this package has got you covered. Get personalized recommendations for activities, books, movies, and music based on your mood—because sometimes, all you need is the perfect song, a great read, or a wild adventure to turn your day around. Just tell us how you’re feeling, and we’ll do the rest. Let the good vibes roll! 😎🎶📖🎬
PyPI Page
You can find the package here: Mood-recommender
Installation
You can import the Mood Recommender package into your projects using pip. Below is how to install the package:
1. Install the package from PyPI
pip install mood-recommender
2. Import the functions in your Python code
from mood_suggester import recommend_activity, recommend_book, recommend_movie, recommend_music
Virtual Environment & Dependencies
1️⃣ Clone the Repository
git clone https://github.com/software-students-spring2025/3-python-package-chugthiskoolaid.git
cd 3-python-package-chugthiskoolaid
2️⃣ Create a Virtual Environment
python -m venv venv
For MacOS/Linux:
source venv/bin/activate
For Windows:
venv\Scripts\activate
3️⃣ Install Dependencies
pip install -r .github/workflows/requirements.txt
4️⃣ Run Tests
pytest tests/
5️⃣ Build the Package
python setup.py sdist bdist_wheel
Usage Examples
For a detailed example of how to use this package, please refer to example.py, which contains comprehensive demonstrations of the available functions. Below is a brief overview of how each function can be used.
1. recommend_activity:
Feeling restless? Inspired? Maybe a little down? Not sure what to do? Let your emotions guide you! No worries—I have just the right activity to match your mood and help you make the most of your day!
How are you feeling now? (happy/sad/stressed/bored/motivated/angry): bored
🎉 activity: Solve a puzzle, play a board game, or try an escape room challenge
2. recommend_book:
Books have a unique way of reflecting and shaping our emotions. Whether you're feeling adventurous and craving an epic journey, or simply looking for a heartwarming story to lift your spirits, there’s a perfect book waiting for you. Tell me how you're feeling, and I'll recommend a story that resonates with your mood and transports you to the world you need most right now!
How are you feeling now? (happy/sad/stressed/bored/motivated/angry): happy
📖 book: The Hundred-Year-Old Man Who Climbed Out the Window and Disappeared – Jonas Jonasson
3. recommend_movie:
Looking for a movie that fits your emotions? Whether you're in the mood for action, romance, or something uplifting, I’ve got a perfect recommendation just for you!
How are you feeling now? (happy/sad/stressed/bored/motivated/angry): angry
🍽 movie: The Revenant
4. recommend_music:
Music speaks when words can’t. Every mood has a melody to match. Tell me how you're feeling, and I'll find the perfect song to match your vibe and emotions!
How are you feeling now? (happy/sad/stressed/bored/motivated/angry): bored
🎵 music: Young Folks - Peter Bjorn and John
Contributing
We welcome contributions! If you would like to improve Mood Recommender, follow these steps:
1️⃣ Fork the Repository
Click on the Fork button at the top-right corner of the repository page.
2️⃣ Clone the Repository
git clone https://github.com/your-username/mood-recommender.git
cd mood-recommender
3️⃣ Create a Virtual Environment
python -m venv venv
For MacOS/Linux:
source venv/bin/activate
For Windows:
venv\Scripts\activate
4️⃣ Install Dependencies
pip install -r .github/workflows/requirements.txt
5️⃣ Create a New Branch
git checkout -b feature-branch
6️⃣ Make Your Changes
git add .
git commit -m "Add new feature"
7️⃣ Push Changes
git push origin feature-branchs
8️⃣ Submit a Pull Request
Go to the original repository on GitHub. Click on Pull Requests > New Pull Request. Select your branch and submit a Pull Request (PR) for review.
📜 License
This project is licensed under the MIT License. See the LICENSE.txt file for details.
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
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 mood_recommender-0.1.2.tar.gz.
File metadata
- Download URL: mood_recommender-0.1.2.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4beea77c57fb372015275bac2c89fb065b127ca879d432df0f0caadb11a6920
|
|
| MD5 |
c0934f2c5d79fcd98cfdba4f0ecc2675
|
|
| BLAKE2b-256 |
0b93004c16a9e71ef83f90c993459d1dc385b4d83a843ec3eefd649ed6ec167c
|
File details
Details for the file mood_recommender-0.1.2-py3-none-any.whl.
File metadata
- Download URL: mood_recommender-0.1.2-py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3bb1254e0d330be6e7ca82fb0f05bbbca24bc87a707694c11491b3f6eef9236
|
|
| MD5 |
086eb36b1556bb15a708eb81e76f6af2
|
|
| BLAKE2b-256 |
7d120acfb25a163549a95df9c2d590f519cd786a5fcba53bb11aacbb1ae2a414
|