Skip to main content

AI-powered personal coding and wellbeing assistant for Shreya.

Project description

🚀 shreya-PA

AI-powered personal coding & wellbeing assistant for Shreya

Python 3.10+ License: MIT PyPI


✨ 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 — no hardcoded data.


📦 Installation

pip install shreya-PA

Set your 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+
  • groq Python SDK
  • A valid GROQ_API_KEY environment variable

📄 License

MIT License — see LICENSE for details.


💜 Made with love for Shreya's coding journey.

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

shreya_pa-1.0.1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shreya_pa-1.0.1-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file shreya_pa-1.0.1.tar.gz.

File metadata

  • Download URL: shreya_pa-1.0.1.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

Hashes for shreya_pa-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2443fa9dd690eb89c0c15d4aef7e17efea6f8a26689127e52a10888cedc44d24
MD5 d2d986e6bd1dbb3dec3335c3ec37cb98
BLAKE2b-256 366c004496f3da1b54b31f5b850962f1949e3db7c79f337be018cce5234b7bdc

See more details on using hashes here.

File details

Details for the file shreya_pa-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: shreya_pa-1.0.1-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

Hashes for shreya_pa-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ece832dc5bea692291e964d781e9e7a85510ef5eb71324bca167813a8da83ce
MD5 102deb78bd6b5467e4d82895cd8db83d
BLAKE2b-256 d7d7281d6cd583942347f4213035af0c0b308fd05dff139da8f47f78fd892043

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page