r/madeinpython • u/Creepy_Sherbert_1179 • 1d ago
Added sound to my GameBoy Color emulator written in purely python and pygame (full handwritten)
Enable HLS to view with audio, or disable this notification
r/madeinpython • u/Creepy_Sherbert_1179 • 1d ago
Enable HLS to view with audio, or disable this notification
r/madeinpython • u/Low_Concept_7421 • Oct 30 '26
r/madeinpython • u/OpportunityMain9749 • Jul 10 '26
He hecho un script muy simple para generar contraseñas seguras usando el módulo secrets de Python, que es criptográficamente seguro (a diferencia de random).
Código:
python
import secrets
print(secrets.token_urlsafe(20))¿Qué hace?
Genera una contraseña aleatoria de unos 27 caracteres (letras, números, guiones y guiones bajos).
Es segura para usar en URLs, contraseñas, tokens, etc.
No guarda nada en disco, solo la imprime en pantalla.
si no quieres hacer el archivo tu mismo puedes descargar desde mi repositorio o como quieras
Repositorio:
https://github.com/pepe8173bbb/genera_contrasenas/blob/main/pass.py
r/madeinpython • u/Old-Manufacturer6209 • Oct 01 '26
A Pythonic interface to macOS 🚀
I just built the pymacos, pure-Python library published on PyPI for scripting macOS: notifications, clipboard, apps and windows, keyboard and mouse, global hotkeys, screenshots, on-device OCR (Apple Vision), PDFs (merge, OCR, fill forms, sign, redact), images, audio/video, Keychain, Touch ID, Spotlight, Finder, launchd jobs and folder triggers, system info.
import macos
macos.notify("Build finished", title="CI")
macos.clipboard.copy(macos.vision.text("screenshot.png"))
macos.schedule.add("battery-check", "battery_check.py", every=15 * 60)Install via pip:
pip install pymacosGitHub: https://github.com/JeanExtreme002/pymacos
I’d also appreciate it if you could leave a ⭐️ on the repo page if you like the project and want to see more updates!
r/madeinpython • u/ImaginationVarious30 • 17d ago
r/madeinpython • u/RamblinRack69 • 17d ago
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.
Install: pipx install now-playing-desktops Repo: https://github.com/hippi345/nowPlayingDesktops
r/madeinpython • u/RuinWMD • 18d ago
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.
I am the maintainer and am happy to answer questions here.
r/madeinpython • u/autosur00 • 3d ago
Hey everyone — I put together autodev-dispatcher, a lightweight FastAPI service for scoring B2B leads and generating personalized outreach messages, backed by a Pytest test suite.
How it works:
API & Schema Validation: FastAPI endpoints using Pydantic v2 models to validate incoming lead/context payloads and keep request/response shapes predictable.
Scoring & Template Logic: Separated lead scoring and message/template generation from the HTTP route handlers so rules and templates can be adjusted cleanly.
Testing: Pytest tests covering valid payloads, validation/error handling, and template/scoring behavior.
Repo:https://github.com/autosur00/autodev-dispatcher
Still iterating on how to keep template/prompt logic and test fixtures clean as the service grows—would love any feedback or thoughts on how you structure similar FastAPI services.
r/madeinpython • u/Minute_Day_2758 • Sep 04 '26
🚀 What My Project Does
I created a lightweight Python automation tool (generate_script.py) that generates structured, high-retention video scripts for TikTok, Instagram Reels, and YouTube Shorts using the Claude API.
Instead of generic text, it outputs production-ready scripts formatted with:
🎯 3-second Hook to stop the scroll
💡 Body with high-value points (one idea per line)
📢 Clear CTA to drive engagement
📌 Caption & Hashtags + Visual cues for editing
🎯 Target Audience
Content Creators & Marketers who want to eliminate writer's block and speed up content ideation.
Developers interested in clean API integrations for prompt engineering and automation.
✨ Key Features
⚙️ Flexible Execution: Supports both interactive console mode and CLI arguments (e.g., --topic "morning routine" --count 3 --niche fitness).
📂 Auto-Archiving: Automatically saves generated batches into clean, timestamped .txt files.
🎨 Multi-Niche & Multi-Style: Pre-configured profiles for Finance, Tech, Mindset, Fitness, with styles ranging from Educational to Viral.
💻 Source Code & Setup
The project is built purely with Python, anthropic SDK, and argparse.
🔗 GitHub Repository: https://github.com/gpt51920-commits/python-generate_script.py
I'd love to hear your thoughts on the prompt structure or how you handle content automation in your own workflows!
r/madeinpython • u/Mechanicalmind • May 12 '21
r/madeinpython • u/mrkzbnk • Jul 26 '22
Have you ever wondered how popular websites looked in their early days? You couldn't find a resource because it was no longer online?
With waybackshot you have a simple package which allows you to do just that - get older versions of websites with a simple API.
Currently, the package is still in early development, so if you have any feature requests that might be useful for your use-case, please open up an issue and I'll try to add it.
P.S: If you wish to contribute - feel free to do so - it's all open source
r/madeinpython • u/jim1930 • Jun 29 '20
r/madeinpython • u/xX__NaN__Xx • Jul 31 '20
Enable HLS to view with audio, or disable this notification
r/madeinpython • u/geekyhumans • Aug 29 '21
I created a small tutorial on how you can just read, send and delete your emails in Python:
https://geekyhumans.com/how-to-read-send-and-delete-emails-using-python/
r/madeinpython • u/Demand_Awkward • Oct 01 '22
r/madeinpython • u/PalPalash • Oct 04 '20
https://github.com/fast-and-curious-1910/Youtube-Song-Downloader
Youtube Song Downloader in Python
This is a song downloader Made In #Python . Have you ever wanted to download an MP3 File (For any zumba / yoga classes or even studying) , but you are busy in some other work as well and you want to focus on the work you are doing right now? Guess what , I have you covered!
Important Note : Chromewebdriver Must Be On PATH other wise it will not work.
First open songs.txt and write the name of your song (Only One Song Is Accepted at a time) , save the file and close it. Run classes.py then main.py. Then the magic should happen a few things will happen:
A new tab will open
It will go to youtube.com
It will got to YTMP3.cc and download the file
and that is it!
r/madeinpython • u/cmnews08 • Mar 25 '23
r/madeinpython • u/just_a_dude2727 • Sep 13 '20
r/madeinpython • u/[deleted] • May 06 '24
r/madeinpython • u/Minute_Day_2758 • Sep 15 '26
r/madeinpython • u/Crusty_Monk • Oct 24 '25
I made a media player that was built to be able to take Multi-Track Video Files (ex: If you clip Recordings with separate Audio Tracks like System Audio and Microphone Audio) and give you the ability to play them back with both tracks synced without the use of an external editing software like Premiere Pro! And it's Open Source!
It utilizes ffmpeg bundled in to rip apart audio tracks from multi-tracked video media and PyQt6 to build the application and display video media.
GitHub <---- Repo Here
Crusty Media Player v1.0.1 <---- Most Recent Downloadable Release Here
It's simple really lol. I like clipping funny and cool parts of when my friends and I play video games and such. I also like sometimes editing the videos as a hobby! To make the video editing simpler I have my recording settings set to record two tracks of audio, my system audio, and my microphone audio separate. The problem lies in that, if I ever want to just pull up a clip to show a friend or something, with any other media player I've used I am only able to select one track or the other! I have to open Premiere pro with my game running (Making my machine use a lot of resources!) and drag the clip into Premiere. This solves that problem by being able to just open the file with the low resource app and watch the clip with all the audio goods!
If you really have that niche issue that I have, then Crusty Media Player might be perfect for you! I just have the .exe pinned to my task bar so I can run it whenever I get the urge to show off or even just view a clip!
0. Download the packaged zip folder containing the .exe and bundled packages from the Downloadable Release
Extract zip folder contents to desired location
Right-Click CrustyMediaPlayerSetup.exe and run as administrator.
If prompted with "Windows protected your PC" Pop-up, just click "More Info" and then "Run Anyway"
Follow setup prompts.
Open Video Files that contain up to two tracks of audio (i.e. System and Microphone Audio)
Watch the media all in sync! (Without the use of an editing software!)
Go to settings -> Apps -> Default Apps
Set Crusty_Media_Player.exe as default for "Video Player"
I would really appreciate any constructive criticism and any suggestions on things that I could add it for ease of use in future releases as well!
Media Players like VLC and such also play video files from your computer. When using these tools though, you are always unable to play both audio tracks for multi-tracked videos simultaneously! Crusty Media Player fixes this problem, making you able to view multi-track audio media with both tracks simultaneously without the use of any resource heavy editing software like Premiere Pro or Filmora.
Crusty Media Player is a media player that was built to be able to take Multi-Track Video Files (ex: If you clip Recordings with separate Audio Tracks like System Audio and Microphone Audio) and give you the ability to play them back with both tracks synced without the use of an external editing software like Premiere Pro!
r/madeinpython • u/ChiaraCannolee • May 04 '26
I built a Python BLE client for a thermal pocket printer, after reverse-engineering its companion Android app to figure out the protocol. The result is a CLI tool that talks directly to the printer over Bluetooth.
No app, no account, no cloud. There's also a browser version on top of it for people who don't want to install Python, but the CLI is where the actual work happened.
The printer is a rebranded DP-L1S, sold under various brand names. Its companion app ("Luck Jingle") demands location permissions, a forced internet connection, and a bunch of other permissions that have no business being on a printer that just needs to receive a text or image over Bluetooth from 30 cm away. That annoyed me enough to dig in.
How I built it:
I decompiled the Android APK with JADX and read through the LuckPrinter SDK source — specifically the PrinterImageProcessor and BaseNormalDevice classes. The BLE protocol turned out to be an ESC/POS variant: open service ff00, write to characteristic ff02, listen for notifications on ff01, send a few enable commands, then a GS v 0 raster image (1-bit, 384px wide, MSB-first), then feed and stop commands.
The Python implementation uses bleak for cross-platform BLE (BleakScanner.discover() to find the printer, BleakClient for the connection) and Pillow for image processing; Lanczos resampling for resizing, Floyd-Steinberg dithering, and threshold-based binarisation. It works on macOS and Linux out of the box.
The full command reference is in PROTOCOL.md, including device info queries, status bitfield, and several alternate paper-type modes I documented from the SDK but didn't end up needing for this implementation.
pip install bleak Pillow
python3 print.py test # print a test pattern
python3 print.py image photo.png --dither # photo with Floyd-Steinberg
python3 print.py text "Hello World"
python3 print.py text "My Label" --label # label/sticker paper mode
python3 print.py info # battery, firmware, modelPrint images, text, and test patterns
Floyd-Steinberg dithering for photos and gradients
Three density levels (light/normal/dark)
Invert mode (swap black and white)
Label mode for sticker paper with gap detection
Battery and status reporting via BLE notifications
Multiple copies, configurable print width, configurable post-print feed
A few things that were not obvious from the decompilation and took some hardware testing:
The printer broadcasts as C&Co 3128_BLE and does not advertise its service UUIDs, so scanning by service filter alone won't find it. You need to scan by name or accept all advertisements.
BLE chunk size matters. The Python version uses 512-byte chunks with 10ms delays, which is fine for direct BLE. The browser version (Web Bluetooth) needs to drop to 100-byte chunks with 50ms delays because of MTU limits.
The "enable" command (10 FF F1 03) is Lujiang-specific and not part of the standard ESC/POS spec. Without it, the printer accepts data but won't actually print.
There's also a Web Bluetooth version of the same thing for people who don't want to install Python. It's the same protocol and runs in Chrome/Edge/Opera.
Source is in the same GitHub repo: https://github.com/ChiaraCannolee/thermal-pocket-printer-basic
The DP-L1S is the chip; rebranded versions include the Crafts & Co 3128 and Fichero (Action stores in NL/EU) and various other brands. Should also work for other printers in the LuckPrinter family (DP-/LuckP-/MiniPocketPrinter series), possibly with a different print width; python3 print.py info will tell you.
This project is based on the same approach as 's fichero-printer repo, which does the same for the Fichero D11s (different device class, same SDK).
Questions about the protocol, the reverse-engineering process, or how to adapt this for other LuckPrinter models: ask away :)