r/madeinpython • u/aieidotch • 7d ago
Bubble Bobble for 10 players
Finally, a DHTML and python3 version is back! Enjoy
r/madeinpython • u/aieidotch • 7d ago
Finally, a DHTML and python3 version is back! Enjoy
r/madeinpython • u/Dracunculous • 7d ago
r/madeinpython • u/Important-Carpet329 • 7d ago
I maintain CUEVA Studio and pulled its subtitle segmentation code into a standalone Python package. The input is a sequence of words with start and end times. For example, Merhaba (0–0.45 s) and dünya! (0.5–1.2 s) become one SRT cue from 00:00:00,000 to 00:00:01,200.
The tricky part was applying character limits to Japanese text without spaces while keeping overlapping cues readable. The repository includes the segmenter, writers for SRT, WebVTT and ASS, and 13 tests. You can run the README example locally without a speech model or editor.
If you maintain a caption pipeline, how do you handle line breaks when the recognizer gives you one long unspaced segment? I’d welcome a short input and your expected split.
r/madeinpython • u/jingweno • 7d ago
I’m the author of Build Your Own Coding Agent. It walks through building Nanocode, a small Python coding agent, without an agent framework.
One part you can use independently is the testing approach: replace the model with a `FakeBrain` that returns predetermined responses. The Chapter 3 tests use it to check that conversation history grows correctly, and that a failed model call doesn’t leave a stray user message in the history.
That gives you repeatable checks on conversation handling without making API calls. You still need separate tests with a real model to learn whether it makes good decisions.
The tests are here: https://github.com/optimalone/build-your-own-coding-agent/blob/main/ch03/test_nanocode.py
The chapter snapshots are MIT-licensed, and Chapters 1, 2, 3 and 12 are free to read. The full book and a written course with practice questions and quizzes are sold separately: https://buildyourowncodingagent.com/
Nanocode is a teaching implementation. Its file and shell tools aren’t sandboxed, and act mode doesn’t ask permission for each operation. Use a disposable environment if you try those parts.
r/madeinpython • u/Beyond_the_Query • 8d ago
r/madeinpython • u/Prior_Bat5628 • 8d ago
I’m building eStockes for researching US stocks and ETFs. Python/FastAPI serves the market-data backend, with a separate browser frontend. The app brings company lookup, charts, screening and watchlists into one workspace.
The Python work includes merging company-name and ticker search results, ranking exact ticker matches first, and filtering equity results to supported US instruments. For market-data reads, the service uses caching, shared in-flight async requests and concurrency limits so repeated requests for the same data do not each start a separate upstream fetch.
The part I’d like feedback on is how those data states reach the person using the app. A cached result, an unavailable symbol and an in-progress request should be understandable from the screen, rather than just looking like an empty chart.
You can try the live interface at https://estockes.com/dashboard. Search for a familiar company by its name, then open its chart. Was the matching result clear? If anything stayed loading or showed no data, what did the screen lead you to think had happened? Browser and device details would help reproduce it.
eStockes has a free account and paid Pro plans. This is a project showcase and an optional usability check; you can stop before registration or payment. Suggestions from people who have built similar Python data services are welcome too.
r/madeinpython • u/EliOli_Intern_777 • 8d ago
import sqlite3
from pathlib import Path
from datetime import datetime
import math
def crear_tabla(archivo):
conexion = sqlite3.connect(f'{archivo}', isolation_level=None)
cursor = conexion.cursor()
cursor.execute("""
CREATE TABLE IF NOT EXISTS registros (
id INTEGER PRIMARY KEY AUTOINCREMENT,
tipo_vehiculo TEXT NOT NULL,
placas TEXT NOT NULL,
color TEXT NOT NULL,
hora_entrada TEXT NOT NULL,
hora_salida TEXT,
monto_pagado REAL
)
""")
cursor.close()
menu(conexion)
def menu(conexion):
while True:
print('~~~~~~~BIENVENIDO AL MENU~~~~~~~')
print('1-Registrar Entrada.')
print('2-Ver Vehiculos Estacionados.')
print('3-Registrar Salida y Cobrar.')
print('4-Borrar Vehiculo.')
print('5-Salir.')
opcion = int(input('>'))
if opcion == 1:
registrar_entrada(conexion)
elif opcion == 2:
ver_vehiculos(conexion)
elif opcion == 3:
salida_cobrar(conexion)
elif opcion == 4:
borrar_vehiculo(conexion)
elif opcion == 5:
conexion.close()
break
def ver_vehiculos(conexion):
cursor = conexion.cursor()
while True:
print('##===BUSCAR EN EL REGISTRO===##')
print('1-Ver tabla completa.')
print('2-Buscar en la tabla.')
print('3-Salir')
desicion = int(input('>'))
if desicion == 2:
print('1-Por nombre.')
print('2-Por matricula.')
desicion2 = int(input('>'))
if desicion2 == 1:
buscar = str(input('Ingrese el nombre del vehiculo (s para salir): ')).upper()
if buscar != 'S':
cursor.execute('SELECT * FROM registros WHERE tipo_vehiculo LIKE ?', (f"%{buscar}%",))
encontrar = cursor.fetchall()
if encontrar:
print('--------VEHICULO ENCONTRADO--------')
print(encontrar)
print('-----------------------------------')
else:
print('Vehiculo no encontrado, desea agregarlo?')
opcion = str(input('(Si/No): ')).upper()
if opcion == 'SI':
registrar_entrada(conexion)
cursor.close()
break
elif opcion == 'NO':
cursor.close()
break
else:
print('Solo si o no.\n')
else:
break
elif desicion2 == 2:
buscar2 = str(input('Ingrese el nombre del vehiculo (s para salir): ')).upper()
if buscar2 != 'S':
cursor.execute('SELECT * FROM registros WHERE placas LIKE ?', (f"%{buscar2}%",))
encontrar2 = cursor.fetchall()
if encontrar2:
print('--------VEHICULO ENCONTRADO--------')
print(encontrar2)
print('-----------------------------------')
else:
print('Vehiculo no encontrado, desea agregarlo?')
opcion2 = str(input('(Si/No): ')).upper()
if opcion2 == 'SI':
registrar_entrada(conexion)
cursor.close()
break
elif opcion2 == 'NO':
cursor.close()
break
else:
print('Solo si o no.\n')
else:
break
elif desicion == 1:
cursor.execute('SELECT * FROM registros ORDER BY tipo_vehiculo')
tabla = cursor.fetchall()
print('\n-----------------------------------TABLA----------------------------------')
for fila in tabla:
print(fila)
print('--------------------------------------------------------------------------')
salir = str(input('s para salir')).upper()
if salir == 'S':
cursor.close()
break
else:
print('Solo "s".')
elif desicion == 3:
cursor.close()
break
else:
print('Ingrese un numero valido.\n')
def registrar_entrada(conexion):
cursor = conexion.cursor()
while True:
opcion = str(input('Ingresar datos ala tabla?: (Si/No)')).upper()
if opcion == 'SI':
vehiculo = str(input('Nombre del vehiculo: '))
placas = input('Placas: ')
color = str(input('Color: '))
hora = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
cursor.execute(f'INSERT INTO registros (tipo_vehiculo, placas, color, hora_entrada) VALUES (?, ?, ?, ?)', [vehiculo, placas, color, hora])
print('Agregado con exito!!.\n')
print(f'Vehiculo: {vehiculo}, Hora: {hora}')
continue
elif opcion == 'NO':
cursor.close()
break
else:
print('Solo si o no.\n')
def salida_cobrar(conexion):
cursor = conexion.cursor()
cursor.execute("""
SELECT id, tipo_vehiculo, placas, hora_entrada
FROM registros
WHERE hora_salida IS NULL
""")
autos_activos = cursor.fetchall()
if not autos_activos:
print('No hay autos estacionados.\n')
cursor.close()
return
print('\n------AUTOS ACTUALMENTE ESTACIONADOS------\n')
for indice, auto in enumerate(autos_activos, start=1):
id_reg, vehiculo, placa, entrada = auto
print(f"{indice}. Vehiculo: {vehiculo}, Placa: {placa} | Entrada: {entrada}")
try:
opcion = int(input('Seleccione el numero del vehiculo que saldra: '))
if opcion < 1 or opcion > len(autos_activos):
print('Opcion no valida.\n')
cursor.close()
return
except ValueError:
print('Por favor ingresa un numero valido.\n')
cursor.close()
return
id_registro, vehiculo, placa, entrada_str = autos_activos[opcion - 1]
hora_entrada = datetime.strptime(entrada_str, "%Y-%m-%d %H:%M:%S")
hora_salida = datetime.now()
diferencia = hora_salida - hora_entrada
horas_transcurridas = diferencia.total_seconds() / 3600
horas_a_cobrar = max(1, math.ceil(horas_transcurridas))
pesos_hora = 15
monto_pagado = horas_a_cobrar * pesos_hora
salida_str = hora_salida.strftime("%Y-%m-%d %H:%M:%S")
cursor.execute("""
UPDATE registros
SET hora_salida = ?, monto_pagado = ?
WHERE id = ?
""",
(salida_str, monto_pagado, id_registro),
)
print('Listo!!.\n')
print(f'Total: {monto_pagado}, Vehiculo: {vehiculo}, Placas: {placa}')
cursor.close()
return
def borrar_vehiculo(conexion):
cursor = conexion.cursor()
while True:
print('#----DESEA ELIMINAR UN VEHICULO DEL REGISTRO----#')
print('1-Eliminar')
print('2-Salir')
opcion = int(input('>'))
if opcion == 1:
cursor.execute('SELECT * FROM registros ORDER BY tipo_vehiculo')
tabla = cursor.fetchall()
print('\n-----------------------------------TABLA----------------------------------')
for fila in tabla:
print(fila)
print('--------------------------------------------------------------------------')
borrar = input('Seleccione el numero del vehiculo a borrar: ')
cursor.execute('DELETE FROM registros WHERE id = (?)', [borrar])
if cursor.rowcount > 0:
print('Borrado con exito!!.\n')
continue
else:
print('No se encontro el vehiculo, deseas salir? (Si/No)')
respuesta = input('>').upper()
if respuesta == 'SI':
cursor.close()
break
elif respuesta == 'NO':
continue
else:
print('Solo si o no.\n')
elif opcion == 2:
cursor.close()
break
##############################################################################################################################################
##############################################################################################################################################
print('#=====BIENVENIDO=====#')
nameArch = input('Ingresa el nombre del archivo: ')
archivo = Path(f"{nameArch}.db")
if archivo.exists():
print('Se abrio un archivo existente!!.\n')
conexion = sqlite3.connect(f'{archivo}', isolation_level=None)
menu(conexion)
else:
print('Archivo Creado!!.\n')
crear_tabla(archivo)
My github: https://github.com/oliverEliud/mini-projects-python
r/madeinpython • u/gentleGiant96 • 9d ago
r/madeinpython • u/opticsWolf • 9d ago
Hi all,
For the past few months I’ve been working on Lace, a docking and layout library for PySide6. While building my own desktop engineering tools, I wanted a smooth, VS Code-like layout and cohesive theming experience in Python without the usual Qt layout headaches. It began as just the docking part and grew from there.
Lace is a pure-Python docking and theming library for PySide6:
QPalette plus a custom style for standard widgets, menus, and dialogs so your own widgets match out of the box. It comes with 37 themes, and you can generate your own from just two colors.The main alternative is Qt Advanced Docking System (PySide6-QtAds). It’s older, more widely used and well tested across platforms, and if you only need docking it’s a solid choice. The differences:
Details:
pip install lace-dockIt’s at 0.10, so the API may still change before 1.0. I use it in my own optical simulation tools, so it gets real daily use. I’d really appreciate feedback from anyone building bigger Qt apps: what’s missing, what feels awkward, or what breaks on your platform (I’ve mostly tested on Windows).
Thanks for reading!
r/madeinpython • u/ExchangeSharp483 • 10d ago
Disclosure: I own and sell CueKeeper. AI helped prepare this showcase.
CueKeeper is a local Python utility for an existing subtitle file, rather than an audio/video transcription tool. It converts SRT or WebVTT into readable Markdown/plain text, preserving cue intervals, and writes a separate quality report. An optional dialogue-only export drops the timing for reading.
The included example can be run from the extracted toolkit directory:
python3 app.py convert samples/valid.srt -o output --dialogue-only
That sample generates valid.md, valid.dialogue.txt, valid.report.json, and batch-summary.json. The two fictional cues become two timed passages; the report records parsed/emitted counts and any warnings or errors. A clean conversion report does not verify that captions match the recording.
The full toolkit needs Python 3.10+ and only the standard library. The ZIP includes Python source, tests, a sample, CLI, and local browser interface. It costs a one-time $1.00 USD through PayPal, or 1.00 USDC on Base: https://score.agentid.life/cuekeeper?ref=reddit-madeinpython-20261115
A separate free browser preview accepts up to 20 cues, so the output format is easy to inspect before purchasing: https://score.agentid.life/cuekeeper/try?ref=reddit-madeinpython-20261115
Public fictional sample input and generated files: https://github.com/nrk8286/agentid-services/tree/main/publishing/foundry-2026-11-12/samples/cuekeeper
It does not transcribe media, translate dialogue, or identify speakers. I would welcome feedback on which subtitle-quality findings are most useful alongside the reading copy.
r/madeinpython • u/Schnidi01 • 10d ago
Hi,
I’m currently working on developing add-ons for VenvHub Pro. It’s a new feature – a security audit of Python virtual environments (venv). The tool downloads vulnerability data directly from OSV.dev.
In the attached video, I demonstrate how the whole process works:
- Loading the list of packages from a specific venv environment.
- Then displaying an overview of which packages contain vulnerabilities.
- Clicking on a specific issue (CVE) in the tree structure immediately shows all the necessary details and description in the right panel and offers an update option.
- Clicking on the entire package shows an aggregated list of all its issues and available fixes in the right menu.
- Via the dropdown menu, the user can select a specific target version of the package with which they want to fix the given vulnerabilities.
From a technical perspective, the application is designed modularly. It uses dynamic UI generation based on the active provider’s schema (plugin auto-discovery). This means the architecture is not hard-wired only to OSV.dev, but can be extended with other security scanners.
Important note on versions:
The video and screenshots demonstrate the latest development version 2.6.08. The version currently published on my GitHub repository is 2.6.04, in which the scanner is not yet applied.
Since this is work in progress, I’ll be glad for any feedback. I’d be interested in your opinion on the UI/UX layout, as well as on the concept itself of selecting specific versions for fixes.
Thank you.
r/madeinpython • u/justiceDev1 • 10d ago

