r/madeinpython • • May 05 '20

Meta Mod Applications

28 Upvotes

In the comments below, you can ask to become a moderator.

Upvote those who you think should be moderators.

Remember to give reasons on why you should be moderator!


r/madeinpython • • 56m ago

[Python] plan-auditor: a requirement only counts as met when a command and its output say so

1 Upvotes

Repo: https://github.com/Furox-Art/plan-auditor - 2.6.5, MIT, no required runtime dependencies.

It exists for one failure: an agent says "done" in confident prose, and nothing in the transcript proves it. Here you write a plan whose requirements are declarable, and each step has to end with a recorded verification - a file check or a command with its real output. The evidence record is HMAC-chained, so a later edit shows up as an edit, and a requirement that cannot be reduced to a deterministic check is handed to a human instead of guessed.

It installs three console scripts: plan-auditor, plan-auditor-migrate-seal and plan-auditor-formal. The gate is also usable directly:

pip install plan-auditor
python hooks/gate_hook.py .

hooks/gate_hook.py is the single authoritative gate; scripts/stop_gate.py is the Claude Code side and delegates to it. The repo's own CI runs the README quick start and compares the transcript to real output, hashes included, so the example cannot drift.

One honest limit: it is not an OS sandbox - agent and verifier run as the same OS user - the evidence is tamper-evident rather than tamper-proof since HMAC is only as strong as the key staying secret, and domain meaning that resists a deterministic check stays a human decision.


r/madeinpython • • 1h ago

[Python] eq-layer: tone control as explicit states you can print, assert and route on

1 Upvotes

Repo: https://github.com/Furox-Art/eq-layer - 0.2.6.

"Be more empathetic" is a style instruction, and the failure is structural: you get the same flat warmth for a mild annoyance and for someone escalating. This library replaces the instruction with states.

Per turn it keeps an affect state - valence, arousal, escalation_delta, stance, subtext - so a trend exists as data instead of being re-guessed from each message. An intent classifier keeps the whole posterior over six intents instead of one number, and a one-step Bayes-risk router decides from that distribution whether to act or ask. The two states pick one policy family (mirror, validate_redirect, direct, ask, deflate, repair, hold, boundary), which is then split into orthogonal controls - task_move, social_move, repair_move, realization - so a tone change can't silently drop the actual request. The factored action compiles into a system instruction and prompt prefix.

There is a structural audit after generation too: question budget, required clarification, unsupported privacy promises, repeated repair, low-verbosity overrun. It checks the contract, not facts.

Install:

pip install "eq-layer[ml]"
npm install -g eq-layer

One honest limit: the core claim is untested. No real-model A/B run has been rated, the pre-registered protocol in eval/AB_PROTOCOL.md is pending with zero adjudicated labels, and the steering stays at prompt level - the logit_bias field is a placeholder that is never populated or applied.


r/madeinpython • • 4h ago

I built a tool to turn prospect research into a pitch you can check

1 Upvotes

Developers selling their own products struggle to turn prospect research into a relevant proposal. So I built VentureOS, a swarm of agents that prepares a sourced sales brief, a one-page proposal and an idea for what to build.

It checks that quoted evidence appears in the collected sources and asks for review when important context is missing, rather than silently filling the gaps. The source is free under MIT, live services cost money, and the recommendations still need your judgment.

Looking to any feedback, and if you like it, please star the project:

GitHub: https://github.com/efolley/Venture-OS
X post: https://x.com/_efolley/status/2124259294807797909


r/madeinpython • • 9h ago

I built Pentworks, an open-source CLI tool for managing penetration testing projects — looking for feedback

2 Upvotes

Hey everyone!

I've been working on Pentworks, a Python-based command-line tool designed to help penetration testers organize their work.

The idea for Pentworks came to me when I started practicing bug bounty hunting. I quickly realized that keeping track of notes, endpoints, findings, and all the other routine tasks involved in penetration testing could get pretty messy.

I couldn't find a simple, easy-to-use CLI tool that fit my workflow, so I decided to build my own using Python. I wrote most of the core application myself, while Codex helped me implement some of the features and write the tests.

That's how Pentworks started — a tool designed to help bug bounty hunters and penetration testers stay organized and focus more on finding vulnerabilities rather than managing their notes and data.

