AI-powered personal coding and wellbeing assistant for Shreya — powered by Groq LLM.
Project description
🚀 shreya-PA
AI-powered personal coding & wellbeing assistant for Shreya — powered by Groq LLM.
✨ Features
| Module | What it does |
|---|---|
dsa |
Progressive DSA hints (no solutions, no code!) |
leetcode |
Daily practice topic suggestion + motivation |
tech |
Surprising tech & CS facts |
health |
Break & sleep reminders for developer wellbeing |
motivation |
Inspiring quotes for programmers solving DSA |
focus |
Pomodoro-style timer with AI start/break messages |
surprise |
Heartfelt birthday messages with coding encouragement |
All responses are AI-generated via Groq LLM — no hardcoded data.
📦 Installation
pip install shreya-PA
Set your Groq API key
# Linux / macOS
export GROQ_API_KEY="your-api-key-here"
# Windows (PowerShell)
$env:GROQ_API_KEY = "your-api-key-here"
# Windows (CMD)
set GROQ_API_KEY=your-api-key-here
Get a free API key at console.groq.com.
🚀 Quick Start
from shreya_devbuddy import dsa, tech, leetcode, health, motivation, surprise
# Get a DSA hint (level 1–3)
print(dsa.hint("binary search", level=1))
# Daily LeetCode reminder
print(leetcode.daily_reminder())
# Random tech fact
print(tech.fact())
# Health reminders
print(health.break_reminder())
print(health.sleep_reminder())
# Motivational quote
print(motivation.quote())
# Birthday surprise message
print(surprise.message("Shreya"))
Focus Session (Pomodoro Timer)
from shreya_devbuddy import focus
# 25-minute focus session (default)
focus.session()
# Custom duration
focus.session(minutes=10)
📁 Project Structure
shreya_devbuddy/
├── __init__.py # Package exports
├── ai.py # Core Groq LLM integration
├── dsa.py # DSA hint system
├── leetcode.py # Daily practice reminder
├── tech.py # Tech facts
├── health.py # Break & sleep reminders
├── motivation.py # Motivational quotes
├── focus.py # Focus timer with AI messages
└── surprise.py # Birthday message generator
🧠 DSA Hint Levels
| Level | What you get |
|---|---|
| 1 | High-level direction / concept hint |
| 2 | Approach / strategy suggestion |
| 3 | Optimization tip / edge-case insight |
dsa.hint("two sum", level=1) # "Think about using a hash-based structure…"
dsa.hint("two sum", level=2) # "Try a single-pass approach with a dictionary…"
dsa.hint("two sum", level=3) # "Consider the trade-off between time and space…"
⚠️ The AI will NEVER give full solutions or code — only guided thinking.
🔧 Requirements
- Python 3.10+
groqPython SDK- A valid
GROQ_API_KEYenvironment variable
📄 License
MIT License — see LICENSE for details.
💜 Made with love for Shreya's coding journey.
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 shreya_pa-1.0.0.tar.gz.
File metadata
- Download URL: shreya_pa-1.0.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
baed12f5749ca81973ac3987f923db6adc178ff66c5f5ab26ce9d36ab592682c
|
|
| MD5 |
6eec528754b387b19fecb255cf31a44d
|
|
| BLAKE2b-256 |
d5b230eb60d019bf1b9020a71cb287688758080ec6d2aea0566a6d6829b7d8dc
|
File details
Details for the file shreya_pa-1.0.0-py3-none-any.whl.
File metadata
- Download URL: shreya_pa-1.0.0-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abbc8fdbac584a9de8517bd84be1c635d38c4d900f67130da4b53ca7a01eeb8b
|
|
| MD5 |
2dd5e83bc98721bff15ca2f02d87f4da
|
|
| BLAKE2b-256 |
c49a8bdc27da72d32f44c9f3ef46b2448b0f447e60f238c18863aa0a059abd17
|