r/madeinpython • u/sunmodza • Sep 30 '26
Aiython – Letting AI handle what Python can't
r/madeinpython • u/sunmodza • Sep 30 '26
r/madeinpython • u/Astronial_gaming • Sep 28 '26
Hey everyone,
Whenever I got an undocumented Python script or try to explain a complex loop to someone, generic LLM chats usually give me a high-level summary but completely misses what actually happened during execution.
That's why for the **IBM Bob 2.0 Hackathon**, our team built **TraceLens,** a web-based workspace that turns Python code into an interactive step-by-step runtime tracer.
Instead of guessing how variables change or littering print() statements across 40 lines, you can step through your script like frames in a video and see what actually happened.
What it does:
Time-Travel Stepping: Step forward and backward through loops and function calls to see how data works frame-by-frame.
Live State Board: Inspect variable changes, mutations, and scope changes in each step.
Safe Insertion Points: Flags stable parts where you can put in a new features without accidentally overriding variables downstream.
AI Explanations: Uses **IBM Bob 2.0** to explain complex execution behavior and generate summaries of the whole code or only a part of it.
2. ModelLens — Machine Learning Pipelines
ML can fail silently. Stuff like data leakage before a train/test split or other pipeline problems that won't necessarily throw an exception, but can still produce misleading results.
ModelLens analyzes data science code for these issues and helps explain what went wrong.
Try it
**Live Demo**: https://tracelens-six.vercel.app/
**GitHub**: https://github.com/Omar-astro/Tracelens
**Hackathon Submission**: https://lablab.ai/ai-hackathons/ibm-bob-2-hackathon/the-overfitters/tracelens
We'd genuinely appreciate technical feedback especially on the UI, the state-tracking flow, and what you'd want from a debugger built around execution traces.
And if you find our project interesting and want to support us in the hackathon, you can like our TraceLens submission on the IBM Bob 2.0 Hackathon page. The hackathon uses community engagement to help surface projects to the judges, so it helps get TraceLens in front of them
Let us know what breaks, what seems useful, or what you'd want to see added next!
r/madeinpython • u/BidForeign1950 • Sep 28 '26
This is my second post about it here, but since a lot has been added in last few months I'm posting this again.
What it currently brings together:
- infinitesimals and infinities as ordinary values (Levi-Civita, 1892; Hahn, 1907; computed with directly by Berz and Shamseddine)
- numbers written in powers of an infinite unit, like Sergeyev's grossone (2003), but with zero treated differently
- standard part, and limits by direct evaluation (Robinson's non-standard analysis, 1966)
- all-order Taylor arithmetic: every derivative from one evaluation (Wengert, 1964; Rall, 1981)
- log and log-log scales, toward transseries (Hardy, 1910; Écalle, 1992; van der Hoeven, 2006)
- divergent series: finite parts kept next to the divergent ones, and Borel–Padé resummation (Borel, 1899; Padé, 1892)
- zero as an infinitesimal, "nothing" as a separate value, and division by zero that can be undone (this project)
- completeness tracking: each result knows which orders it's exact to (this project)
Plus integration, multivariable (probably a dead end) and complex calculus, singularity analysis and a few applications. All made in pure python.
More in the repo: github.com/tmilovan/composite-machine examples under demos and tests.
I'll be happy if you take a look at it:).
r/madeinpython • u/Equivalent-Flan-1590 • Sep 28 '26
Hey all! Over the past few months I’ve been building Hillock, a local memory engine in Python that replaces heavy vector databases and LLM parsing loops on personal hardware.
Traditional local RAG setups burn huge amounts of VRAM just to chunk documents and run vector search. Hillock takes a different approach:
D=10,000D=10,000 ) to check if a question can actually be answered by the database before calling an LLM. If the facts aren't there, it mathematically refuses instead of guessing.The whole pipeline runs in under 1.2 GB of VRAM, or completely on CPU.
I just released v0.7, which adds active disambiguation (it detects vague facts and quizzes the user to clarify them) and proactive conversation suggestions.
Code is open source on GitHub: https://github.com/roandejager/Hillock
Feedback on the code structure or project setup is very welcome!
r/madeinpython • u/Chapper_App • Sep 27 '26
Every small CLI script I wrote ended up with the same while True / try / except ValueError loop around input(). So I turned it into a package.
askr gives you prompts that keep asking until the answer is valid:
from askr import ask_int, ask_choice, ask_multi_choice, ask_yn
age = ask_int("Your age: ", min_value=0, max_value=120, default=18)
days = ask_multi_choice("Which days are you free?", ["Mon", "Tue", "Wed", "Thu", "Fri"])
level = ask_choice("Difficulty?", ["Easy", "Medium", "Hard"], default="Medium")
if ask_yn("Save these settings?"):
...The user can type 1-2, fri for the multi choice or hard for the single choice. Wrong answers get a clear message in red, and the question is asked again.
There are 16 prompts: int, float, text, email, URL, single and multi choice, Enum members, lists (ask_list("Scores: ", int)), passwords with rules, paths, dates, times and a "type 'delete' to confirm" check. Every prompt supports default=, a custom validator= and max_attempts=. All messages can be replaced, a German translation is included, and colors respect NO_COLOR.
People writing small to medium CLI tools, internal scripts and teaching exercises who want solid input handling without a big framework. It's alpha (0.2), tested on Python 3.10 to 3.13 and checked with mypy --strict. No dependencies.
ask_list("x", int) is a list[int] in your editor and ask_enum("x", Size) returns a Size.input(), so it works in any terminal, over SSH and in IDE consoles.pip install askr)Feedback on the API is very welcome, especially on naming and defaults.
r/madeinpython • u/WordleBot • Sep 27 '26
r/madeinpython • u/DistinctHomework3618 • Sep 27 '26
What My Project Does
An eBPF profiler that hooks into CPython internals from kernel space to find latency that traditional APMs can't see. It captures GIL contention with full Python stacks for both holder and waiter, GC pause duration per generation, off-CPU analysis with kernel + userspace + Python stacks combined, request handoff latency in gunicorn/uwsgi, and TCP network health.
Target Audience
Python developers running Django/Flask/FastAPI in production who see unaccounted latency gaps in their APM. Performance engineers debugging Python applications at scale.
Comparison
Pyroscope/Parca are sampling-based CPU profilers. They sample threads running on CPU at regular intervals. When a thread is waiting for the GIL or sleeping on I/O, it's off-CPU and invisible to their sampler. They can't measure exact GC pause duration per generation. This tool is event-driven using eBPF uprobes. Every GIL acquire, every GC pause, every context switch is captured with exact timestamps.
Datadog/New Relic/OpenTelemetry show database and HTTP latency but miss GIL contention, GC pauses, and off-CPU time. That's the unaccounted gap.
Real production impact: GIL wait dropped 80%, GC pauses from 1.27s to 88ms, found a stale nginx upstream IP causing random 504s.
Currently supports CPython 3.11. Contributions welcome.
Source code: https://github.com/deepanshu406/python-ebpf-profiling
r/madeinpython • u/Dev2Creator • Sep 27 '26
A few months ago I published irl-pkg, a jokey installer wrapper. Between versions 1.7.1–1.7.6 I made the classic mistake of pushing to PyPI and not to GitHub — the source only existed in the wheel. Recovering it (unpacking the PyPI wheel and diffing against main) was humbling, and it kicked off a full v2.0 rebuild.
irl (pip install irl-pkg) is a cross-platform terminal command center with two layers:
Serious layer:
irl install <pkg> — universal installer that routes between PyPI / npm / GitHub owner/repo / direct URL automatically; GitHub branch resolved via the API, not hardcodedirl doctor / irl glasses — preflight diagnostics and registry metadata before you install something regrettableirl rollback [ver] — pick any published version from the PyPI JSON API, downgrade via a detached pip childPlayful layer (all opt-in):
Honestly labeled: a hobby project with a genuinely usable core. The installer / doctor / glasses / rollback layer is safe for daily driving on real projects; the games / pet / coin economy is for fun — strictly opt-in, all state in local JSON, no accounts, no telemetry. It's not a production deployment tool; it's a terminal you enjoy opening. Python 3.8+, works on Linux/macOS/Windows, 976 KB wheel, AGPL-3.0.
[tui] extra).shell=True anywhere, CI on 3 OS × Python 3.9–3.13.sys.executable -m pip child (CREATE_NEW_PROCESS_GROUP via getattr, so it doesn't explode on POSIX).Questions I'd love feedback on:
[tui] extra for Textual, requires-python >=3.8 — is 3.8 support worth it in 2026?Repo (AGPL): https://github.com/Dev2Creator/IRL- — PyPI: https://pypi.org/project/irl-pkg/ Disclosure: I'm the author, Anika. Tests: 114 and green; CI on 3 OSes × Python 3.9–3.13.
r/madeinpython • u/Upstairs_Mirror5642 • Sep 25 '26
I'm the author of Kayak, an open-source Python library for applications that need to choose between known options and check those choices against reviewed examples.
A concrete use case is support triage: define billing, shipping, and account support as possible answers; pass in a request; then inspect the selected answer and evaluate it on labeled cases. The application keeps control of what happens next.
Kayak includes:
You can try the provider comparison workflow from the current source checkout with Python 3.11+ and uv:
The default run is offline and uses controlled responses: it demonstrates the integration and report, not model quality. The walkthrough explains how to use real providers and your own cases. Raw responses and partial results are saved.
This is an early release. The README documents current model results and hardware requirements; typed output doesn't establish that a decision is correct.
Kayak is Apache-2.0 licensed and needs no Kayak account. Local inference uses your hardware; optional hosted providers can charge separately. Development and this post are AI-assisted.
I'd like feedback on the Python API and first-run experience. What would you need to evaluate a classifier or request router in your own application?
r/madeinpython • u/pxu-dev • Sep 25 '26
Hi everyone! I'm Paulina, cofounder of Agentic Fabriq. We've been building mnemiq, a Python engine for asking questions about a database in plain English.
The screenshot shows a small concert database. It answers “how many singers are there by country?” and “which stadium has the highest capacity?” But when asked about ticket revenue, it declines because those tables don't have ticket prices or sales data.
You can choose the model, adjust how much schema context it gets, and add business definitions. There's a CLI, a browser workbench, and an MCP server. The workbench lets you inspect the SQL and the tables used for each answer.
It checks queries before running them, but passing those checks doesn't guarantee the answer matches your intended business meaning. That's something you still need to evaluate on your own data.
It's Apache-2.0, and the README includes a seeded demo to try:
https://github.com/agenticfabriq/mnemiq
I'd love feedback on whether the query trace makes wrong answers easier to spot.
r/madeinpython • u/harrywubs • Sep 25 '26
Hey everyone — I’m the developer of Nodyra, and it’s now in public beta.
Nodyra is a self-hosted workflow automation platform where the nodes are real Python. You can build on a visual canvas, write your own nodes, or connect an MCP-capable AI agent to create and edit workflows for you. The resulting graph stays visible and editable, with node inputs, outputs, logs, and errors available to inspect.
For example: ask an agent to fetch records from Postgres, transform them with pandas, and send a summary to Slack. Inspect the generated workflow, choose its Python environment, test it, and publish a version to run on a schedule.
GitHub, setup instructions, and docs: https://github.com/Harshit-repo/Nodyra
There’s quite a bit in the beta already:
Building workflows and working with AI
Python environments, workers, and sandboxing
Triggers, integrations, and data
Self-hosting and team features
Docker Compose is the starting point, with Helm/Kubernetes deployment options too. The platform includes local authentication, role-based access, encrypted credentials, credential connection tests, and unsafe-node policies.
The Community edition is free for permitted personal and internal business use, with resource limits. Nodyra is source-available / fair-code under the Sustainable Use License, rather than an OSI-approved open-source license. Paid tiers raise limits and add capabilities such as OpenTelemetry observability; Enterprise features include SSO/SAML/OIDC, multi-tenancy, audit export, and external key management. License verification works offline.
This is a public beta, so I’m looking for people willing to try it, report bugs, and tell me where the workflow feels awkward. There’s no hosted Nodyra service yet. Also, workflows execute arbitrary Python: the default local execution mode assumes trusted authors, and sandboxing must be configured explicitly.
If you try it, I’d particularly like feedback on setup, MCP-driven workflow creation, environment/dependency management, and Docker or remote-worker execution.
What would you build with it, and what would stop you from using it?
r/madeinpython • u/atellaluca • Sep 24 '26
I've been working on ImportSpy for about two years now, and the project has changed quite a bit from the idea I started with.
The original problem was fairly simple: in a modular Python system, being able to import a module doesn't necessarily mean that module is actually compatible with the system loading it.
It may import successfully while still making assumptions about its interface, environment, dependencies, Python version, OS or runtime configuration that aren't satisfied by the host application.
Over time I ended up treating this less as an import problem and more as an architectural boundary.
That's what ImportSpy is about today.
ImportSpy is an open-source runtime contract enforcement engine for Python modules.
Instead of leaving runtime assumptions scattered through documentation and validation code, you can describe them explicitly through declarative contracts and validate whether a module satisfies them before admitting it into the rest of the system.
A contract can describe things such as module structure, expected functions or classes, signatures and annotations, environment requirements, dependency constraints and other runtime assumptions.
The basic idea is:
module → contract → validation → admission / rejection
One thing I care about is keeping the contract separate from the module implementation itself. The module shouldn't need to know that ImportSpy exists just to be validated by the host system.
Validation can also happen at different boundaries depending on the architecture. Import-time validation gives you very early failure, while an explicit initialization boundary gives the application more control over when compatibility is enforced.
I don't consider ImportSpy a sandbox or a hard security boundary. The goal is architectural governance: making assumptions between components explicit and enforcing them consistently in modular, plugin-based or long-lived Python systems.
GitHub:
https://github.com/atellaluca/ImportSpy
Documentation:
https://importspy.atellaluca.com/
After working on it for this long, I'm especially interested in feedback from people who have dealt with plugin systems, runtime-loaded modules or large Python applications where compatibility involves more than package versions.
I'm also curious whether you've solved a similar problem in a completely different way.
r/madeinpython • u/No-Aside-1232 • Sep 24 '26
I’ve been working on an open-source Python project called Camden Work around a failure case I kept running into:
A worker performs an authorized write. The write succeeds. The acknowledgment disappears. Then the worker dies.
What should the replacement worker actually do?
Camden Work is a small Python/SQLite experiment that recreates that situation locally. Instead of assuming that “no acknowledgment” means “nothing happened,” the replacement has to reconcile against the target before deciding whether another write is allowed.
The part I find more interesting is what happens when the evidence itself is unavailable. The conflicting action has to remain unresolved, but an unrelated authorized task still has to be able to finish. Simply freezing everything isn’t a successful recovery.
The project includes an intentionally unsafe fresh-identity retry alongside the reconciled path so you can inspect what actually changed.
It’s deliberately narrow: 18 local subcases have mapped tests. The separate research catalog contains 283 failure mechanisms. Those are not the same claim.
No model account or API key is needed for the local exercise. It’s experimental and trusted-local, not an exactly-once guarantee for arbitrary APIs.
Quickstart:
https://prohormonepro.github.io/camden-work/quickstart.html
GitHub:
https://github.com/prohormonePro/camden-work
I’d especially be interested in feedback on the Python implementation, the recovery model, or assumptions you think break once this leaves the synthetic SQLite target.
Built by Travis Dillard with Camden, an operator-controlled AI system.
r/madeinpython • u/robinechuca • Sep 23 '26
After two years of work, entierly hand-coded, the audio and video editing library is finally up and running!
Here is the project documentation: https://cutcutcodec.readthedocs.io/latest/
This project is aimed at developers and the signal processing and machine learning community. It is based on Torch and rigorously implements the standards of the International Telecommunication Union.
Unlike moviepy, which is based on the concept of clips, CutCutCodec is based on the concepts of media streams and editing graphs, which are more powerful, but slightly more verbose.
Let see a little basic example:
import cutcutcodec
container = cutcutcodec.read("input_video.mp4") # open the file
stream = (
container.out_select("video")[0] # first video stream
.apply_video_subclip(0, 10) # keep the 10 first seconds
.apply_video_equation("r0", "g0", ".5*b0*sin(2*pi*0.5*t)+.5") # blink blue
)
streams_settings = [{"encodec": "libx264", "rate": 30, "shape": (480, 720)}] # optional
cutcutcodec.write([stream], "output_video.mp4", streams_settings=streams_settings)If you have any feedback on the usage or the source code for me, I would love to hear it!
r/madeinpython • u/pdpthephd • Sep 22 '26
I've been building ProteinMotion, a package that lets you write molecular animations in Python using a Manim-inspired scene API.
You load a structure, choose a representation, then build up the movie with camera movements, labels, residue colors, and transitions. The package exports the video.
The attached calmodulin example uses the Blender EEVEE renderer for depth of field and focus pulls. There's a native GPU renderer too.
It's on PyPI: pip install proteinmotion
You'll need Python 3.11+ and a supported GPU setup. Blender is needed if you want to use EEVEE.
Source and examples: https://github.com/pdpppd/proteinmotion
Would love feedback on the API, especially whether the examples make it clear how to build your first scene.
r/madeinpython • u/ze-fernando • Sep 22 '26
A simple CLI .gitignore generator written in Python. It uses Toptal's API to generate .gitignore files for your projects based on the technologies you specify.
https://pypi.org/project/gignore-cli/
https://github.com/ze-fernando/gignore
r/madeinpython • u/gruquilla • Sep 21 '26
Good morning everyone,
I am currently a MSc Fintech student at Aston University (Birmingham, UK) and Audencia Business School (Nantes, France). Alongside my studies, I've started to develop a few personal Python projects.
Over the past few weeks, I looked into the prime number situation: very often the only technique found online is to learn them by heart linearly or to check divisibility manually. It works, but it has its limitations when doing fast paced interview tests or timed standardised tests.
I came up with a batch approach instead, based on the “wheel of 30”, and built a Jupyter Python game to learn them.
The batching method
Black Batch : The Foundations: 2 3 5 7 11 13 17 19, to learn by heart.
Green Batch : 3s and 9s: 23 / 29, 53 / 59, 83 / 89
Red Batch : 1s and 7s: 31 / 37, 61 / 67
Purple Batch : The Oddities: 41 / 43 / 47, 71 / 73 / 79, 97
What my project (Prime Guess-R) does:
Target audience: Students, teachers, standardised tests applicants (Technical interviews, GMAT, GRE,...)
Comparison : The batch approach makes the memorisation more digestible and efficient than pure-linear projects. The interface is minimalistic but modern compared to existing games, and runs entirely in a Jupyter notebook even offline. It requires a low number of packages to install to run (ipywidgets, ipython).
The repository : https://github.com/gruquilla/prime-guess-r
Thanks for your feedback !
r/madeinpython • u/EFuryLabs • Sep 20 '26
r/madeinpython • u/WordleBot • Sep 19 '26
r/madeinpython • u/Electrical_Delay9822 • Sep 19 '26

Hello!
I recently released a project which is a Python version of Smash Bros, complete with character-specific meters, Final Smash meters and ASCII graphics as well.
Here's the link:
https://github.com/TheOdysseyGamer64/Super-Smash-Bros-Python-Edition.git
As said above, there are special mechanics for certain fighters like Little Mac and Cloud, and the Final Smash (for all characters) and the special mechanics meters can charge up, just like in the real game. I attempted to make it as close to the real game as possible, but some areas are yet to be polished perfectly.
I also released v1.1.0 of the game, where I added Ness and Duck Hunt Duo as characters that aren't so great at packing a punch, but still fun to play as.
Thank you for reading and I hope you enjoy playing!
r/madeinpython • u/Fantastic_Cicada_805 • Sep 18 '26
Here's the Github Link
Today i made my first full program using python, i call it 'terminote', it's a task managment app that's run completely on the terminal, it's quite simple now (there's even some bugs i need to fix tmrw) but i learned a lot (like file management, pyInstaller, bat files and Inno) and i also wanted to share this achievement with everyone here to maybe get feedback.
note : currently the app installer (in releases) raises a warning from windows defender, if anyone knows how i can 'verify' my app or make it so defender doesn't hate I'd be glad to know
r/madeinpython • u/Fit-Reaction242 • Sep 18 '26
jev-lint /path/to/vault on my 99-page wiki produced 1,267 questions in about 114 seconds and 16 findings: 2 contradiction signals, 1 stale signal, 1 missing page, 12 unresolved markers. the estimated input-token cost based on returned usage was about $0.024. one real run, no accuracy benchmark.
the cli parses an obsidian vault locally. TODO/FIXME/[?] markers and missing wikilink targets come from that pass. for possible contradictions and stale claims it picks candidate claims and sends that text to typesafe jev, a typed judge model, so it is not fully offline. a jev api key is required and api usage is paid. the cli is mit-licensed with no locked paid version.
--dry-run previews question count and cost without api calls. a full run writes a self-contained report.html with line references and never edits notes. semantic results are flags, never verdicts, and the scan is candidate-based.
pipx install git+https://github.com/vayungodara/jev-lint
https://jevlint.vayun.net https://github.com/vayungodara/jev-lint
jev-lint is my project. agents wrote most of the code; i set the constraints and own the decisions.