The goal is to keep projects, targets, findings, notes, and evidence organized in one local workspace without relying on a web interface.

The project is still in its early stages, and I'd really appreciate feedback from people with experience in penetration testing or Python development.

I'm particularly interested in:

  • Is this something you'd actually use?
  • What features are missing?
  • What would you improve in the architecture or CLI experience?
  • Are there any bugs or usability issues?

GitHub: https://github.com/Sheykder/Pentworks

Constructive criticism is very welcome. Thanks!


r/madeinpython • • 8h ago

[Python] scientific-reasoning-auditor: recompute the reported statistics, abstain when the inputs are ambiguous

1 Upvotes

Repo: https://github.com/Furox-Art/scientific-reasoning-auditor - Python 0.11.0 (HEAD d9f0e14), Node adapter 0.4.0. No required Python dependencies; the PDF/statistics extras bring the optional backends.

It takes a manuscript, extracts the reported statistics and method claims, and recomputes the ones that are checkable: statistic consistency against the stated degrees of freedom, multiple-testing corrections, regression and meta-analysis inputs, power and sample size, declared-DAG adjustment, MCMC diagnostics, ML split manifests. The manuscript stays read-only and findings land in separate report files:

sra audit manuscript.md --out reports/sample

The behaviour that makes it usable is abstention. The newest commit is exactly that: when a discrepancy sits under an undeclared tail or degrees-of-freedom correction, it now abstains instead of declaring a reporting error. Same for the SymPy/Pint/SciPy toolkit checks and the spaCy sentence candidates - they are candidates a human confirms, never truth claims.

Install:

python -m pip install --upgrade "scientific-reasoning-auditor[pdf,statistics]"

There is an npm adapter too, but it is a thin wrapper around the Python engine and the engine has to be installed first.

One honest limit: the published-reference pilot compared the unchanged 0.9.0 engine against historical manual labels for 1120 selected psychology results - 60% decision coverage, 34 of 49 reference errors flagged, 34 of 54 flags agreeing with the reference. That is retrospective conditional agreement on third-party input strings, not whole-paper validation, and it does not test the text extraction.


r/madeinpython • • 14h ago

[Python] nomosguard: a security decision core where the model supplies evidence and the rules decide

0 Upvotes

Repo: https://github.com/Furox-Art/nomosguard - 0.7.11, Apache-2.0, pure Python with no runtime dependencies, Python 3.11+.

The design constraint was to keep a model away from the decision. So the model reads logs, configs and CVE records and writes structured claims, each citing the exact fragment behind it - a log line hash, a config path, a CVE id. A claim without a reproducible citation raises UnevidencedClaimError at append time. What survives goes into an append-only SHA-256 hash-chained ledger, a rule engine derives attack and access paths from that ledger by plain logical inference, and a policy gate answers ALLOW / ALERT / BLOCK with deny as the default. If nothing is derived, the gate returns BLOCK with the reason saying so, rather than an empty allow.

You can watch all of that fail closed in one command: python -m nomosguard.demo_e2e runs a reproducible scenario list, and tests/test_demo_e2e.py pins that table to the scenario registry in both directions.

Install:

pip install nomosguard

One honest limit: it is early development (alpha), and it is a reasoning core rather than a scanner - it does not discover hosts or reach into your infrastructure, it reasons over the events you feed it. Coverage is a Linux gate where CI fails on any skipped test; the Windows job measures 99.64% because the fcntl lock branches and the directory-fsync path cannot execute there.

There is also an MCP client entry point if you want an agent to read events and write claims without ever holding the verdict.


r/madeinpython • • 18h ago

my First Real Python Project, a To-Do app we all needed, DeskTask.

2 Upvotes

it's whole point is tasks on your desktop screen, can drag it anywhere, marking it as completed is dragging it to a done mark that appears on dragging a task, got a tracker too, feel free to try it for free and give me your appreciated feedback, Thanks.

i only used Claude, not Claude code.

here : DeskTask


r/madeinpython • • 21h ago

Get Gitty – a zero-dependency, TLS-encrypted terminal messenger inspired by "Das Erwachen", using GitHub identity instead of passwords.

Post image
1 Upvotes

