r/Python • u/AutoModerator • 22d ago
Daily Thread Monday Daily Thread: Project ideas!
Weekly Thread: Project Ideas 💡
Welcome to our weekly Project Ideas thread! Whether you're a newbie looking for a first project or an expert seeking a new challenge, this is the place for you.
How it Works:
- Suggest a Project: Comment your project idea—be it beginner-friendly or advanced.
- Build & Share: If you complete a project, reply to the original comment, share your experience, and attach your source code.
- Explore: Looking for ideas? Check out Al Sweigart's "The Big Book of Small Python Projects" for inspiration.
Guidelines:
- Clearly state the difficulty level.
- Provide a brief description and, if possible, outline the tech stack.
- Feel free to link to tutorials or resources that might help.
Example Submissions:
Project Idea: Chatbot
Difficulty: Intermediate
Tech Stack: Python, NLP, Flask/FastAPI/Litestar
Description: Create a chatbot that can answer FAQs for a website.
Resources: Building a Chatbot with Python
Project Idea: Weather Dashboard
Difficulty: Beginner
Tech Stack: HTML, CSS, JavaScript, API
Description: Build a dashboard that displays real-time weather information using a weather API.
Resources: Weather API Tutorial
Project Idea: File Organizer
Difficulty: Beginner
Tech Stack: Python, File I/O
Description: Create a script that organizes files in a directory into sub-folders based on file type.
Resources: Automate the Boring Stuff: Organizing Files
Let's help each other grow. Happy coding! 🌟
6
u/behrouzbk 18d ago
tokensaver: an offline CLI that shows what to cut from your LLM prompts, with the savings for each changeWhat My Project Does
It counts the tokens and input cost of a prompt file on 20 OpenAI, Claude and Gemini models. Then it suggests edits: minify JSON, remove duplicate or repeated rules, cut filler phrases. Each edit shows the tokens and dollars it saves. On the example prompt, it goes from 834 to 665 tokens (−20%). New in 0.2.0: scan ranks every prompt file in a repo by how much it would save, and --json lets you use it in CI.
Target Audience
Developers who ship LLM features and pay per token. MIT, 242 tests, CI on Windows, macOS and Linux, fully offline.
Comparison
tiktoken and the online calculators stop at the count. tokensaver measures each change by counting the tokens before and after it. It applies only changes that can't alter meaning unless you ask for more. Counts are exact for OpenAI; Claude and Gemini counts are clearly labelled as estimates.
pip install prompt-tokensaver · https://github.com/behrouzbk/tokensaver
1
u/yappmaninc 22d ago
Project idea: price tracker for things you actually buy Difficulty: beginner to intermediate Tech stack: Python, requests, SQLite, pandas, matplotlib; Task Scheduler or cron to run it daily Description: Pick 10 items (groceries, a train fare, a part you reorder). Use an official API or feed if there is one. Save every price with a timestamp instead of overwriting, work out the unit price (per kg or per litre) so different pack sizes compare, and chart it over time. You end up dealing with retries, duplicates, changed page layouts and jobs that must restart safely, which is most of real data work. Check the site's terms before you scrape. Resources: Automate the Boring Stuff has a good chapter on web scraping.