leakscan finds leaked API keys and credentials. pipx install leakscan, then leakscan scan . and it works, no config needed.
Besides normal folders and git history (including secrets someone committed and later deleted), it can scan Jupyter notebooks and tell you which cell and whether the key was in the code or the output. It can also scan Docker images layer by layer, and published packages before you install them, e.g. leakscan scan pypi:requests==2.32.3.
Every finding says what the key could be used for and where to rotate it. There's a --verify flag that checks whether a key is still live, but it's opt-in and asks for --yes on anything that isn't yours. No telemetry.
It also has a Python API, a GitHub Action, and a pre-commit hook.
Target Audience
People who want secret scanning in CI or pre-commit without a Go binary, and people who work in notebooks or want to look inside a package before installing it. It's young, so I wouldn't call it battle-tested yet.
Comparison
gitleaks and trufflehog are the established tools and they're good. gitleaks is faster (about 4.4x on the full history of the requests repo in my own benchmark, details in the repo), and trufflehog covers far more detectors and sources. Where leakscan is different is the Python install and API, notebook support, and the package scanning. If you need raw speed or the widest verification coverage, use those instead.
Wanted to share a Python networking package I have been building and testing called pynltp (available via pip install pynltp, MIT licensed).
Why I wrote it:
I needed to pull 50 KB to 250 KB JSON sensor batches and send urgent control commands over lossy Wi-Fi and 4G links where 15% to 30% of packets randomly drop. Over normal TCP sockets, Python apps stall for 15+ seconds because the OS kernel assumes packet loss means router congestion and backs off the send window. Raw asyncio DatagramProtocol sockets avoid the stall, but you lose ordering, encryption, and any multi-packet payload if a single datagram disappears.
How pynltp works under the hood in Python:
Before encrypting or slicing a payload, it runs a compact pure-Python LZ4 block pass on repetitive JSON/CSV data, which usually shrinks telemetry batches ~6x so far fewer UDP packets hit the socket.
Each session performs an ephemeral X25519 key exchange (with optional pre-shared key), derives directional keys via HKDF-SHA256, and authenticates every UDP frame with ChaCha20-Poly1305 plus a 512-packet bitmask to drop replayed or spoofed packets in O(1).
Instead of stopping on every lost packet to wait for an ACK/NACK round-trip, each block is split into k systematic data shards plus m parity shards over GF(28) using precomputed 256-byte log/exp tables and Cauchy matrix inversion. As soon as any k shards arrive at the asyncio transport, the original buffer is reconstructed and SHA-256 verified immediately.
Urgent 1-packet reflex messages ride a separate packet type outside the bulk reassembly dictionary so alerts never get stuck behind a large file transfer.
Benchmarks and tradeoffs:
Using Linux tc netem set to 20% random packet loss and 80 ms RTT (10 runs each), transferring 100 KB of structured JSON took 2.65s +/- 0.31s with pynltp compared to 18.35s +/- 4.12s over kernel TCP BBR. On clean wired networks (<1% loss), standard TCP or asyncio streams are faster because the Cauchy parity shards add ~25-35% bandwidth overhead that is wasted when nothing drops.
It also speaks the exact same 16-byte binary header as a companion C99 Arduino library and JS client, so a Python asyncio server on a Raspberry Pi can talk directly to ESP32/ESP8266 nodes.
Source code, wire format docs, and netem benchmark scripts:
Sharing v3.0.0 of NeckLink (pip install necklink, MIT licensed, Python 3.9+ with only NumPy required at runtime), a monorepo of six packages that compile subgraphs from the 157,789-neuron adult fruit-fly connectome (BANC v888) into runnable Python controllers and zero-float C99 cores.
All 6 packages on PyPI:
necklink-cns: unified 4-organ reflex controller (11 brain populations -> 10 descending neurons -> 6 motor pools) with MAVLink v2 and ROS 2 bridges, plus necklink_cns.connectome tools for extracting BANC v888 subgraphs and running Maslov-Sneppen degree-preserving shuffles.
neckcompass: central-complex ring-attractor heading and GPS-denied homing.
necksight: optic-lobe LPLC2 + LC4 collision / thin-wire looming reflex with 3-DOF gyro derotation.
neckcord: VNC 6x6 leg inhibition (emergent tripod gait), bounded rotor/thruster allocator, ESC fault observer, and 18-servo IK.
necksense: mushroom-body 1,024 Kenyon-cell sparse projection for novelty detection and continual memory.
pynltp: loss-healing asyncio UDP transport (LZ4 + X25519/ChaCha20-Poly1305 + GF(2^8) Cauchy FEC) for streaming reflex commands and telemetry across noisy wireless hops.
The most interesting part of building v3.0.0 was auditing whether the real connectome wiring actually beats degree-preserving random rewiring (K = 100 Maslov-Sneppen shuffles where every neuron keeps its exact in-degree, out-degree, and weight multiset) and classical baselines:
Specific wiring matters on spatial geometry and coordination: scrambling the central complex or VNC matrices breaks closed-loop homing (100% arrival -> 4.7%, p = 0.0099), wave + 125 deg magnetic spike heading (12.84 deg RMS -> 62.82 deg, p = 0.0099), and emergent tripod gait (0.855 -> 0.411, p = 0.0099).
Specific wiring does not matter in the mushroom body: on UCI gas drift novelty detection, real Kenyon claws (0.666 AUROC) and shuffled claws (0.672 AUROC, p = 0.74) tie, while One-Class SVM hits 0.698.
Classical / symmetric models win raw accuracy: real fly circuits have biological left/right asymmetries (for example ~10 deg/s compass drift in darkness), so an EKF (0.81 deg RMS) or connectome_weights="v2_analytic" (80.0% closed-loop boat arrival vs 66.7% for BANC v888) beats raw biological weights when you just want the cleanest filter.
For years I kept a folder of small Python scripts I wrote for myself. None were impressive. No AI, no framework, no invention. They just saved me hours on weekends.
So I packaged 12 of them into GrabKit — a ready-to-run tool pack where every script opens with a dry-run preview and asks for confirmation before touching anything.
Design decisions that mattered:
Safety first. Every destructive action previews before it acts. Nothing is deleted without confirmation, nothing overwritten without a .bak backup.
Stdlib first. Nine of twelve tools use only Python's built-in libraries.
Plain English. Copy-paste examples in the README for people who never opened a terminal.
What I learned: boring sells. Nobody buys "AI-powered file organizer." They buy "sorts my Downloads folder in 3 seconds." The README is the product.
Standard desktop calculator apps force you to jump between keyboard and mouse just to click buttons. That kills flow when you’re doing multi-step math.
ViCalc is a lightweight Windows calculator built for people who actually like typing. Everything (scientific, trig, complex numbers, Programmer mode with bitwise + Base-N) is reachable via normal keyboard shortcuts and muscle memory.
Key features
Full touch-typing control – scientific, trigonometric, complex arithmetic, and Programmer mode (Hex/Dec/Oct/Bin + bitwise) entirely from the keyboard
Automatic HTML history logging – every session is saved as clean, structured HTML so you can archive, copy, or paste step-by-step work into notes/docs
Flexible layouts – full visual controls, compact scientific, or minimalist zero-UI mode
Complex number support with real/imag parts, polar form, etc.
You rename a package, update its imports, and the tests are green. An architecture test that still points at the old directory can look green for a less useful reason: it isn't checking any files.
I maintain ArchUnitPython. Its file rules report an empty selection as a violation by default. I verified that with a cycle rule pointing at a missing directory, alongside a real dependency rule with both passing and failing imports.
This is useful for long-lived pytest suites where the architecture checks might be edited less often than the code they protect. A stale selector becomes something to fix instead of a rule that quietly disappears.
There is an option for intentionally empty selections, but keep that permission deliberate. A generated directory that is absent in one build is a different situation from a package path that nobody updated after a refactor.
The library gives you normal assertions through assert_passes, so this fits into the same test run as your behavioral checks.
I maintain Flama, an open source (Apache-2.0) Python framework I started in 2018 to get trained models out of notebooks and behind an API without writing a server around them.
Save a model with its metrics into a single file:
import flama
from sklearn.datasets import load_iris
from sklearn.neural_network import MLPClassifier
X, y = load_iris(return_X_y=True)
model = MLPClassifier(max_iter=2000).fit(X, y)
flama.dump(model, family="ml", path="model.flm", metrics={"accuracy": model.score(X, y)})
That's a running API with POST /model/predict/, input validation and interactive docs at /docs/.
LLMs work the same way: flama get downloads a model from Hugging Face into a .flm, and flama serve puts it behind OpenAI, Anthropic and Ollama compatible endpoints plus a built-in chat UI, on MLX (Apple Silicon) or vLLM (Linux with CUDA). Existing clients only need a base URL:
from openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:8000/openai/v1", api_key="local")
Connect OpenAI client to local LLM running on Flama
When a one-liner isn't enough, models become resources in a full ASGI app next to your own routes, with type hints driving validation, OpenAPI docs and dependency injection, and the hot paths (routing, JSON, request parsing) compiled in Rust and shipped as plain wheels.
Right now I'm working on the next release: Python 3.15 support and per-framework extras, so you only install the ML libraries you serve.
I would like to share my terminal pseudo-OS called "pseudos", built from scratch in Python!
Quick Start:
First, make sure to install the required dependencies listed in `pseudos_need.txt`.
Built-in Package Manager (pkgs):
It comes with its own simple declarative package manager configured in "pseudos/disk/_sys/packages.pseudos". To install a package, just add its GitHub link like this:
I had already posted two blogs on image matching and wanted to build some basic application with that.
I used OpenCV to find keypoints in each image and match them between the photos. Then I used those matches to stitch the images together and generate one panoramic image.
Et si vous pouviez transformer n'importe quel projet Scratch en une expérience Python entièrement programmable ?
Découvrez SKRASH.
Un projet open source qui explore une idée intéressante : exploiter les projets Scratch existants et débloquer de nouvelles possibilités grâce à Python.
Imaginez pouvoir dépasser les limites de la programmation visuelle traditionnelle, sans avoir à abandonner vos projets actuels.
Tenho vários documentos PDF assinados pela DocuSign e preciso reuni-los em um único arquivo, preservando a integridade dos documentos e a validade das assinaturas digitais. Busco uma solução em Python que possa ser executada localmente e também implantada no Azure, sem depender do Adobe ou de serviços externos de processamento de PDFs. Existe alguma biblioteca ou abordagem recomendada para isso? É possível gerar um PDF único com todas as páginas em sequência preservando as assinaturas, ou seria necessário manter os documentos originais incorporados como anexos em um PDF?
My project, still a work in progress, but I've been really enjoying it day to day.
It's a small Python app called nowPlayingDesktops. It puts a frosted-glass "now playing" card (album art, track, and artist) onto your actual desktop wallpaper, not a floating window, with a blurred cover-art backdrop, and restores your original wallpaper when you pause or exit. You can see what's playing at a glance anytime, even when the desktop is idle or sitting on the screensaver. Nice little desktop customization more than anything.
It runs on Windows, macOS, and Linux. Local mode reads the OS media session (Spotify desktop; on Linux, other MPRIS players may work too). Optional Spotify Web API mode can follow playback on another device.
There is no tracking or data collection. It just looks for what's playing and sets it as the desktop. By default, local mode may ask Apple's public iTunes Search API for a sharper cover; you can turn that off with --no-online-art.
Open to testers, issues, and PRs, but mostly just sharing in case someone else likes it too.
I've been working on a personal project called Game Update Bot.
It's a Python-based Telegram notification bot hosted on GitHub. Its purpose is to automatically monitor FitGirl and DODI for new game updates and notify me through Telegram.
Features:
Automatically checks for new game updates.
Monitors FitGirl and DODI.
Sends notifications through Telegram.
Uses Python and GitHub Actions.
Stores game information in an SQLite database.
Runs automatically without needing my PC to stay on.
Hi all — we just shipped Brevi v0.27, an open-source compiler for the Python AI agents write. You keep writing ordinary Python; Brevi compiles it through Rust to a native binary, and either matches CPython’s output or refuses with a one-line JSON error.
We’re looking for beta testers with real agent-generated programs. It runs on linux, mac and windows(beta).
What works now: most stdlib code, generators/async, common libraries including requests, sqlite3, duckdb, onnxruntime and MCP servers; Linux and macOS; Windows x86-64 as a beta.
What doesn’t yet: 8 of 311 CPython core tests still differ (exit codes), stdlib conformance is 45%, the sandbox is a policy layer rather than a security boundary, --standalone is Linux-only, and Windows refuses cpu/file/fds limits. It is a preview, not a drop-in python3.
What would help most: a program your agent actually wrote where Brevi refuses, falls back, or gives a different answer; the exact command; and your OS/Python version. Open an issue at https://github.com/ets-public/brevi/issues — no signup, no telemetry. We’ll credit useful reports.
The honest pitch: it’s fast on compute-heavy Python (median ~8.5x on 12 benchmarks), genuinely useful for agent loops with --verify, and still early. If it breaks on your workload, that’s exactly what we want to hear.