Hey everyone! I built a small CLI utility in Python with a clean terminal UI (powered by rich) called Mirrors.
Features:
yt-dlp).FFmpeg).This is one of my first projects. Everything runs smoothly on my machine, but I'd really appreciate it if you could test how it runs on other systems and check if all dependencies install properly. Any feedback or code review is welcome!
GitHub repo: https://github.com/justiceDev1/Mirrors
r/madeinpython • u/alphap365 • 10d ago
r/madeinpython • u/tox-too • 10d ago
TelaEdit is for people who write web pages by hand and want a straightforward, familiar tool rather than a full IDE. It takes its inspiration from the classic HomeSite editor, with up-to-date features added.
Main features:
- Syntax colouring for HTML, CSS and JavaScript, with tag-pair and bracket highlighting
- Tabbed toolbar for inserting tags: HTML, formatting, lists, tables, forms, HTML 5, media and text, plus a Quickbar for your own favourite buttons
- Link and image dialogs that work out relative paths and fill in image sizes
- HTML Tidy integration and a built-in CSS checker: click a problem to jump straight to it
- Spell checking of the visible text of a page
- One-click preview in up to ten browsers
- Two-panel file Explorer, snippets, templates and customisable keyboard shortcuts
It is written in Python with PyQt6 and QScintilla and released under the GPL v3. A standalone download is provided that needs no Python or Qt installed, and it has been tested on Linux Mint, Debian and Lubuntu.
Project page, downloads and screenshots:
https://github.com/toxtoo/TelaEdit
TelaEdit is a hobby project. I'm not a programmer: I designed and tested it, and it was written with the help of the AI assistant Claude. It's shared in the hope that it's useful to others, and feedback is very welcome.
Thank you for your time.
r/madeinpython • u/Humble-Scale4941 • 10d ago
I made a 29 min clay film on a laptop. The part I didn't want to repeat was setting up every character, shot and voice by hand.
That turned into Clayvoyant. Write the scene in yaml viola it builds and films it in blender.
A quick look at how it works.
r/madeinpython • u/PiXiEYTSoLdIeR • 10d ago
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.
Repo: https://github.com/Vasishta03/leakscan
I'd really like to hear about false positives, and about any providers you want rules for.
r/madeinpython • u/TastyCollege9639 • 10d ago
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:
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:
https://github.com/indian-aman/necklink/tree/main/packages/nltp
PyPI package:
https://pypi.org/project/pynltp/
Would appreciate any code review or ideas on speeding up the pure-Python GF(28) row-reduction loop!
r/madeinpython • u/TastyCollege9639 • 10d ago
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:
Minimal Python example:
# Uses compiled BANC v888 connectome weights by default (or pass connectome_weights="v2_analytic")
=
=
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:
Live browser WASM simulator:
https://indian-aman.github.io/necklink/
GitHub repo & reproducible v3 benchmark suite:
https://github.com/indian-aman/necklink
r/madeinpython • u/scapaflow96 • 10d ago
Thick smoke kills visibility..
r/madeinpython • u/des3uct0r • 11d ago
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:
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.
Free preview: https://github.com/Des3uct0r/grabkit
Built with Python 3.8+, Windows/Mac/Linux.
r/madeinpython • u/Intelligent_Rice7138 • 11d ago
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.
Repo: github.com/Kudaschov/ViCalc
Would love feedback from the keyboard crowd. What calculator shortcut or workflow do you consider non-negotiable?
r/madeinpython • u/127001-sweet-127001 • 11d ago
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.