I built Gitty, a zero-dependency terminal chat written purely with Python's standard library (socket, ssl, sqlite3, urllib).

  • Auth: GitHub OAuth Device Flow (no passwords, no tokens stored on the server)
  • Privacy: Ephemeral rooms in RAM, strict TLS 1.2+
  • Try it: pipx install gitty-messenger or uvx --from gitty-messenger gitty

Repo: https://github.com/Jan-Kirschke/Gitty


r/madeinpython • • 1d ago

The NumPy build of my scientific computing library: same API as the pure-Python one, compiled speed

2 Upvotes

Repo: https://github.com/Furox-Art/scientific-computing-system-2.0 - PyPI scientific-computing-system-2.0 5.5.0, import name cds2, console script cds2.

This is the second half of a pair. scientific-computing-system is pure Python with zero runtime dependencies; this one is the NumPy/SciPy/pandas/matplotlib build of the same project. Same API, so a script can move between them.

It covers the usual ground - linear algebra, statistics, optimization, signal processing, information theory, chaos, Bayesian helpers, metaheuristics, geometry, reinforcement learning - with the compiled backends doing the heavy arithmetic.

Two naming things, because they confuse people every time: "2.0" names the generation of the project, not the release number. The current release is 5.5.0 and PyPI has never published a 2.x version. There was no clever reason for that, it is just how the version line went.

One honest limit: it is not a thin wrapper around SciPy with friendlier names. Where a compiled backend does not cover something, the pure-Python implementation from the other repo is what runs, and it is slow. The repo says which is which per module instead of pretending the speed is uniform.


r/madeinpython • • 1d ago

[Python] quantum-reasoning-skill - keeps several hypotheses alive and collapses only when evidence does it

0 Upvotes

Repo: https://github.com/Furox-Art/quantum-reasoning-skill - Python, version 1.2.2 on PyPI.

The failure it targets: an agent picks an explanation in the first two sentences and spends the rest of the turn defending it.

The skill keeps several genuinely different hypotheses alive, tests each against evidence and tools, explicitly revives an alternative when new evidence arrives, and collapses to the best-supported one only at the end. "Measurement" means evidence collapsing a branch. It is a metaphor, not quantum computing, and the README says so in the first paragraph.

It is model-agnostic. The contract is SKILL.md, and the repo also ships a reference branch controller and a benchmark harness with a deterministic falsification benchmark that runs.

One honest limit, and it is the first question every time: a baseline-versus-skill model evaluation has not been published. This project makes no claim that it improves any language model's accuracy. What exists is the protocol, the controller, and a harness you can run yourself - the most useful contribution right now is someone running that comparison and publishing the result, including a null one.


r/madeinpython • • 1d ago

I built an async Python library that lets you control Spotify without an API key or Premium

Thumbnail
github.com
1 Upvotes

r/madeinpython • • 1d ago

I built LightsToFlag, an F1 race predictor in Python and Streamlit. Tonight’s Vegas pick: Verstappen from P2

Thumbnail
reddit.com
1 Upvotes

r/madeinpython • • 1d ago

Here's why I’m building a home for vulkan python. Why do you care about this community?

Thumbnail
github.com
1 Upvotes

r/madeinpython • • 2d ago

The first beta version of the tawjih package (version 0.13.1) is now available on PyPI!

1 Upvotes

​

https://pypi.org/project/tawjih/

We're excited to share the initial release of the tawjih package for Python developers, designed to \[state the package's function, e.g., facilitate code routing/path management/AI application building\]. Why try it now?

• 🛠️ Lightweight and fast: Designed to seamlessly integrate into your existing projects.

• 🧪 Open beta: All developers are welcome to test the package, find bugs, and share their suggestions for future releases. Package link and documentation: pypi.org

💻 Code repository (GitHub): https://github.com/AlmodinyMk/LLM-tawjih-Model-building

\#Python #PyPI #OpenSource


r/madeinpython • • 2d ago

We built sentropy, a Python package for measuring diversity while accounting for similarities between data points

1 Upvotes

Hi Python community!

I'd like to share an open-source Python package that I've co-authored: sentropy.

The motivation behind it is that traditional entropy measures, such as Shannon entropy, treat every distinct element as completely different. But in many datasets, distinct elements can be very similar to one another.

For example, consider a dataset of protein sequences. Two sequences that differ by a single amino acid are arguably more similar than two sequences that differ at every position. Traditional Shannon entropy doesn't capture this distinction.

