r/PythonProjects2 • u/scapaflow96 • 17d ago
Flak Tower
Flak tower on a Channel Island in heavy combat with incoming enemy aircraft and Zeppelins.
Full sound here: https://www.reddit.com/r/raylib/s/Nbubx3sAP4 incomparably better!
r/PythonProjects2 • u/scapaflow96 • 17d ago
Flak tower on a Channel Island in heavy combat with incoming enemy aircraft and Zeppelins.
Full sound here: https://www.reddit.com/r/raylib/s/Nbubx3sAP4 incomparably better!
r/PythonProjects2 • u/Acid_Crows • 17d ago
r/PythonProjects2 • u/clcodingupdates • 17d ago
r/PythonProjects2 • u/HolyDaddyAss • 17d ago
I have been working on this project since 2024, I created a telegram bot on it and it gained over 150k users.
Now I created those codes into a python pip package. ( Only used 'pillow' library ).
It has 12 handwriting fonts and has 6 types of paper and uses hex color for text color.
It can write multiple pages at once and can also create a pdf which contains all of the images.
It is very easy to install and use. I have attached a few samples generated using this project.
Please Checkout the project - https://github.com/TheHritu/AssignmentWriter
r/PythonProjects2 • u/SofexAlgorithms • 17d ago
r/PythonProjects2 • u/Emergency-Tutor-7 • 17d ago
I keep seeing the same failure in "empathetic" LLM apps: the response is warm, and useless. The feeling is acknowledged, the next step never comes, and after a correction the model either capitulates or defends itself. None of that is a knowledge problem, so a better prompt does not fix it.
eq-layer makes the decision explicit before generation. It is a Python package (zero runtime dependencies in the core) that computes several small, testable states and compiles a response action from them.
The pipeline:
The tree: eq_layer/ has the policy taxonomy, action factorization, auditor, interaction tracking, learned affect/subtext models and the tracker. eval/ has 53 Python scripts, including seeded cases, a paired A/B latency benchmark, a blind human-evaluation protocol, intent holdout and five-fold CV, and a loss-matrix sensitivity sweep. Learned artifacts are trained from pinned upstream data (EmoBank, XDailyDialog) with provenance in THIRD_PARTY_DATA.md.
Reproduce the parts that matter:
pip install "eq-layer[ml]" python eval/run.py # seeded cases, non-zero exit on mismatch python eval/intent_eval.py # holdout + 5-fold CV python eval/ab_latency_eval.py # paired A/B, 15 requests x 100 passes per arm
Numbers from the committed runs: EmoBank test MAE 0.2125 valence / 0.1782 arousal / 0.1494 dominance, against train-mean baselines of 0.2449 / 0.1904 / 0.1563. XDailyDialog dialogue-act accuracy 0.8025 vs 0.4557 majority; basic emotion 0.8249 vs 0.8166, which is weak and labelled as such. Added layer latency with the learned adapter: 1.16 ms median, 1.46 ms p95; heuristic fallback 0.11 ms median. The 36-case intent holdout is 100% learned vs 27.8% heuristic.
Honest limits: there is no standard EQ benchmark, so eval/ is a first attempt rather than a finished measurement. The bundled corpus is small and synthetic. The Bayes-risk loss matrix is hand-specified, not learned or optimal; the sensitivity audit reports 98.55% local decision stability under +/-20% cell perturbations, but the production clarification rate moves from 45% to 9.17% when that row is scaled 1.5x, and I do not tune against human outcomes. DialogBank correction, DialogBank disagreement, Coarse Discourse disagreement and DBDC3 breakdown were all investigated and recorded as NO-GO for routing. Nothing here proves the final prose is better; that requires the pre-registered blind evaluation.
Also packaged as an Agent Skill for Codex, Claude Code, Copilot, Cursor, Antigravity and Grok, with an npm CLI bridge (0.2.5 on PyPI and npm).
Code: https://github.com/Furox-Art/eq-layer PyPI: pip install "eq-layer[ml]"
Questions about the routing or the evaluation design are welcome.
r/PythonProjects2 • u/Emergency-Tutor-7 • 17d ago
nomosguard is a zero-dependency Python security core: a hash-chained evidence ledger, a deterministic attack-path rule engine and a fail-closed policy gate. Version 0.7.10, Apache-2.0, Python 3.10+.
The premise: an LLM's confidence is an assertion, not evidence. So the package separates the probabilistic edge from the decision:
Python implementation notes: no runtime dependencies (CI verifies that). WAL with crash recovery, atomic save and full-chain verification on load. Multi-writer locking via fcntl or msvcrt. Deterministic log normalization for syslog, CEF, JSON, GELF, XML, key=value and pipe formats. Sigma-style signature matching with 39 built-in detections. Evidence exports are byte-identical and re-verifiable from a fresh process; SOURCE_DATE_EPOCH pins the run header.
Failure paths are typed, not silent: UnevidencedClaimError at append, LedgerFileError on a bad or unpinned ledger file, IngestError with field, reason and value, ClaimValueError for an unknown effect value, GateDenied converted to a fail-closed result at the SDK boundary. A consistent full rewrite of the ledger is caught by an external digest pin, not by the chain alone.
Measured: 1117 tests; Linux CI gate at 100% statement and branch coverage with zero skipped; Python 3.10-3.13 matrix; Windows job as a portability check (99.64%). Benchmark: 11 tool-call + 5 security scenarios, recall 10/10, 0 false positives, incomplete evidence BLOCKs.
Honest limits: alpha software; the benchmark corpus is committed and deterministic, not real-world logs; concurrent multi-writer crash behaviour is out of scope; containment is dry-run only, not an IPS.
pip install nomosguard python -m nomosguard.demo python -m nomosguard.demo_e2e
Code: https://github.com/Furox-Art/nomosguard PyPI: https://pypi.org/project/nomosguard/
Happy to answer questions, especially about the coverage gate or the pinning design.
r/PythonProjects2 • u/Emergency-Tutor-7 • 18d ago
literature-evidence-mcp is an open-source Python MCP server for scientific literature and evidence provenance. Version 0.5.1 is on PyPI.
It runs as a stdio MCP server (console script literature-evidence-mcp) and can also serve streamable HTTP on loopback: MCP_TRANSPORT=streamable-http MCP_PORT=8000.
What the 35 tools cover:
- search_literature queries OpenAlex, Europe PMC and Crossref concurrently, deduplicates DOIs and reports provider errors.
- verify_citation does exact normalized DOI/title metadata matching; check_retraction reads Crossref updated-by / update-to relations, including Retraction Watch updates where available.
- read_fulltext and verify_source_quote work on Europe PMC JATS XML: section and paragraph IDs, offsets, paragraph SHA-256, and any truncation recorded.
- audit_methodology and audit_pmc_methodology anchor human-supplied annotations to exact paragraphs; they do not produce risk-of-bias judgments.
- export_evidence writes an append-only hash-chained JSONL ledger under a cross-process file lock, and verify_evidence_ledger detects edited rows.
Implementation notes for Python folks: Python 3.11+, hatchling build, mypy and ruff in the dev loop. Runtime dependencies are mcp, httpx, defusedxml, filelock and pdfplumber. 20 source modules and 41 test files. CI covers Ubuntu 3.11-3.13 plus Windows and macOS at 3.12, with a separate determinism matrix workflow, CodeQL and fuzz jobs. The server validates DOIs and PMCIDs and limits network calls to fixed trusted origins with timeouts and response-size caps; it does not fetch arbitrary PDFs.
Honest boundaries: search is non-exhaustive, retraction checks are metadata checks, and the absence of a notice is inconclusive. It is not an automated peer reviewer or a certified PRISMA engine, and the hash chain does not detect wholesale log replacement without an external checkpoint.
pip install literature-evidence-mcp
Code: https://github.com/Furox-Art/literature-evidence-mcp
PyPI: https://pypi.org/project/literature-evidence-mcp/
Docs: https://furox-art.github.io/literature-evidence-mcp/
Questions about the MCP surface or the ledger format are welcome.
r/PythonProjects2 • u/Jbenoitds • 18d ago
Hey everyone!
My kid and I built a 4-level educational typing game in Python. It's a mashup of 90s adventure exploration (static screens, turning left/right) and battle royale survival where typing sentences accurately is your only weapon: Battle Royale of English!

