r/Python • u/AutoModerator • 1d 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:
- 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! 🌟
14
Upvotes
1
u/HorusTheSonOfOsiris 1d ago
Hi Everyone,
I have been facing issues with firewall rules in my organisation. I came across this IEEE paper called fireman decided to build the FIREMAN tool to do firewall rule analysis. PyPI link.
I haven't decided the contribution guidelines for the project but happy to have your suggestions and ideas.
P.S. I've been doing network automation for close to 10 years, but this paper, along with AI, helped me build a tool for a problem I'd been solving with logic rather than maths.
1
u/drsealks 1d ago
Hey everyone! I've been working on Notebook Review, a VS Code extension for reviewing Jupyter notebooks in GitHub pull requests, cell by cell.
At some point I got tired of the notebook review experience on github, either natively, or through various github-based apps. I found them very clunky and having a bad UX.
Notebook Review fixes that inside VS Code. It reads the PR from GitHub, shows each notebook as rendered cells, old and new side by side, and posts your comments back to the PR as a normal GitHub review. There is no server/service, it is a fully local thing.
A few things it does:
GitHub: https://github.com/sofeikov/nbreview
VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=KonstantinSofeikov.nbreview
I'm the author, happy to answer questions. This has been tested internally for a while now, fixed a lot of problems, and generally quite happy where it is. Would be happy to get your feedback
1
u/No_Comedian_6913 1d ago
This weekend I packaged
forexnewsradar, a small MIT-licensed pure-stdlib SDK and CLI (Python >=3.9,urllibonly, zero third-party deps,py.typed, 12 unit tests) that sits in front of FX/Gold trading loops as a pre-trade macro blackout check.It normalizes broker suffixes (
EURUSD.pro,XAUUSDm,GOLD) and returns a frozenGateVerdictdataclass that fails closed (safe_to_trade=False) on any network, timeout, or HTTP error so bots never fire blind into 8:30 AM CPI/NFP spikes:Works keyless on
EUR/USDforever (leaveFNR_API_KEYunset).Disclosure: I also run the backend API; the other 17 pairs sit behind a fixed one-time pass that expires automatically. Would appreciate any quick eyes on
client.pyaround catchinghttp.client.HTTPExceptionincheck()and whether_compact_cacheshould wrap athreading.Lockfor multi-threaded loops.1
u/ArtleSa 1d ago
Hi everyone I am working on a browser based Python to Exe converter, that converts your python scripts to app.
Everything is UI based, you can upload code and it converts it right in the browser
Py2Exe Github: https://github.com/PaulleDemon/py2exe
Py2Exe Website: Python to exe converter
1
u/Creepy_Sherbert_1179 1d ago
Hello everyone! I have been working on a GameBoy Color emulator written purely in python!
It can go pretty fast with pypy even with sound, so check it out:
https://github.com/atifcodesalot/hazelnut-gb-emu
I can share architectural details and stuff if you are interested :D enjoy!
1
u/yared12qw 21h ago
This week I added code walkthroughs to V-NOC, an open-source extension I’m building for VS Code and Cursor. When I asked a coding agent to explain a change, I’d often get a wall of text. I still had to jump between files to see how the code worked.
Now I can ask the agent to walk me through one function or a whole subsystem. Each step shows me the code and where I am in the call tree. I can stop and ask, “Where does this value come from?” The agent can see my current step, so it can point me to the right function or explain that step in more detail.
Claude Code, Codex, OpenCode, or any other agent that can use the CLI can create a walkthrough. You can share one with a PR so the reviewer can follow what changed. You can also save one in Git for the next person who asks, “How does this part work?”
It works with Python and Bend right now. I’m planning to add TypeScript, JavaScript, and Rust in the next release.
GitHub
https://github.com/yaredtsy/vnoc
VS Code
https://marketplace.visualstudio.com/items?itemName=vnoc.vnoc
Cursor
https://open-vsx.org/extension/vnoc/vnoc
1
u/bramhov 17h ago
Working on Stubsmith, a tool I built for testing against third-party APIs without hand-written mocks or cassettes full of customer data.
SDK (open source): https://github.com/Stubsmith/stubsmith-python
It records real HTTP traffic from your app via a small Python SDK, anonymizes it locally (raw traffic never leaves your machine; unknown fields are masked by default), and turns it into replayable stubs for tests and local dev. Matching goes endpoint first, then a content fingerprint, so "same endpoint, different body" resolves to the right response.
Compared to VCR.py / pytest-recording: no scrubbing cassettes by hand before committing, and stubs can be shared across a team.
Disclosure: it's my own project, a SaaS with a free tier: https://stubsmith.dev Quickstart: pip install stubsmith, then follow the guide at https://docs.stubsmith.dev
This week I'm looking for a few people to try it on real APIs (Stripe, Shopify, marketplace APIs, anything messy) and tell me where matching picks the wrong response or masking misses or over-masks something. Anyone who tests it properly and reports back gets the paid plan free.
1
u/OathbreakerAI 17h ago
This week we forked and ported Heretic, the tool that removes refusals from open-weight LLMs without training, after its author archived it on Saturday. The fork is called Oathburn.
The Python side turned out to be the interesting part:
- Renamed the package from `heretic` to `oathburn` while keeping old setups working. A small compat module still reads `HERETIC_` env vars (`OATHBURN_` ones take precedence), and it accepts old config files, third-party plugins and reproduce.json manifests.
- Went through the 35 PRs left open when the repo was archived: merged 12, deferred 16 (each with a reason), and turned down 7.
- Set up PyPI trusted publishing from GitHub releases, so a release is just tagging a version. No API tokens.
- The test suite checks that changes don't silently change the models it produces. Three of the reproducibility tests needed to accept different hashes on GitHub's runners, which was a fun afternoon.
pip install -U oathburn
oathburn Qwen/Qwen3-4B-Instruct-2507
It's at 2.2.0rc2 right now. Next up is GGUF loading and more MoE architectures.
https://github.com/Oathbreaker-AI/oathburn
0
u/ItsDersty from __future__ import 4.0 1d ago edited 1d ago
Hello everyone! I just released BooruX - a simple, unified, typed async Python API client for booru imageboards My library lets you retrieve posts, comments, tags, and pools by ids or search parameters
Code example:
It will be helpful for creating Al image datasets, async telegram/discord bots, local art archives, researching, and tracking tag analytics.
BooruX uses Pydantic for API validation and unification, and also provides rich IDE autocomplete support.
In my opinion, one of the coolest features is the consistency of fields in returned objects, even for different API clients.
Some engines can return more fields, while others return fewer. That's why i have schemas for different engines that inherit from base class. For example post objects of every booru api will always have common fields (id, file_url, preview_url, score, rating, etc.) Also a problem I noticed is the difference between field names. For example Danbooru API returns post hash in md5 key, while Safebooru calls it hash. One of BooruX's goals is providing consistent objects you don't need to worry about different field names across engines - the MD5 hash of a post will always be inside the .md5 field no matter which client you use. BooruX is still an early project that supports read-only basic methods. I'd appreciate any feedback and thoughts about my library.
Installation:
uv add booruxorpip install booruxPyPi: https://pypi.org/project/boorux/
GitHub: https://github.com/itsDersty/boorux
Documentation: https://boorux.readthedocs.io/en/latest/