r/madeinpython • u/k3lly-jbr • 12d ago
Testing my work
Gumawa Ako ng Isang program na nag dedelete ng file only sa approve at safe directory
r/madeinpython • u/k3lly-jbr • 12d ago
Gumawa Ako ng Isang program na nag dedelete ng file only sa approve at safe directory
r/madeinpython • u/ClassicAsh0612 • 12d ago
r/madeinpython • u/ATEC_Technologies • 12d ago
Hi! I'm [AGE] and I've been building **Apsi**, a programming language for AI and physics.
It reads like Python, checks physical units and tensor shapes before the program runs, and installs in one step: no Python, PyTorch or CUDA toolkit needed.
The part I'm most excited about: it trains models on NVIDIA GPUs with its own kernels, generated on your machine from just the display driver, and keeps the card at a steady ~77 °C.
On my Ryzen 5 5500 + RTX 3060 12GB (same model, same data):
- Training a 10.9M-param GPT: **Apsi 151,744 tokens/s** vs PyTorch 2.14 126,993 (1.19x)
- Running Qwen2.5 fully on the card: 0.5B ~210 tok/s, 3B ~46, 14B ~20
It can also convert Python and PyTorch code to Apsi.
It's still young and has rough edges, so I'd really appreciate people trying it on their own hardware and code and telling me what breaks. Built with the help of Claude (Anthropic).
- Website & docs: https://apsi.dev
- GitHub: https://github.com/ATECTechnologies/apsi
r/madeinpython • u/media_quilter • 12d ago
I made a little IP Port scanner and Operating System Detector for use in the terminal. It uses the Python-Nmap library and Nmap.
You can enter an IP address and it will scan the top 1000 TCP ports to detect if they are open, what services are running on them and attempt to identify the operating system.
You can check it out on github:
https://github.com/LaurenAshbee/ip-port-scanner.git
Remember: only test this against IP addresses you own or have explicit permission to test.
Cheers!
r/madeinpython • u/ManusTheGallicPlague • 12d ago
Everyone's shipping an "AI pentester" this year. I built the opposite.
ARIES has exactly one rule, and the whole thing is bent around it: \\the facts come from code, with the evidence sitting right next to them.\\ No model decides whether something is vulnerable. If an LLM touches it at all, it only \reads\ the results and explains them — it never gets a vote. It runs fully offline, and the core doesn't import a single third-party package. Pure standard library.
Here's why that matters to me: a scanner that \thinks\ it found something is worthless. So every lane has to \\prove\\ it.
\- Every \`VULNERABLE\` finding hands you the exact \`curl\` that reproduces it — generated from the same request the lane actually sent, so the PoC physically can't lie about what happened.
\- Every active lane ships with its own benchmark: it has to catch the vulnerable fixture \\and\\ shut up on the safe one — plus an adversarial round of sane-but-sneaky traps it's forbidden to fire on. One command runs the lot and fails CI if anything drifts. The tool proves itself before it's allowed to judge anything else.
\- A scope allowlist is enforced inside the single HTTP probe, at the very bottom — so no lane, present or future, can reach a host I didn't authorize. Safety by construction, not by good intentions.
\~28 lanes across the web surface (SQLi, XSS, SSTI, IDOR, SSRF, CORS, JWT, path traversal, CRLF, XXE, GraphQL, TLS, open redirect, CSRF, mass-assignment…), SARIF/JUnit export, OpenAPI-driven dispatch. Core is pure stdlib, Python 3.9+. It's v0.1.0 and I won't oversell it: it's built for your own infrastructure and authorized labs, not mass scanning, and the README is blunt about where it stops. But what's in there, I stand behind — because it stands behind itself.
Demo GIF is at the top of the repo. Tear it apart — I actually want the criticism, especially on the detection logic and the false-positive guards.
r/madeinpython • u/ClassicAsh0612 • 13d ago
r/madeinpython • u/rewards-by-code • 13d ago

Hi all. I just published my first open-source project and wanted to share it here, since this is the crowd it was built for.
Wizard Central Toolkit (Apache 2.0, on PyPI): a router — the Wizarding Router, command `wiz` — plus 12 wizards, small specialist tools that each do one job well. Every wizard answers to both its short command (codeguardwiz) and its full name-command (codeguard_wizard). 147 subcommands total, plus an interactive REPL in the Godfather Wizard with 39 slash command forms. Standard library only, apart from two small display libraries. Everything runs locally, and no model is required — the tools below are deterministic and each works on its own.
A few favorites:
- Code Guard Wizard — static code audit with plain verdicts and severities
- Python Wizard — parse-only Python checks plus a secrets scan that redacts values by default
- Write Wizard — a consent wall for file writes: propose → preview → commit, with backups and rollback
- Read Wizard — ALLOW / DENIED verdicts on raw shell commands
- Debug Wizard — traceback autopsy and error census, with CI-ready JSON reports
Install: pip install wizard-central-toolkit
GitHub: https://github.com/rewardsbycode-eng/wizard-central-toolkit
PyPI: https://pypi.org/project/wizard-central-toolkit/
Similar & alternatives: standalone linters, shell utilities, and CLI tool collections each cover pieces of this. How this differs: it groups small, mostly standard-library, deterministic tools under one router, and its file-changing tool goes through a consent wall — propose, preview, commit — with backups and rollback.
Disclosure, in proportion: I'm the author, and I developed this with AI assistance — every commit and release decision is mine. One wizard (Code Guard) can optionally call a local model if you seat one, and the Godfather REPL can generate text the same way. Both are optional extras on the side; the toolkit's main functionality is the deterministic tools above, and everything works with no model installed. Nothing is for sale in this post.
Caveats up front: it's young (v0.2.8), one-person project, first public release — rough edges are possible and feedback is genuinely welcome. The picture at the top is the free toolkit's complete command registry: 13 commands, and that's the whole post.
Thanks for looking!
r/madeinpython • u/RuinWMD • 13d ago
r/madeinpython • u/Tristan_Kruse • 13d ago
A refactor can keep the endpoint working while making the API depend directly on a storage
implementation. The behavioral tests are still green; the dependency direction has changed.
I work on ArchUnitPython, which lets you put that boundary into an ordinary test:
from archunitpython import assert_passes, project_files
def test_api_does_not_import_infrastructure():
rule = (
project_files("src")
.in_folder("**/api*")
.should_not().depend_on_files()
.in_folder("**/infrastructure*")
)assert_passes(rule)
Here `src` contains the application's top-level Python package. The rule can run alongside
the rest of the pytest suite; it inspects source dependencies rather than exercising a request.
The library also has cycle and layer rules. It doesn't decide which architecture is right,
and static analysis cannot recover every dependency constructed at runtime. The useful part
is making a boundary the team already agreed on independently checkable.
Which dependency in your project most often needs a “please don't import that here” review comment?
Disclosure: I work on the project. This post was drafted with AI assistance.
r/madeinpython • u/VillageProgress • 13d ago
r/madeinpython • u/Salt_Astronomer_120 • 13d ago
I wrote speedrunner. One daemon per tool imports the CLI once, then forks for each call, so the interpreter start and the imports are skipped. A small Rust client hands over argv, the environment and the terminal. There is nothing to set up per tool: `srr black --check sample.py` goes from 92 ms to 12 ms on a 2-vCPU VPS.
Over 96 commands in Python, Ruby, PHP and Node: geometric mean x5.6, median x4.8. 69 of those only print a version or help text, so they measure start-up alone.
Target Audience
People who run Python CLIs many times a day or from scripts: black, pytest, aws, ansible. Linux and macOS only. The first call of a tool runs natively while its daemon starts, each daemon stays in memory, and the work a tool does after loading is no faster.
Comparison
Lazy imports change a tool's code and load less; this leaves the code alone and keeps everything loaded. dmypy and blackd are daemons for one tool each: the README has a table against them on one small file, blackd with curl comes out ahead, and large projects are not measured.
Where the time goes and how I measured it: https://anthonygosme.github.io/
r/madeinpython • u/Schnidi01 • 13d ago
Hello everyone!
I am working on a modular desktop application kernel built on PyQt6. My goal was to create a robust core application that can be extended exclusively through standalone, independent plugins without having to modify the core code.
In this short video, I demonstrate how the core starts up, how the custom MDI window manager behaves, and how new modules can be installed at runtime directly from a .ZIP archive.
How the plugin system works under the hood:
modules.ini, and registers it in the system.UI / UX Highlights:
Technologies used: Python 3, PyQt6, QSS.
r/madeinpython • u/DependentNo2823 • 14d ago
r/madeinpython • u/ManufacturerKey6917 • 14d ago
A common way a deploy breaks: everything installs fine on your laptop, then the Docker build on an ARM server or an Alpine image sits there compiling some package from source for ten minutes, or dies because there's no wheel for that platform at all.
wheelgap checks that up front. Point it at your lockfile and the platforms you ship to, and it tells you, package by package, whether pip/uv will get a prebuilt wheel, have to build from source, or can't install at all.
uvx wheelgap -t linux-aarch64,musl-aarch64 -p 3.13
Reads uv.lock, pylock.toml, poetry.lock, pdm.lock, Pipfile.lock and requirements.txt, and finds them on its own
Covers Linux (glibc and musl), macOS, Windows, iOS, Android and Pyodide, plus free-threaded 3.14t
--dockerfile Dockerfile reads the target straight from your final FROM line
--explain shows every rejected wheel and why ("manylinux_2_17_aarch64 is a glibc wheel; musl needs musllinux")
--json / --markdown output, a GitHub Action and a pre-commit hook
--offline for CI with no network
One dependency (packaging)
There's also a tracker that runs it nightly against the top 5,000 PyPI packages across 42 platform/Python combinations: https://wheelgap.github.io/tracker/
The part I'm most proud of isn't the code. wheelgap is two days old and has had 78 PRs merged from 21 contributors, many of them first-timers. Every issue says which files to touch and what to test, you can ask to have one assigned to you, and reviews usually land within hours. If you're learning Python and want your first real PR merged into a tool people use, there are good first issues waiting.
Coming in the next release: private package indexes (--index-url) and checking only the uv extras/groups you actually install.
GitHub: https://github.com/wheelgap/wheelgap
PyPI: https://pypi.org/project/wheelgap/
Feedback is very welcome, especially a package wheelgap gets wrong. That's the bug I most want to hear about.
r/madeinpython • u/mariusmitrofan • 14d ago
r/madeinpython • u/criticized_Egg • 14d ago
Spent quite a while building a quant trading project, mostly focused on backtesting, research and avoiding misleading results.
Never found a strategy I could confidently validate, but the tooling seemed worth sharing.
It includes Python backtesting code, risk and reconciliation logic, research workflows, and offline demos.
It's MIT-licensed, with no live trading or profitability claims.
GitHub: https://github.com/privEgem/open-quant-trading-lab
If you work with Python, what would you improve or add?
r/madeinpython • u/Key_Organization527 • 15d ago
I'm one of the maintainers of Spug, a self-hosted operations app for small and midsize teams. Its backend is Python/Django, the interface is React, and Paramiko handles SSH connections to Linux hosts. No Spug agent is needed on managed hosts.
The goal is to bring recurring operations into one web interface:
For example, select several hosts, run the same SSH command and inspect each host's output in the browser. This is an operations application rather than a Python library.
For a look at the Python code, start with the execution views and host models:
https://github.com/openspug/spug/tree/master/spug_api/apps/exec
https://github.com/openspug/spug/blob/master/spug_api/apps/host/models.py
Spug is free and open source (AGPL-3.0), with Docker installation and English/Chinese interfaces. The three screenshots show the English interface with sample data.
Source: https://github.com/openspug/spug
English guide: https://ops.spug.cc/en/docs/about-spug/
Demo: https://demo.spug.cc/ (admin / spug.cc; resets hourly). Please don't enter real credentials.
SSH private keys are stored without application-level encryption, so treat the panel and database as privileged systems.
Which Python-side workflow would you be interested in exploring: SSH execution, deployment pipelines or scheduled tasks?



r/madeinpython • u/Trick-Hurry-825 • 15d ago
this is self-promotion btw. But just once JUST ONCE.
I have a project called "Worse Code" here it is. Its adjustable programming language.. made in python. Yea its sounds weird. But click the link and maybe you will like it.. Thanks guys for letting me (i hope so) self-promote.
r/madeinpython • u/programmersd21 • 15d ago
r/madeinpython • u/ManufacturerKey6917 • 15d ago
What My Project Does
wheelgap reads your lockfile (`uv.lock`, `poetry.lock`, `pylock.toml`, or a pinned `requirements.txt`) and checks every pinned package against the platforms you ship to: `linux-aarch64`, Alpine/musl, macOS, `win-arm64`, and free-threaded Python 3.14t. For each one it reports a compatible wheel ✓, "builds from source", or "can't install". It runs offline from the lockfile in about a second, respects environment markers (so a Windows-only `pywin32` isn't flagged on Linux), and exits non-zero on gaps, so it also works as a CI check. There's a GitHub Action too.
uvx wheelgap -p 3.13 -t alpine-arm64
Target Audience
Anyone shipping Python to more than one platform: Docker images on ARM/Graviton or Alpine, apps with Windows-on-ARM users, and people trying out free-threaded 3.14t. It's small, tested on 3.11–3.14 across Linux, macOS and Windows, and fine to put in CI today.
Comparison
pyreadiness.org and hugovk's free-threaded-wheels tracker cover the top few hundred PyPI packages for one question each. wheelgap checks *your* dependency set, at *your* pinned versions, for any mix of platforms. The manual alternative is `pip download --only-binary=:all: --platform ... --python-version ...` once per target, which stops at the first failure and doesn't understand lockfiles.
Repo (MIT): https://github.com/patrickballard/wheelgap
Feedback welcome, especially wheel filenames it gets wrong.
r/madeinpython • u/Ok_pettech • 15d ago
Running AutoGPT locally without Docker often trips people up because the official maintainers shifted primary development to AutoGPT Platform, which requires containerization. However, if your goal is running the agent loop natively on your host machine, AutoGPT Classic inside the classic directory still supports direct Python execution.
The setup requires Python 3.12, Git, and Poetry. A common mistake is attempting to launch Poetry commands from the repository root or trying to install dependencies via standard global pip, which breaks the environment locked inside poetry.lock. You must execute all Poetry commands directly from the classic subfolder, verify Poetry targets the correct Python 3.12 interpreter, and configure your model provider credentials inside classic/original_autogpt/.env.
I put together a complete technical breakdown that walks through dependency resolution, workspace directory isolation, Llamafile local endpoint routing, and diagnosing environment failures across Linux, macOS, and WSL 2.
Check out the full walkthrough: https://interconnectd.com/blog/335/how-to-run-autogpt-without-docker-step-by-step-python-guide/
r/madeinpython • u/127001-sweet-127001 • 16d ago
For anyone whose Python project has grown past a few files: I added dependency graph exports to ArchUnitPython so you can inspect how the pieces actually connect.
I maintain the library. Its main job is checking architecture rules through tests, but the graph is useful before you even decide which rules to write.
You can generate an HTML report and a Mermaid diagram from the same project:
from archunitpython import project_graph
graph = (
project_graph("src/")
.titled("My Python project")
.collapse_to_folder_depth(2)
)
graph.export_as_html("reports/dependencies.html")
graph.export_as_mermaid("reports/dependencies.mmd")Point project_graph at your import root. Collapsing the graph to folders keeps a larger project readable instead of giving you one box for every file.
You can keep the Mermaid output with your documentation or attach the HTML report as a CI artifact. It gives you something concrete to inspect when a supposedly separate feature has acquired dependencies on half the project.
The graph follows imports the analysis can resolve. It's an import graph, not a runtime call trace, so it won't explain every relationship created dynamically while the program runs.
This is available in the published Python package, with no separate diagramming service to set up.
r/madeinpython • u/GuidanceBrief612 • 16d ago
**What My Project Does**
pipeverify takes two snapshots of a table (CSV, Parquet, JSON, DuckDB or any SQLAlchemy source) and checks what a change did to the data: lost or duplicate keys, row count shifts, null creep, changed values on matched rows, column totals and new category codes. It returns PASS, REVIEW or BLOCK, with a plain-English report. Runs on DuckDB, ships as a CLI, a Python API (\`pipeverify.verify(before, after, key="id")\`) and a GitHub Action.
**Target Audience**
Data engineers and analytics engineers who ship pipeline, SQL or dbt changes, including changes written by AI coding agents. It's alpha but usable in CI.
**Comparison**
dbt tests and Great Expectations check rules you write in advance. pipeverify checks what a specific change did, so it catches problems nobody wrote a test for. Unlike row-diff tools, it turns the diff into a verdict with thresholds, so it can gate a merge.
**Repo**: https://github.com/akshaysharma1088/pipeverify (Apache-2.0, free). Feedback very welcome, and there are small good-first-issues if anyone wants to contribute.