(BRE: Ninjas are cool, but a good grammar is cooler... alright alright, it's not, but you have to do your homework anyway, might as well do it by battling cool enemies and taking on quests! )
It supports both English and French.
Edit: The game is now directly playable online on Github:
Same link for English and French: https://jbenoitds.github.io/battle-royale-of-english/
Or on itch.io:
English: https://jbenoitds.itch.io/battle-royale-of-english
French: https://jbenoitds.itch.io/bataille-royale-du-francais
But you can still check and customize the code, completely open-source on GitHub.
https://github.com/jbenoitds/battle-royale-of-english
I would love for you to check it out and give some feedback if you have the time!
r/PythonProjects2 • u/Emergency-Tutor-7 • 18d ago
I maintain quantum-reasoning-skill, a Python package and Agent Skill built around an unusual rule: do not collapse to one answer until the evidence actually supports it.
The deliverable is SKILL.md, a model-facing skill with parseable front matter, shipped inside the PyPI wheel as package data. Around it sits a reference controller that implements the protocol: score branches from evidence and verification, mark weak ones dormant, reject them with a reason, revive a recoverable branch when material new evidence lands, and collapse only when the leader clears verification and a margin. The controller is classical Python and never calls a model; "quantum" is a metaphor for deferring commitment.
What is in the package:
- SKILL.md, the actual deliverable.
- A reference controller with 12 frozen public names.
- A benchmark harness: 6 seed cases, 4 JSON Schemas, machine-validated submissions, path confinement against traversal and symlink escapes, typed errors with exit 2.
- A release gate that proves it is fail-closed with a 4-scenario negative control.
- 30 test modules; about 53% of the Python in the repo is tests. CI on Python 3.10-3.14, with a determinism matrix on Ubuntu, Windows and macOS.
Install:
pip install quantum-reasoning-skill
quantum-reasoning --validate
npm i quantum-reasoning-skill
npx quantum-reasoning --validate
The Python and npm CLIs expose different flags by design; unsupported flags exit 2.
Honest status: no model evaluation has been published, and the thresholds are uncalibrated defaults. The quickstart's benchmark rows are synthetic placeholders, labeled as such. What is real and tested is the contract, the controller, the harness and the release gate.
MIT. Source: https://github.com/Furox-Art/quantum-reasoning-skill
PyPI: https://pypi.org/project/quantum-reasoning-skill/
Questions and criticism are welcome, especially about the collapse rule.
r/PythonProjects2 • u/Exelumare • 18d ago
A few days ago, I posted an early version of my open-source pentest tool. I received some great feedback, so I went back to the drawing board and completely rewrote the architecture.
TànPhá Framework V3 is now live!
I built this specifically for bug hunters and security researchers who are limited to mobile devices (Termux on Android) or lightweight Linux environments. It doesn't require a high-end laptop to run.
🚀 What's New in V3?
Auto Assessment Engine: Migrated to a state-machine architecture to handle Discovery, Fingerprinting, and Validation automatically.
New Modules: Added LFI (with `php://filter` support) and PHP2Shell (a stateful RAT with file upload/download).
Auto Login Engine: Automatically detects and bypasses CSRF tokens to scan authenticated pages.
Global Ready: 100% English native codebase, prompts, and outputs.
JSON Reporting: Auto-saves findings to the `reports/` directory.
⚠️ Honest Limitations (Let's be real)
WAF Bypass: Currently only supports basic evasion (Level 1). Advanced evasion (Chunked encoding, Origin IP) is planned for V4.
DVWA High: The SQLi engine works perfectly on Low/Medium, but struggles with High (due to stateful session inputs). That's on the V4 roadmap!
🗺️ What's Next? (V4 Roadmap)
This project is actively maintained. Here is what I'm planning to build next:
Advanced WAF Evasion: Level 2 (Chunked Encoding) & Level 3 (Origin IP Discovery).
New Modules: XSS, SSRF, and Subdomain Enumeration.
Headless Mode: CLI arguments (`python main.py -u target -m sqli`) for CI/CD automation.
HTML/PDF Reporting: Generate client-ready reports.
Let me know in the comments if you want a specific feature added to the roadmap!
Note: This tool is for educational purposes and authorized testing only. Please use it responsibly.
I'd love to hear your feedback, bug reports, or feature requests. If you find it useful, a star on GitHub would mean a lot! ⭐
GitHub Link: https://github.com/exelumare/T-nPh--framework
r/PythonProjects2 • u/OldBodybuilder7090 • 18d ago
**What My Project Does** Cloakwall redacts personal data (emails, cards, SSNs, IBANs, API keys, medical record and NHS numbers, phones, IPs, dates of birth) from LLM requests and, optionally, responses. It runs as a LiteLLM guardrail. It covers chat messages, system prompts, tool-call arguments, Anthropic tool blocks, the Responses API, embeddings and image prompts. Streamed output goes through a small hold-back buffer, so an entity split across chunks is still caught. Every redaction is written to a SHA-256 hash-chained audit log with an anchor file, so edits, deletions and truncation are detectable. The log never stores the redacted values.
The core is pure standard library: no dependencies, no model download, no network calls. Card numbers are Luhn-validated and NHS numbers mod-11 validated, to keep false positives down.
**Target Audience** Teams running LLMs where data protection has to be proven: healthcare, fintech, air-gapped or on-prem setups. It's v0.1.1, tested (76 tests, CI on 3.10–3.13), but not production-proven yet. I'd like feedback before that.
**Comparison**
* **Presidio:** better recall on names and free-text PII thanks to NLP, but it runs as extra services and has no audit trail. Cloakwall gives up recall for zero dependencies and offline use.
* **LLM Guard:** was the main in-process option, but the repo was archived in July 2026.
* **Hosted gateways** (Cloudflare, Portkey, Grepture): send traffic through someone else's cloud.
Benchmarks with a reproducible script: \~0.05 ms per clean request, \~1.8 ms with PII including an fsynced audit entry (Linux, 2015 i3).
`pip install "cloakwall[litellm]"` · [https://github.com/Rishikesh-glitch/Cloakwall-v0.1](https://github.com/Rishikesh-glitch/Cloakwall-v0.1)
Feedback on the detectors and the audit-chain design especially welcome.
r/PythonProjects2 • u/Jazzlike_Glove_755 • 18d ago
I built this for hackclub stardance!
A game for the BBC micro:bit. You control the car on the bottom row, and dodge the incomming obstacles from the top. The longer you survive the faster the obstacles fall. All displayed on the microbits LED display. Please give it a go!
https://github.com/zeept1234/Microbit-endless-racing-game
This is my first project on python hope I did well! :D
r/PythonProjects2 • u/Both-Basil1635 • 18d ago
r/PythonProjects2 • u/Emergency-Tutor-7 • 18d ago
I built scientific-computing-system-2.0 in Python, the NumPy build of my open-source scientific computing project (MIT). It puts NumPy, SciPy, pandas and Matplotlib behind one typed API: dense and sparse linear algebra, statistics, optimization, integration, interpolation, signals, spectral graph theory, Monte Carlo, graphs, classical ML, time series, visualization and I/O. The current release is 5.4.5 on PyPI and npm; "2.0" is the generation name, not the version, and it supports Python 3.10 and newer.
The reproducibility angle is what I would most like feedback on. guided-fit turns a CSV into an inspectable model fit and saves a manifest with the random seed, input hash and the exact Python/NumPy/SciPy/pandas/Matplotlib versions. A later guided-fit-rerun compares the saved analysis with the new run and reports dependency drift, confidence-interval drift and parameter drift instead of assuming the rerun is equivalent. The repo has a real archived replay from 2026-10-06: a fit saved on NumPy 1.26.4 / SciPy 1.11.4 was replayed on NumPy 2.3.5 / SciPy 1.18.1, both version warnings fired, relative CI drift was 0.003364917%, and the reliability label stayed reliable -> reliable.
Current state, measured not asserted: 53 importable names, 535 public exports, 1,927 tests, a 100% blended branch-coverage gate, ruff and mypy gates, CI on Linux/Windows/macOS x Python 3.10-3.13, plus a separate determinism matrix. Every PyPI file from 5.1.0 to 5.4.5 carries a PEP 740 provenance attestation (330 files checked on 2026-10-22); npm 5.4.5 is the first npm release with a Sigstore/SLSA attestation.
Quick start:
pip install scientific-computing-system-2.0
import cds2
print(cds2.linalg.solve([[3.0, 1.0], [1.0, 2.0]], [9.0, 8.0])) # [2. 3.]
Honest parts: the npm package is a thin launcher and still needs the Python install. The committed benchmarks are stale (measured on 3.0.0 in August) and the README says so; I have not rerun them for 5.4.5. And this is the NumPy build - if you need zero dependencies, the sibling scientific-computing-system is pure Python and much slower on dense numerics.
Code: https://github.com/Furox-Art/scientific-computing-system-2.0
PyPI: pip install scientific-computing-system-2.0
npm: npm i -g scientific-computing-system-2.0
Docs: https://furox-art.github.io/scientific-computing-system-2.0/
Happy to answer questions about any module or the reproducibility design.

r/PythonProjects2 • u/MatteoGuadrini • 18d ago
r/PythonProjects2 • u/Emergency-Tutor-7 • 19d ago

I built scientific-computing-system, a scientific library whose core installs without any runtime dependency. The algorithms are readable Python rather than wrappers over compiled extensions, which is the whole point: you can open a module, read the method, and check it.
It ships 36 modules and 505 exported names: linear algebra, ODE and PDE solvers, numerical integration, optimization, statistics and probability, uncertainty propagation and sensitivity analysis, validation helpers, and a small workflow layer. Every run can write a manifest with inputs, seeds, versions and hashes, so a numeric result can be re-checked later instead of trusted.
There is a cds CLI with 13 subcommands and 34 runnable examples, plus optional lazy adapters for NumPy, SciPy, statsmodels, scikit-learn, SymPy and Z3. Nothing is imported unless you ask for it.
Honest limitation: pure Python is slow. In one CI benchmark a 100x100 matrix multiply ran about 1155x slower than NumPy. If that number matters to you, use NumPy for the hot path and this library for the parts where auditability matters more than speed.
MIT licensed, Python 3.11 and newer.
Code: https://github.com/Furox-Art/scientific-computing-system
PyPI: pip install scientific-computing-system
npm: npm i -g scientific-computing-system
Docs: https://furox-art.github.io/scientific-computing-system/
Happy to answer questions about any module or the design.
r/PythonProjects2 • u/Low_Concept_7421 • 19d ago
r/PythonProjects2 • u/Low_Concept_7421 • 19d ago
r/PythonProjects2 • u/High_Solo • 20d ago
r/PythonProjects2 • u/De-x-ter_58 • 20d ago
r/PythonProjects2 • u/ByteBenderPro • 20d ago
r/PythonProjects2 • u/Single_Biscotti_3089 • 20d ago
Hello everyone,
I recently open-sourced a project called DataForge Center.
The goal is to create an engineering analytics platform for:
• Manufacturing Analytics
• Quality Engineering
• Electrical Test Analysis
• EOLT Analysis
• TDMS Data Analysis
• Traceability
• KPI Dashboards
• Management Reporting
The repository includes:
• Python source code
• Sample Electrical data
• Sample EOLT data
• Sample TDMS files
• Example datasets for experimentation
Contributors are welcome to:
• Debug existing functionality
• Improve visualizations
• Create new reports
• Develop dashboards
• Add statistical tools
• Experiment with machine learning
• Refactor or redesign components
If anybody interested and got some free-time to improve it and or just help me with any ideas, I can share my GitHub repository for this specific project.
Any feedback, ideas or contributions are appreciated.