Emotional support for developers
Project description
devmood - Emotional Support for Developers
devmood is a playful Python package that gives developers quick emotional support during coding sessions.
It helps turn debugging stress into momentum with encouragement, small-win celebrations, sarcastic advice, and ASCII hugs.
Project Description
devmood includes four functions that all accept arguments and return a str:
debug_encouragement(error_type: str) -> str
Returns a supportive message based on the error type.celebrate_small_win(task: str) -> str
Celebrates progress for a completed coding task.passive_aggressive_advice(topic: str) -> str
Returns playful sarcastic advice tied to a topic.ascii_hug(name: str) -> str
Returns a personalized ASCII hug.
PyPI
Install and Import
Install from PyPI:
pip install devmood
Import in your own project:
from devmood import (
debug_encouragement,
celebrate_small_win,
passive_aggressive_advice,
ascii_hug,
)
Function Documentation and Exact Examples
debug_encouragement(error_type: str) -> str
from devmood import debug_encouragement
message = debug_encouragement("TypeError")
print(message)
celebrate_small_win(task: str) -> str
from devmood import celebrate_small_win
message = celebrate_small_win("wrote my first passing test")
print(message)
passive_aggressive_advice(topic: str) -> str
from devmood import passive_aggressive_advice
message = passive_aggressive_advice("variable naming")
print(message)
ascii_hug(name: str) -> str
from devmood import ascii_hug
message = ascii_hug("Laura")
print(message)
Example Program Using All Functions
- Example script:
example.py
Run it:
python example.py
Contributing and Local Development
1) Clone and enter the project
git clone https://github.com/swe-students-spring2026/3-package-scarlet_macaw.git
cd 3-package-scarlet_macaw
2) Set up virtual environment and dependencies
pip install pipenv
pipenv install --dev
pipenv shell
3) Run tests
pytest
4) Build package artifacts
python -m build
5) Collaboration workflow
git checkout -b feature/your-feature-name
# make changes
pytest
git add .
git commit -m "Describe your change"
git push -u origin feature/your-feature-name
Then open a Pull Request to main and request teammate review.
Cross-Platform Run Instructions
These commands work on macOS, Linux, and Windows (PowerShell), as long as Python 3.9+ and pip are installed:
pip install pipenvpipenv install --devpipenv run pytestpipenv run python example.py
Environment Variables and Starter Data
Secret Configuration Files
Teammates
Project details
Release history Release notifications | RSS feed
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 devmood-0.1.0.tar.gz.
File metadata
- Download URL: devmood-0.1.0.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b2c5f8c9d3af9dde20a129dc1539f67b0a3324f671d4c84b40cbc356bd8bd24
|
|
| MD5 |
947bb5ab5ca74710c9aa9f94d8fee05d
|
|
| BLAKE2b-256 |
3674034e279e03ea424d853e343c8581e4efe9cb2102cd98160729070fdffb98
|
File details
Details for the file devmood-0.1.0-py3-none-any.whl.
File metadata
- Download URL: devmood-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e94de5fdf91b6f796a734a95e8bda1b3cbaae1e7722837a07aca6f99502cc6bd
|
|
| MD5 |
6b41e24bd776134c0ccd9ddd9d09bd98
|
|
| BLAKE2b-256 |
1ce46199443025212e38857fb115c090685647f592ec543bf1e684f0efdb87ff
|