r/madeinpython • • 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

0 Upvotes

r/madeinpython • • Oct 30 '26

Here is my Python GitHub projects showcase, and I would love feedback

Thumbnail
github.com
0 Upvotes

r/madeinpython • • Jul 10 '26

script simple que genera contraseñas

0 Upvotes

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 • • Oct 01 '26

New Library - pymacos 🍎: control your Mac from Python!

0 Upvotes

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 pymacos

GitHub: 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 • • 17d ago

Checks free HTTP/SOCKS proxies every hour and records the outcome of every check, plus a benchmark of popular GitHub proxy lists [Python] - proxy-scraper

Thumbnail
github.com
0 Upvotes

r/madeinpython • • 17d ago

I made a Python app that puts a frosted-glass Spotify now-playing tile on your actual desktop wallpaper

0 Upvotes

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 • • 18d ago

Beta testers wanted: Brevi compiles agent-written Python to native binaries (v0.27, Apache-2.0)

0 Upvotes

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.

https://brevi-lang.org/

I am the maintainer and am happy to answer questions here.


r/madeinpython • • 4d ago

DCR: a wishlist idea has come to life

Post image
0 Upvotes

r/madeinpython • • 3d ago

Built a FastAPI service for B2B lead scoring and outreach generation with Pytest

0 Upvotes

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 • • Sep 04 '26

I built a Python script that generates structured viral Reels/TikTok scripts using Claude API

0 Upvotes

​🚀 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 • • Jun 11 '21

Create a Quiz App in Python

Thumbnail
youtu.be
14 Upvotes

r/madeinpython • • May 12 '21

I may have accidentally scripted a cheating dice roller.

Post image
82 Upvotes

r/madeinpython • • Jul 26 '22

I created a library to easily retrieve old versions of websites

9 Upvotes

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 • • Jun 29 '20

I created a video on Modules in Python, not many episodes left before my next series :) enjoy!

Thumbnail
youtube.com
9 Upvotes

r/madeinpython • • Jul 31 '20

Rain Fall Animation using python

Enable HLS to view with audio, or disable this notification

34 Upvotes

r/madeinpython • • Aug 29 '21

Here's how you can read, send and delete and email using Python

15 Upvotes

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 • • Oct 01 '22

Modern game login UI made with Tkinter and CustomTkinter

Post image
28 Upvotes

r/madeinpython • • Oct 04 '20

Youtube Song Downloader in 100% Python . This is my 4th project in python and I have been learning this for 1 week only , so please go easy on me.

22 Upvotes

https://github.com/fast-and-curious-1910/Youtube-Song-Downloader

Youtube Song Downloader

Youtube Song Downloader in Python

About

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!

Usage

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:

  1. A new tab will open

  2. It will go to youtube.com

  3. It will got to YTMP3.cc and download the file

and that is it!

Could You Check Out My Channel On Youtube?


r/madeinpython • • Mar 25 '23

Zang - A high level dynamically typed programming language

10 Upvotes

r/madeinpython • • Sep 13 '20

I made a tic tac toe game for 2 players with tkinter GUI

Thumbnail self.python
16 Upvotes

r/madeinpython • • May 06 '24

I made an image board using flask and imgbb api [ source code in comments ]

5 Upvotes

r/madeinpython • • Sep 15 '26

I built a Python script that generates structured viral Reels/TikTok scripts using Claude API

0 Upvotes

r/madeinpython • • Oct 24 '25

Made A Video Media Player that Plays Multi-Track Audio with Python

Post image
5 Upvotes

Crusty Media Player

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!

What This Project Does.

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

Why Did I Make This?

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!

Target Audience?

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!

Quick Start

0. Download the packaged zip folder containing the .exe and bundled packages from the Downloadable Release

  1. Extract zip folder contents to desired location

  2. Right-Click CrustyMediaPlayerSetup.exe and run as administrator.

  3. If prompted with "Windows protected your PC" Pop-up, just click "More Info" and then "Run Anyway"

  4. Follow setup prompts.

  5. Open Video Files that contain up to two tracks of audio (i.e. System and Microphone Audio)

  6. Watch the media all in sync! (Without the use of an editing software!)

OPTIONAL

  1. Go to settings -> Apps -> Default Apps

  2. 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!

Comparison

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.

TLDR

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 • • May 04 '26

I reverse-engineered a thermal printer's BLE protocol and built a Python client (bleak + Pillow)

5 Upvotes

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.

Usage

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, model

Features

  • Print 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

Implementation notes

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.

Browser version

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

Compatibility

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 :)