r/Python • • 4d ago

Daily Thread Sunday Daily Thread: What's everyone working on this week?

Weekly Thread: What's Everyone Working On This Week? šŸ› ļø

Hello r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!

How it Works:

  1. Show & Tell: Share your current projects, completed works, or future ideas.
  2. Discuss: Get feedback, find collaborators, or just chat about your project.
  3. Inspire: Your project might inspire someone else, just as you might get inspired here.

Guidelines:

  • Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
  • Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.

Example Shares:

  1. Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
  2. Web Scraping: Built a script to scrape and analyze news articles. It's helped me understand media bias better.
  3. Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!

Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟

33 Upvotes

23 comments sorted by

7

u/PlacidBrendan_329 4d ago

Just cobbled together a script that checks if my local taco joint has any surprise menu items by diffing their PDF menu against last week's version. The "ghost burrito" has appeared twice now and I'm starting to think the chef is messing with me.

3

u/Winter_Student3495 3d ago

Type hints everywhere this week

2

u/roid_meerkat 4d ago

I’m trying to build a DSL similar to terraform to manage my proxmox cluster for my homeserver. I wanted to learn how to build a compiler and thought this was a good place to start. Honestly has been a challenge but made good progress this week!

2

u/Ok_Step1507 3d ago

Made a script as a beginner in high school Ā which visualizes CO2 emission trends and compares countries with info like GDP, population and more Please start it, it will help a lot for my university application. Link:Ā  https://github.com/rapanjeetsingh/python-project

2

u/russellvt 4d ago

Not getting sick after spouse is home from hospital after a bought of pneumonia.

1

u/heikkitoivonen 4d ago

For a few months my code review process has consisted of having an agent review the GitHub PR first, sending the feedback, waiting for the author to address the findings, and repeating until the agent can't find anything to complain. Then I will review the PR myself in the browser, and may occasionally ask the agent that did the earlier reviews questions about the code. At some point the number of ongoing PR reviews just became impractical to manage; I had dozens of agent terminals open with no indicator to know what the next step for each terminal was.

So I built my own TUI code review dashboard to manage the above process: https://diffbutler.com/.

The dashboard shows what is the next action for each PR, and I can start the agent review with one button press. Another button to swap into the agent session to see what it found and decide what to do with it. Another button to open a browser window at the PR. And so forth. I have been using the app for several weeks, and it has been very helpful.

Some caveats: it is very much vibe coded, and it is not security hardened against malicious PRs. If you don't trust the people sending you PRs to review, you should do reviews from a restricted sandbox.

DiffButler is open source under the MIT License, and the source is on GH: https://github.com/heikkitoivonen/diffbutler. It is in Beta, and I would be interested in hearing what you think about it.

1

u/jftuga pip needs updating 4d ago edited 4d ago

I worked on this just because I thought it was an interesting problem to solve. It was also fun to go back to old-school coding without AI again. I did use it to create the README, Explainer text, doc strings as well as helping me when I got stuck. I asked for hints only and no solutions.

midnight-stats - Computes the mean, median and standard deviation of times of day that cluster around midnight, such as bedtimes. A plain average of 23:50 and 00:10 gives 12:00. This gives 00:00.

1

u/Individual_Yard846 3d ago

working on next version of memory-pulse, basically memory enforcement, prevents coding agents at the edit level from making old mistakes.

1

u/yared12qw 3d ago

I am building V-NOC, an open-source VS Code and Cursor extension that helps you explore large codebases one function or subsystem at a time.

Instead of jumping between files, you can follow call trees, see how functions connect, and focus on one part of the system while hiding unrelated code.

I recently released v0.3, which adds search, a CLI, and skills for coding agents. Agents can now explore code, create and update documentation, and organize it around functions and classes.

The docs are stored as Markdown and tracked with Git, so both developers and agents can work with them.

Currently supports Python, with JavaScript, Bend, and Rust planned for the next release.

GitHub: https://github.com/yaredtsy/vnoc

VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=vnoc.vnoc

Open VSX (Cursor and other editors): https://open-vsx.org/extension/vnoc/vnoc

1

u/p3rdy 3d ago