Sentropy implements similarity-sensitive entropy measures, based on the mathematical framework developed by Leinster, Cobbold and Reeve.

A few things you can do with it:

  • Calculate similarity-sensitive α, β and γ diversity.
  • Explore different viewpoints using the parameter q.
  • Pass your own similarity matrix or define a custom similarity function.
  • Calculate similarities on the fly, without explicitly constructing a potentially large similarity matrix.
  • Calculate relative sentropy and cross-sentropy.
  • Use PyTorch/GPU functionality.
  • Calculate the Vendi score.

It's not restricted to biological data, either. The package can work with any dataset for which you can define a meaningful similarity function.

For example, the README includes demonstrations using amino-acid sequences and image datasets.

Installation:

pip install sentropy

Links:

I'd love to hear what you think! In particular, I'm interested in how people might use similarity-sensitive diversity measures in machine learning, data analysis, or other areas outside bioinformatics.

Feedback, suggestions, and contributions are welcome!


r/madeinpython • • 2d ago

made a termux tool that checks your code for llama.cpp 1.0 breaking changes before you get burned by them

Thumbnail reddit.com
1 Upvotes

r/madeinpython • • 2d ago

Kiri vs. Podman on Linux: A Python Benchmarking Tool for Different Distributions

Thumbnail reddit.com
1 Upvotes

r/madeinpython • • 2d ago

Animating Multiple Matplotlib Subplots inside a Single Window using FuncAnimation() class & Python

Thumbnail
youtube.com
1 Upvotes

In this tutorial, Learn how to animate multiple line plots (axes) inside a single matplotlib window (figure) in real time concurrently using Python. Here we will learn to create multiple subplots (axes) first using plt.subplots() and then animate those subplots simultaneously inside a single matplotlib window using the FuncAnimation() class and Python.


r/madeinpython • • 2d ago

SnakTUI — Snake with combos, power-ups and a persistent top-10 leaderboard, in pure Python/Textual

Thumbnail
gallery
1 Upvotes

Repo + install: https://github.com/Mark44928/SnakTUI

pipx install git+https://github.com/Mark44928/SnakTUI && snaktui

Unicode block rendering, adaptive layout, full keyboard control.

Combos to ×5 with milestone celebrations, three power-ups

(Speed Boost / Slow Time / Ghost — phase through walls), golden

timed food, hazards, particles, screen shake, 5 themes,

3 difficulties, and a persistent top-10 leaderboard in atomic JSON

(survives Ctrl-C mid-game). Headless smoke tests via Textual's

Pilot — real key events, runs in CI with no TTY.

Runs on any terminal with Python 3.9+. I develop it on Termux —

no PC involved.

Code is AI-agent-written (OpenCode + free models), human-directed.

Gallery: title screen / mid-run with the live RUN STATE panel /

game-over stats screen (with instant replay on R).


r/madeinpython • • 3d ago

So I was looking at all the cool libraries that numFocus has developed. I saw the guy who made of them of lex Friedman. I want create drop ins for the big ones using vulkan compute etc.

Thumbnail reddit.com
1 Upvotes

r/madeinpython • • 3d ago

Coding The PS5 OS For PC (Part 1: Boot Sequence)

0 Upvotes

I've recreated the PS5 boot screen and it runs on my pc, and i thought i'll show you guys!

What are your thoughts?


r/madeinpython • • 3d ago

Construí Blink, una herramienta de CLI para detectar problemas de calidad de datos antes de que se vuelvan un problema

0 Upvotes

¡Hola a todos!

He estado trabajando en Blink, una pequeña herramienta de CLI de Python de código abierto que ayuda a detectar problemas de calidad de datos en archivos CSV, TSV y Parquet.

Revisa valores faltantes, duplicados, valores atípicos y tipos de datos inconsistentes. También permite comparar datasets, detección opcional de anomalías basada en ML y reportes en JSON.

Todo se ejecuta localmente sin modificar tus archivos originales.

GitHub: https://github.com/Gianni300x/blink

De verdad agradecería cualquier feedback o sugerencia.

Si te sirve Blink, considera dejar una ⭐ en el repositorio o seguirme en GitHub. ¡Significaría mucho!

¡Gracias por echarle un vistazo!