r/Python • u/AutoModerator • Oct 25 '26
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:
- Show & Tell: Share your current projects, completed works, or future ideas.
- Discuss: Get feedback, find collaborators, or just chat about your project.
- 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:
- Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
- Web Scraping: Built a script to scrape and analyze news articles. It's helped me understand media bias better.
- 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! 🌟
27
Upvotes
9
u/tenkei_01 Oct 25 '26
Creating a retro-game theme for mkdocs:
https://github.com/trained-by-humans/mkdocs-pixel-lab
I wanted to make the theme red but I'm worried about the big angry red that sues everyone and everything 😅
2
u/p3rdy Oct 25 '26
I'm working on Flama, an open source (Apache-2.0) ASGI framework I started in 2018 to take a trained model to a production API with as little ceremony as possible. These days it's a full framework where your API, your models and your MCP tools live in the same app.
Type hints drive everything
The annotations are the only source of truth. As a route,
GET /quote/?instances=3&hourly_rate=0.25gets its query parameters validated from the hints (a bad value is a 400 with the field and the reason), and the OpenAPI docs list both parameters and theQuoteresponse. As an MCP tool, the same hints become its input and output JSON schemas. One function, two interfaces, nothing to keep in sync. The same mechanism drives dependency injection: handler parameters are resolved from their types at startup, through components you can write yourself.Models are just resources
Each model is a single
.flmfile with its weights, metadata and metrics, whether it's a scikit-learn pipeline, a PyTorch network or an LLM from Hugging Face. The first line gives you/churn/predict/; the second serves the LLM behind OpenAI and Anthropic compatible endpoints, running on vLLM or MLX depending on the machine, next to the rest of your API.A Rust core under the hood
The hot paths (route matching, JSON encoding, request parsing, compression, ...) are compiled Rust, built with PyO3 and maturin. It ships as native wheels per Python version, so you get it with a plain
pip install, no Rust toolchain needed.Also in the box: Pydantic or Marshmallow schemas, CRUD resources from SQLAlchemy tables, DDD repositories and workers, JWT auth, streaming, and
flama upgradecodemods between versions. The architecture is written up on arXiv: https://arxiv.org/abs/2608.187332
u/MostGlove6557 Oct 25 '26
GitHub Repository
[Open Source] I built Pra-Effect to make noisy test logs easier to analyze
Hey everyone! I'm building Pra-Effect, a lightweight CLI tool for analyzing error logs from Python and Node.js applications.
When running test suites or debugging an application, the same underlying error can appear repeatedly across different log entries. Going through those entries manually gets tedious.
Pra-Effect helps by:
The goal is to make repeated errors easier to identify and investigate without needing a full observability platform.
Repository: https://github.com/Genesis410/pra-effect
I'm looking for honest technical feedback, particularly on:
I'm the author, so this is a project showcase rather than an independent review. I'd appreciate feedback on what works, what doesn't, and whether this solves a real problem for your workflow.
2
u/Ourobiris Oct 25 '26
I'm working on a little thing called print ("hello world")
1
u/Few-Entrepreneur6491 Oct 25 '26
This community is motivating me to give my best
1
u/Proof_Difficulty_434 git push -f Oct 25 '26 edited Oct 25 '26
Finalising a big refactor with the new execution model for Flowfile, my visual ETL tool, that enables running the same flow over different backend, locally, on your own servers and support for Polars cloud. Making it better for scaling since the worker compute does not have to live on the same machine as Flowfile core and UI runs anymore.
It basically works like this;
Check it out here: https://github.com/Edwardvaneechoud/Flowfile
1
u/Legal-Pop-1330 Oct 25 '26
I'm working on significant hardening/polish two of our core APIs.
treekle
This library serializes and deserializes any python object to a plain python tree (dicts, lists) or directly to JSON in msgspec speed (sometimes slightly better/sometimes slightly worse) except:
- is strongly typed
- doesnt require a custom container
- doesnt require special annotations/decorations
sagent
This library facilitates any LLM provider and auth (like LiteLLM) in a strongly typed python API with well defined (pythonic) resource management idioms. Its "killer feature" is that it supports asynchronous tool calls and hot self-mutation. This means you can talk with the agent while jobs run and _about_ those jobs.
Both are Apache 2.
1
u/69Zane69 Oct 25 '26
I’ve been working on EnvGuard, a small Python CLI for a Git footgun:
.gitignorewon’t untrack files already committed, and ignored files can still be force-added.envguard auditfinds tracked or unignored dotenv style files;envguard check-stagedchecks staged paths before a commit. It follows Git’s ignore rules, supports custom filename patterns, and checks filenames without reading file contents, so it isn’t a secret scanner.If you try it, I’d appreciate feedback on false positives and monorepo edge cases or any improvements or just a note: 😄
https://github.com/ashmit044/envguard
1
u/ImaginationVarious30 Oct 26 '26
What My Project Does
Free proxy lists are mostly dead, and some of the live ones are worse than dead: they inject content or log traffic. proxy-scraper pulls HTTP/SOCKS4/SOCKS5 proxies from 700+ sources in parallel and only keeps one if it passes all of these:
It learns which sources actually yield working proxies and uses ETags so unchanged lists aren’t re-downloaded. Output is txt/json/csv, plus proxychains/Clash/curl exports.
--serveruns a local rotating proxy on 127.0.0.1:8899, and you can pick the exit via username (country-de,session-x).Dependencies: just
richandcertifi. Python 3.9–3.13, Linux/macOS/Windows, MIT.Target Audience
People testing geo-dependent behaviour, scraping hobby projects, or learning how proxies work. It’s not for anything with passwords or personal data, and the README says so: free proxies are untrusted by definition.
Comparison
Most proxy-list repos publish whatever answered a TCP connect hours ago. This checks at use time, filters honeypots and tampering, tests real TLS, and ranks its own sources by yield (
--list-sources).https://github.com/maximilianfeix/proxy-scraper
Feedback on the validation steps is very welcome, especially checks I’m missing.
1
u/krahim04 Oct 26 '26
I've been working on puppetcam: a cartoon avatar for video calls that moves like you.
I keep my camera off in a lot of meetings, and a black square felt worse than a face. It uses MediaPipe's face landmarker to read the webcam, maps the blendshapes to a small 2D cartoon, and appears as a normal virtual webcam in Meet/Teams/Zoom.
All local, on CPU, ~2 ms to draw a frame. If you walk away, it keeps blinking and lip-syncs from your mic.
https://github.com/cesaredavidepace/puppetcam
1
u/Atiriko It works on my machine Oct 27 '26
Packed my algorithmic music generation software ready for web, ios and android. I've shared this project here about a year ago and got very positive response. It is very much updated now. Completely free to use and no sign up required. Original Post music.loomworkz.com
1
u/Full_Resolution_5962 Oct 27 '26
Hola construí contraste es una herramienta de línea de comandos y librería en Python que analiza el diff de un cambio y señala patrones de reward hacking en agentes de código: tests eliminados o con menos aserciones, casos especiales que devuelven el valor que espera un test, sobrecargas de eq que siempre devuelven True y código que detecta si corre bajo pytest. No tiene dependencias, funciona con Python 3.9 o superior y emite texto, JSON o SARIF. https://github.com/esraderey/contraste
1
u/sulci_cache Oct 27 '26
Sulci 1.0 – an open-source (Apache 2.0) semantic cache for LLM calls. When a new query means the same thing as a past one, it returns the cached answer instead of calling the model again, even when the wording differs. Context-aware: pass a
session_idand lookups blend in recent turns.pip install "sulci[sqlite]", with six backends (SQLite, Chroma, Qdrant, FAISS, Redis, Milvus) and adapters for LangChain, LlamaIndex and LiteLLM.A rephrase can occasionally match the wrong answer, so we publish how often: on a corpus where 39% of queries have no correct cached answer, it correctly declines 98.9% of the time, and 93.8% of hits are correct (four seeded draws, threshold 0.85, MiniLM). Reproducible from the repo.
Source: https://github.com/sulci-io/sulci-oss
Write-up: https://dev.to/sulci_cache/sulci-10-a-context-aware-semantic-cache-for-agents-and-the-number-most-caches-dont-publish-1e56
1
u/GianniMariani Pythonista 29d ago
YIDL - Yet another IDL is released on pypi. YIDL is a compiler compiler for Python. You can generate decorators like dataclasses (see yidl-dataclasses) or similar decorators that do transactions so you can have a transaction manager manage when fields are mutatable and when they roll back or commit (see yidl-lifecycle). You can even make them implement, undo, redo for infinite depth undo (see yidl-undoable).
YIDL uses astichi (see pypi) for AST stitching and identifier hygiene.
See https://pypi.org/search/?q=yidl&o=
The code is all on GitHub.
1
u/Impossible-Lake-2839 29d ago
I'm building OpenProspect, a Python 3.11+ self-hosted prospecting pipeline. It has separate lead discovery and job-search tracks, uses Docker Compose for supporting services, and keeps lead data local. The Python side coordinates scraping, website checks, email verification, scoring, CRM sync, and reply handling. Campaigns start as drafts until sending is explicitly enabled.
Source and setup docs: https://github.com/Bhanuteja005/openprospect
I'd value feedback on the Python package layout and setup experience, especially from anyone who has maintained multi-service CLI projects.
1
u/alexprengere 29d ago
Edison is a Python library for parsing EDIFACT messages efficiently. Instead of treating a message as a flat list of segments, it models messages as a syntax tree: segments can define groups of child segments, recursively.
You define the syntax tree once, then parse, validate, or pretty-print messages against that structure. It works by converting the syntax tree to a state machine of possible transitions between segments.
* Hackernews discussion: https://news.ycombinator.com/item?id=50195535
* EDIFACT format: https://en.wikipedia.org/wiki/EDIFACT
* GitHub: https://github.com/AmadeusITGroup/edison
* PyPI: https://pypi.org/project/edison-parser/
1
u/soasme 28d ago
I like writing parsers and interpreters in my part time. And this time, I pick the worst to implement: Python!
Claude Code / Opus 5.5 is more than great. TBH, if I were to implement it, I expect it to take me a few months dedicated time to get it done (but even that, not as close as what coding agents can achieve).
With a little help of a well written specification, C Python as oracle, TLA+ for formal verifications, unit test, this is what it is now:
Try: pip install small-python.
It's almost full Python 3.15 language support, with most of the builtins but without any Libs.
https://github.com/soasme/small-python
1
u/ArtificialElegance 28d ago
RustScenic: built to be the simplest, fastest way to run regulatory-network analysis.
GitHub: Ekin-Kahraman/rustscenic
What the project does
RustScenic rewrites core pySCENIC and SCENIC+ analysis stages in Rust, with a Python API and AnnData inputs. It includes gene-network inference, motif enrichment, AUCell scoring and scATAC topic modelling. The published package installs with:
python -m pip install rustscenicTarget audience
Single-cell RNA-seq and multiome researchers, especially Python users dealing with runtime, memory or setup problems in regulatory-network workflows. It is developed with the Huang Lab at Mount Sinai.
Comparison
The current README reports a matched GRN benchmark on 1.3 million mouse-brain cells: 3.06x faster than sparse Dask arboreto on 16 CPU cores, with 78.7% lower peak sampled process-tree PSS. This measures the inference stage, excluding preparation and loading. Network rankings differ; biological equivalence and full output parity are not claimed. Conditions and measurements: https://github.com/Ekin-Kahraman/rustscenic#performance
For a no-install first look, inspect a saved endothelial-cell network: https://ekin-kahraman.github.io/rustscenic/demo/endothelial/
Feedback on installation, AnnData inputs or Python API ergonomics would be useful.
Shared on behalf of the RustScenic project. AI-assisted drafting.
1
u/Traditional_Yogurt 28d ago
Over the last four months, the Finance Toolkit has gained portfolio optimization, ETF analysis, yield curve models and a full econometrics module. I've shared this project before, 3 years ago by now: https://www.reddit.com/r/Python/comments/15femrf/ive_made_a_finance_toolkit_with_50_financial/
The idea behind the Finance Toolkit stays the same. Ask five websites for a company’s P/E ratio and you get five different numbers, because each calculates it its own way and rarely says how. In the Finance Toolkit, every one of the 500+ methods is written out in the open, so you can see exactly what goes into a number. Most also come in multiple variants such as quarterly or yearly, trailing or rolling, (lagged) growth or as a Z-Score against its own history.
What’s new:
For example, you can now build a maximum Sharpe or risk parity portfolio and see how it would have held up during the financial crisis, check how much two ETFs actually hold in common, or compare an option market’s implied volatility with what the stock really did. Next to that, the econometrics module works on any series you give it, so you can use all 500+ metrics for identifying regimes, structural breaks and regression techniques as well. It’s all free and open source.
Use it in Python, or connect the Finance Toolkit MCP server to Claude or ChatGPT and simply ask. See https://www.jeroenbouma.com/projects/financetoolkit or https://www.jeroenbouma.com/projects/financetoolkit/mcp
1
u/HOOD_OOS 26d ago
Turning a raspberry pi 5 with an AI hat into an alarm system that connects to all cameras on the local network and detects humans when armed and sends an alarm with video footage to the alarm monitoring centre.
1
u/py_curious 26d ago
I work at Anaconda and this and every week recently I've been working on Kilo Desktop. Embedded AI-native Python notebooks, Environment management, local inference and access to open source models for agentic data science. You can tey it for free.
https://blog.kilo.ai/p/desktop
1
u/GetForgeOps 25d ago
What My Project Does
error tracking client for python with a strict privacy mode where the exception message never leaves the process. it normalizes the message (emails, quoted values, ids, numbers stripped out), hashes it, and only sends the hash, so errors still group but stuff like KeyError: 'Jane Doe' doesn't end up on someone else's server. got some good feedback on the normalization rules over in r/rails a couple weeks ago and folded it in
source: https://github.com/Luke-Popwell/forge-ops-tracker-python
Target Audience
python teams running real production apps whose error messages can contain customer data. the client is MIT but it reports to my hosted service, ForgeOps, which has a free plan. it's not self hosted, so skip it if you need that
Comparison
the usual approach is to send the message and scrub it with patterns, which only catches what the patterns expect. here the text just doesn't get sent, so you can't read the raw message in the dashboard. that's the real tradeoff, you still get the exception class, stack trace and counts but have to reproduce it or check your own logs for the details
1
u/Roy197 25d ago
Working on Bound to Rot, an isometric ARPG I've been building in Python 3.12 + Raylib for the past 6 months. It's a dark western loot roguelite: no XP, gear lives in your organs with Rot instead of durability, permadeath deletes the whole character, and hit resolution runs through a deterministic Entropy system instead of raw RNG rolls. I open sourced the whole codebase under GPL v3 in October, ~180 pytest tests, GLSL darkness shader, item-generation engine, save migrations: https://github.com/MangasMango/bound-to-rot
Anyone else doing game dev in pure Python? Happy to trade notes on making raylib-py behave.
1
u/Low-Story5395 22d ago
repovet – checks a Git repo *before* you open it, install it or let an AI agent read it.
It flags VS Code tasks that run on folder open (the "fake job interview" scam),
install scripts that download and run code, hidden instructions in CLAUDE.md /
AGENTS.md / Cursor rules, and encoded payloads. Static and offline; it never runs
anything from the repo.
pipx install repovet
repovet scan https://github.com/owner/repo
Rule-based, so it can be bypassed – on a sealed blind list of 30 attack variants
it misses 15, and the README says so. Feedback on false alarms or missed cases
very welcome: https://github.com/m3xXmo0/repovet
1
u/BeneficialBass4665 22d ago
I've been working on a small open-source Python CLI called JSONL Candidate Align.
It ranks text records from structured JSONL files using character trigrams and numeric overlap. I also added a
validatecommand to check whether saved scores and rankings still match the original inputs.One example: changing a saved score from 1.0 to 0.5 triggers a
SCORE_DRIFTfailure, even when the candidate and its rank stay unchanged.It's intentionally limited to lexical matching, not semantic search. The input schema also uses fixed type labels, so it's not a general-purpose search tool.
Python 3.11+, MIT licensed. Built with AI assistance and human review.
GitHub: https://github.com/xmmyyx/jsonl-candidate-align
I'd be interested in feedback, particularly on the validation approach and whether this would be useful in other JSONL workflows.
0
u/russellvt Oct 25 '26
It's still Saturday across the US and Canada.
0
u/amirfish Oct 25 '26
I'm the maker of CCC.
What My Project Does: it runs a local Python standard-library server with a browser UI for coding-agent session history, conversations and parent/helper grouping. The demo shows a real Claude Code question-hook interaction with staged sessions.
Target Audience: developers supervising several coding-agent sessions who want the context in one board. It complements existing CLIs and does not replace model/provider subscriptions.
Comparison: rather than being a new coding-agent runtime, it reads engine-specific histories and exposes the controls each supported engine actually has. The support matrix lists differences and limitations.
https://github.com/amirfish1/claude-command-center
Free local dashboard; model/provider fees are separate. Source available under FSL-1.1-MIT. Demo uses real UI, staged sessions and AI voiceover; the real question-hook interaction is Claude Code.
33-second video demo: https://www.reddit.com/r/ClaudeCode/comments/1xeot43/i_kept_missing_questions_from_my_coding_agents_so/
0
u/True_Extreme6205 Oct 25 '26
SnakTUI — a feature-rich terminal Snake (combos, power-ups, persistent atomic-JSON leaderboard) built with Textual, with headless Pilot tests. Pure(?) Python, runs on Termux, Linux, or anything that has Python. https://github.com/Mark44928/SnakTUI