This week I got Claude Code running against a local model with [Flama](https://github.com/vortico/flama), the open source (Apache-2.0) Python framework I maintain for serving ML models and LLMs as APIs.

Three commands:

pip install "flama[llm,pydantic]"
flama get --family llm --source huggingface mlx-community/gemma-4-E2B-it-qat-4bit
flama serve --model file=mlx-community_gemma-4-E2B-it-qat-4bit.flm,url=/,name=gemma

Then point Claude Code at it:

ANTHROPIC_BASE_URL=http://127.0.0.1:8000/anthropic ANTHROPIC_AUTH_TOKEN=local claude

Tool calls go through, so it reads and edits files like it does against the real API. The same server also speaks the OpenAI and Ollama APIs, so any client that takes a base URL works without changes:

from openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:8000/openai/v1", api_key="local")

flama get packs the Hugging Face model into a single .flm file, and that file runs on MLX on Apple Silicon or vLLM on Linux with CUDA. The small model above is just for trying it; for real coding work you'll want a bigger one.

Under the hood it's a full ASGI framework, so the model can sit next to your own routes in the same app.

1

u/mr-figs 3d ago

Started getting back into my game recently. Aiming for Steam's Next Fest next year so I'm currently working on making the levels as good as they can be, squashing bugs and removing anything that's not good quality.

As for the tech stack it's

  • Python
  • Pygame
  • Tiled as my level editor
  • Reaper as my DAW to make music

1

u/Solaris-Trades 3d ago

Been building a local desktop trading desk in Python (FastAPI + SQLite + async polling loop + vanilla JS UI) and spent this past week running its first £500 live test on IG UK's REST API.

The main architectural puzzle was keeping LLM API costs near zero while monitoring 17 markets continuously:

  • Plain Python handles all background polling, spread checks, RSI math, and hard position-sizing clamps at Ā£0 token cost.
  • Only when price velocity, news, or retail positioning crosses a deterministic threshold does Python wake up 4 blinded domain prompts, an adversarial risk critic, and a strategist using Pydantic structured outputs.
  • Also used Playwright + FFmpeg this weekend to script a 60-second automated walkthrough of the local FastAPI dashboard.

Finished Week 1 up at £674 across 26 deals, though midweek bugs (broker minimum stakes on stock indices and an SQLite lesson table that gave the bot stage fright after 21 entries) forced a big Friday refactor. Wrote up the full Week 1 notes and trade log on my website if anyone is curious.

1

u/WillAdams 3d ago

Still working on my Literate Program for CNC in PythonSCAD: https://github.com/WillAdams/gcodepreview

Failed to use all of my credits on flet.dev last month, but made a bunch of skeletons of apps which I was planning on disassembling and inspecting with an eye towards architecting something which would actually be both workable and maintainable.

Currently distracted by the new version of PythonSCAD adding GUI support for interaction when coding, but haven't been able to get it running (probably a Windows issue, or my inability to understand something):

/r/OpenPythonSCAD/comments/1y0y84l/tutorial_turn_your_pythonscad_design_into_a_class/

1

u/CKL-IT 3d ago

What My Project Does

Ghost in the Droid is a Python package (pipx install ghost-in-the-droid) that lets an LLM agent drive a real Android phone. The 1.6 headline is captcha solving with a human in the loop: the agent fills the form, pauses and calls you, you solve the captcha on the phone, and it finishes the job. Demos of all four vendor captcha pages: https://ghostinthedroid.com/guides/human-in-the-loop/

1.6 also adds a Skill Hub with 117 skills for 113 apps. A skill is a small YAML bundle with an optional helpers.py, and a hard skill replays a known route through an app with no LLM. Across 99 before/after recordings, hard skills cut tokens by a median of 90% (maintainer-run, not independent). The ghost skill CLI covers the lifecycle (scaffold, validate, test, run, submit):

pipx install ghost-in-the-droid
ghost skill search calculator
ghost skill install ghost/calculator

Submitted Python helpers go through a static analyzer before they run.

Target Audience

People who want to script or automate a phone from Python and don't want to pay LLM tokens for the same screens every run. It's meant for real use, but the evidence so far is maintainer-run, so check a skill's files and run records before you trust it. Browse them at https://ghostinthedroid.com/skills/

Comparison

Other open source LLM phone agents such as DroidRun and Mobile-Agent keep what they learn private to the agent, tied to a model, and none we found ships a public hub of deterministic skills that replay with no LLM. Tasker and MacroDroid have large shared libraries, but they're trigger and action rules, not app routes an agent can hand work to. We also need an LLM or a person to write a skill in the first place, and a skill can break when an app updates. This comparison comes from our own survey of public READMEs and docs as of October 2026.

Repo (MIT): https://github.com/ghost-in-the-droid/android-agent

I'm the author, happy to answer questions. What would you automate on a phone if it were this easy?

1

u/Strong-Leg-9636 3d ago

Working on VoxScribe, a free, MIT-licensed dictation app for Windows in Python (PySide6 + faster-whisper). Hold a hotkey in any app, talk, and the text is typed into the focused window, all transcribed locally.

Two Python pieces from this week that might interest someone here:

Detecting password boxes without a new dependency. Dictation should never type into a password field. Classic Win32 edits are easy: check the ES_PASSWORD style with user32 through ctypes. Browsers and modern apps need UI Automation’s IsPassword property. Instead of pulling in comtypes or pywinauto, it calls the IUIAutomation COM interface through raw vtable calls in ctypes, on its own thread with its own COM apartment. Every question has a short timeout, because a hung app can stall a UI Automation call for seconds and the hotkey must never wait on that. A timeout counts as ā€œnot a password boxā€, so a slow app never blocks dictation.

Re-transcribing without retyping everything. If a word comes out wrong, pressing F8 within two minutes runs the same in-memory recording again, through a bigger Whisper model if one is downloaded, or the same model with beam search (beam 5 instead of greedy). Then it diffs the old and new text and sends only the backspaces and characters needed to fix the tail. Before retyping, it checks that the foreground window and the last typed text haven’t changed, so it can’t backspace into something else.

Repo: https://github.com/ahmedhmam1994/voxscribe-ai-voice-dictation

1

u/pyrefly_kyle git push -f 2d ago

optimizing performance for our type checker!

1

u/ryuuzaki 2d ago

I released anymerge 0.1.0 last week. It merges dataclasses, TypedDicts and Pydantic models field by field, with the merge rule in each field's type annotation.

u/dataclasses.dataclass
class State:
    status: str
    total: Annotated[int, Reducer(operator.add)] = 0

state = merge(State(status="pending"), {"status": "running", "total": 3})
state = merge(state, {"total": 2})
# State(status='running', total=5)

Fields without a reducer take the new value. Any two-argument function works as a reducer, and merge returns a new instance instead of changing the old one. I started it while building long-running AI agents, where the code that merged each step's changes was spread all over the codebase.

pip install anymerge (add [pydantic] for Pydantic 2). Python 3.11+, MIT. It's 0.x, so the API can still change in minor releases.

Docs: https://anymerge.jian.fyi/ Ā· Code: https://github.com/jianyuan/anymerge

I'd like to hear where a per-field approach doesn't fit your code, and which reducers you'd want built in 😊.

1

u/leekooteekoo 2d ago

im trying to teach myself scientific python! ive never learned any coding language but i want to be an astrophysicist, so I installed astropy and all its dependencies and i’m working on following the astropy website’s tutorial on spectroscopic data reduction! im mostly through the first page!

1

u/Much_Bonus1838 2d ago

I'm overwhelmed with the existing big name harnesses, each one having its own way of creating agents (no ISO/PEP standard), needing huge stacks with many abstractions just to build simple RAG and agentic workflows, at least in my case. So, I decided to build a vendor-neutral (ideally) framework whose core has ~1k LOC and works with local or hosted models.

I just released version 0.1.0 LLM Harness Lite (pip install llm-harness-lite), a small, vendor-neutral Python harness for building agents, wiring RAG (pgvector and Qdrant), and consuming MCP tools without pulling in a large framework.

The core (src/llm_harness_lite) uses only the Python standard library, with optional extras ([openai], [anthropic], [pgvector], [qdrant], [mcp]) for provider SDKs and stores. It is async-first (Agent.arun), tracks token usage and USD cost estimates (with per-model overrides), supports exact and semantic caching (CachedLLM), and uses an explicit caller-supplied routing policy (LLMRouter) rather than silently inferring tiers.

Repo: https://github.com/abadiape/llm-harness-lite

I'm mainly looking for architectural feedback on a few specific choices:

  1. Zero-dependency core vs. caller boilerplate: Keeping the core stdlib-only makes it easy to read and audit, but does it push too much integration or normalization work onto the caller?
  2. Explicit routing (LLMRouter) + caching (CachedLLM): Routing takes a deterministic policy function over messages, tools, temperature, and named routes so cache keys stay predictable. How are you handling model routing and caching in practice without introducing hidden behavior?
  3. Async MCP lifecycle (PersistentMCP): Bridging MCP client sessions and tool schemas into an agent loop has plenty of async/cancellation edge cases. Anything you'd handle differently in MCPClient / PersistentMCP or sync-vs-async tool execution?

I'm curious about how others have structured lightweight harnesses once prompts, tools, and retrieval start growing. I'm not saying I have the Ultimate Harness; on the contrary, humbly, I want to see whether this holds water and could be useful to others as a base to build upon. Any advice and/or feedback will be really appreciated.

0

u/Brick-Sigma Pythoneer 4d ago

I’ve been finalizing my final year university project this week, which is an LLM pipeline to help lecturers at my uni plan projects. Today I’m finalizing the smaller QoL features like a system monitor dashboard to keep track of all the docker containers and Ollama instance, and fixing bugs here and there before my panel defense.