r/madeinpython • u/twellieon • 1h ago
r/madeinpython • u/KennyPorto • 6h ago
Handset: I made a Linux app in Python that takes your phone calls over Bluetooth (PySide6 + D-Bus)
galleryYou're scrolling on your phone, headset on, and a call comes in. With Handset you click Answer on your PC and talk through your headset, and the phone stays free in your hand.
What it does: it makes a Linux PC act like a car's Bluetooth hands-free kit. Pair the phone once, and calls show up on the desktop: answer from the notification, dial, mute, keypad tones, call waiting and hold. If the phone shares them, it also shows contacts, favourites and recent calls. No app on the phone, so Android and iPhone both work.
How it's built (the Python part):
- PySide6 + QML (Kirigami) for the UI. Python holds the state and exposes it to QML as properties and slots; QML just draws it.
- jeepney for D-Bus. I started with QtDBus, but from Python it can't unpack PipeWire's call list (an
a(oa{sv})reply), so the D-Bus side moved to jeepney, a pure-Python D-Bus library. - No Bluetooth stack of my own. PipeWire 1.4 added Bluetooth telephony, so answering, dialing and hanging up are just D-Bus calls to PipeWire's telephony API, and audio is a normal PipeWire device.
- Contacts over Bluetooth PBAP, through BlueZ's obexd: one session pulls the phonebook, favourites and call history as vCards, which a small Qt-free module parses and matches to caller numbers.
- pytest covers the parsing and telephony logic, and GitHub Actions builds the Flatpak and attaches it to each release.
About 750 lines of Python and 1,000 of QML. MIT licensed, built with Claude Code.
https://github.com/KennyPorto/handset
(The phone numbers in the screenshots are all made up.)
r/madeinpython • u/mthnzbk • 10h ago
Doku2D Game Engine
Doku2D is an open-source engine for making 2D games in Python. It uses SFML through PySFML for graphics, windowing, input, and audio, and Pymunk for physics. OpenAI Codex wrote the engine code. I decided which features to build and how they should work, then playtested the sample games and guided development based on what I found.
Doku2D loads Tiled maps and supports animated tiles, collisions, and NPC pathfinding and route following. The UI supports themes and localization. You can write branching conversations in .dialogue files, with typewriter text, character portraits, player choices, and the ability to save and resume a conversation.
The doku2d build command uses Nuitka to compile your game into a standalone desktop application for Windows or Linux. You can also build a test APK or a signed Android App Bundle. The repository includes English and Turkish documentation, step-by-step tutorials, and sample games.
If youβre making 2D games in Python, Iβd like to hear where you get stuck, whether itβs during setup, while reading the docs, or when using the API.
r/madeinpython • u/UsedAd4766 • 19h ago
I built Pyzzel: A lightweight PostgreSQL ORM for Python with SQLAlchemy-like syntax and performance close to raw Psycopg 3
r/madeinpython • u/Handsome_sweettouu • 1d ago
School Python vs Modern Python π€― | If-Else vs NumPy #Shorts
Interesting python problem
r/madeinpython • u/Back2basics314 • 2d ago
Lifelong Learning Management System - Conceptual.fyi
Conceptual.fyi is up and made in Python
TLDR:
Search -> Bookmark a goal -> Sign in -> Answer questions on what you do know -> Learn toward your goal -> Build on that learning for a lifetime when you need it.
Seems easy enough... right? :)
I built a way to learn and keep up to date on research. I'm searching for concept-based learning on the internet. I'm ranking concepts by memorability, effort and brevity.
Sign in and I'll save your progress on any goal you choose. Once you've bookmarked a goal, I'll ask you ~5 questions to see what the next step is you should learn on your way to your goal. If you want to know why you're learning something, I'll explain it in the right column.
The over-egregious estimates assume you know nothing about anything. So take those with a grain of salt. Let me know if you have other ideas on how to present estimates better.
Technologies used:
- Python 3.14
- django 6 + templates
- htmx + alpine.js
- postgres
- nltk
- NetworkX
- Shoutout to django cookiecutter which helped me put the web stuff together originally
- Claude models helped build initial content curation and bad/better/recent UI.
- Content is found on the internet by its respective authors.

r/madeinpython • u/kvcux_ • 3d ago
Iβve been working on my little Python project β KVC-BASIC has some new features!
r/madeinpython • u/Druzina_M • 3d ago
Made a simple usage-detector and alert system in python!
Released the first beta version of ChillinPC- a program that checks your computer's temps and usage meters and marks if they hit near 100%. it's extremely lightwieght and usefull (at least for me). I also madde a short promotional video: https://www.youtube.com/watch?v=kPHKgyFfBoM
r/madeinpython • u/kvcux_ • 3d ago
I built a small BASIC-inspired programming language interpreter in Python β KVC-BASIC
r/madeinpython • u/Professional_Gas7715 • 3d ago
[Open Source] I'm a music producer (not a coder) and built a zero-latency 80s Eurodisco / Modern Talking stem generator in pure NumPy/SciPy with instant Ableton Live export β looking for contributors!
Hi everyone! As a non-coder music producer, I built eurodisco-mixer in pure Python (NumPy, SciPy, Gradio) to generate 6 synchronized 80s Eurodisco / Modern Talking WAV stems + full mix in ~0.1 seconds, complete with Guidance Scale DSP, Master EQ, and instant Ableton Live clipboard export.
Open-source (MIT License) on GitHub: https://github.com/mojsony13a-png/eurodisco-mixer
Looking for Python/DSP developers or synth fans to contribute ideas, MIDI export, or new 80s synth patches!
r/madeinpython • u/VGB2010LK • 3d ago
TUI for llama.cpp
Hi everyone!
I've been working on my first Python/PyPI project: Llama-UI, a Rich-powered terminal frontend for "llama.cpp", designed with Termux on Android in mind.
I wanted a simple terminal interface to manage llama.cpp, models and chats without having to manually manage everything through commands.
Features:
- Rich-powered terminal interface
- Import or download GGUF models
- Start, stop and inspect llama-server
- Chat history (save, load and delete)
- Per-model system prompts and generation parameters
- Edit and regenerate messages
- Server logs and controls
Installation:
pip install llama-ui-termux
Run it with:
llama-ui
GitHub: https://github.com/user01234-sl/Llama-UI-Python
PyPI: https://pypi.org/project/llama-ui-termux/
This is my first published PyPI project. I'd appreciate feedback, bug reports or suggestions for improvement!
Thanks for reading.
r/madeinpython • u/Creepy_Sherbert_1179 • 4d ago
Added sound to my GameBoy Color emulator written in purely python and pygame (full handwritten)
r/madeinpython • u/EventHorizon-dev • 4d ago
I built AlphaEngine: A quantitative portfolio optimization and financial analysis web app in Python
I wanted to share a project I've been developing: AlphaEngine, an interactive web application built with Python and Flask that computes optimal asset allocations using Modern Portfolio Theory (MPT).
Instead of manually guessing asset weights, the app fetches real-time market data, calculates daily and annual returns, and uses mathematical optimization to find the minimum-variance portfolio configuration.
Key features:
- Real-Time Data Integration: Automatically pulls historical close prices using the Yahoo Finance API (
yfinance). - Mathematical Optimization: Leverages SciPy's
SLSQPalgorithm to minimize portfolio variance subject to asset weight constraints. - Interactive Dashboard: Features a clean web interface built with Flask, dynamic JavaScript input fields, and pre-filled popular stock tickers.
- Visual Analytics: Renders a responsive, customized donut chart using Plotly to visualize the ideal asset distribution.
I'll drop the GitHub repository link in the first comment below. I'd love to hear your feedback or thoughts on the implementation!
r/madeinpython • u/EventHorizon-dev • 4d ago
I built a handwritten AI calculator with real-time learning in Python
Hey everyone,
I wanted to share an AI project I've been working on: a handwritten math calculator powered by a Keras/TensorFlow neural network and a Tkinter drawing interface.
Unlike standard digit-only classifiers, this model recognizes both digits (0β9) and basic mathematical operators (+, -), allowing users to hand-draw expressions and compute results. It also features live incremental learning, so you can instantly correct the model if it misidentifies a symbol.
Key features:
- Multi-class recognition for digits and operators from 28x28 grayscale images.
- Interactive Tkinter drawing canvas with automatic color normalization (to match the MNIST format).
- Live on-device correction using
train_on_batch: clicking a correction button immediately updates the neural network's weights and saves the model. - Real-time equation building and evaluation.
I'll drop the link to the GitHub repository in the first comment below if anyone wants to check out the code or test it. I'd love to hear your feedback or ideas for new features!
r/madeinpython • u/MatteoGuadrini • 5d ago
π PSP (Python Scaffolding Projects) v0.11.0 Released!
π PSP (Python Scaffolding Projects) v0.11.0 Released!
We're excited to announce the release of PSP v0.11.0, packed with new features, improvements, and fixes to make your Python project scaffolding even faster and more powerful!
π₯ What's New in v0.11.0?
β¨ Added
- ProjectResult type β Better structured output for project generation results.
prj_aifunction β AI-assisted project scaffolding for smarter defaults.toml_editdependencies β Enhanced TOML file manipulation.read_tomlandwrite_tomlfunctions β Easier TOML file handling.PSP_AIenvironment variable β Control AI-assisted scaffolding behavior.
π§ Changed
- Updated
pyproject.tomlfor better compatibility. - Added
rewriteparameter torender_templatefor more flexible templating. - Added
pytestdependencies inprj_toxfor better test integration.
π Fixed
- Fixed GitLab CI name for proper remote repository support.
- Improved code style consistency.
π Why Use PSP?
PSP is the fastest way to scaffold Python projects, with:
β 1-100x faster than other tools
β AI-optimized templates (SKILLS.md, AGENTS.md, llms.txt)
β Full Python ecosystem support (pip, conda, uv, poetry, hatch, maturin)
β CI/CD integration (GitHub Actions, GitLab CI, CircleCI, TravisCI)
β Docker & Container support
β Pause/Resume project creation
β Customizable profiles for different project types
π₯ Installation
Get started in seconds:
# Quick install (Linux/MacOS)
curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/MatteoGuadrini/psp/main/install.sh | bash
# Windows
iwr https://raw.githubusercontent.com/MatteoGuadrini/psp/main/install.ps1 | iexOr install via pip:
pip install psp-scaffold --upgradeπ Full Documentation
π https://psp.readthedocs.io/
π€ Contribute
PSP is open-source! Contributions are welcome: π GitHub Repository
r/madeinpython • u/OkNail7333 • 5d ago
HOCON for Python (oh ..., here we go again)
Hi all,
in my profession I am using HOCON format, but the native pyhocon has so many issues, and I wanted to try something new, so I started learning Zig. As initial project, I decided to implement HOCON for Zig. During the implementation it turned out the Zig is not issue, but HOCON with lacking official and checkable specification is.
My first part was to set into the stone what is HOCON actually, and created transferable Conformance suite.
Since Zig is wonderful language and allows very simple way of building sharable C libraries which can be easily ported to other languages I decided to prepare even Python package. This brings to the Python parsing immersive performance and great compatibility with HOCON specification better than what other python implementations provide..
Will be more than happy for feedback, and till you write me.
r/madeinpython • u/Handsome_sweettouu • 5d ago
Python's Hidden Traps! π± NumPy, Data Types & Floating Point Errors | Day 3 #iitian
You can relate to this for growing python skills
r/madeinpython • u/jurassic_park_123 • 5d ago
The python library "Beautiful Soup", from where did it gets that name from?
reddit.comr/madeinpython • u/Fast_Entrance7839 • 5d ago
my python flight search now builds google flights links by encoding the tfs protobuf by hand
i maintain viajante, a free open source flight search in python. until 1.7.0 the google flights links it returned opened the flights home page, so you had to type the search again.
now they go to /travel/flights/search?tfs=. the tfs value is a base64 protobuf message with the airports, dates, passengers, cabin and carry-on count.
there's no .proto file for it, so tfs.py writes the bytes itself. it has a varint writer, a length-delimited writer and a constant for each field number. 13 is the origin airport, 14 is the destination and 8 is passengers.
the field numbers came from probing google flights. checked bags are field 3, and google never echoed that filter back in the probes, so the encoder only writes the zero it saw.
r/madeinpython • u/autosur00 • 5d ago
Built a FastAPI service for B2B lead scoring and outreach generation with Pytest
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/Orbularium • 5d ago
7-state propagation + sparse $\mathbb{F}_7$ Exact-1 pre-processing for conflict auditing and causal traces
reddit.comr/madeinpython • u/Commercial_Lead5813 • 6d ago
Iβm learning Python by building a tiny character model from scratch
Iβm documenting my AI-learning journey by turning the lessons into one small Python project. This is the first milestone where everything from the earlier lessons connects into a runnable program.
It learns character-to-character patterns from a short text file, then samples those learned counts to generate a continuation. I used only Pythonβs standard library. The output can be awkward, which is useful to see: itβs a simple statistical model, not a neural network and not a finished chatbot.
The GitHub repository is linked above. Iβm also posting the lessons here: https://www.youtube.com/channel/UCWMERaecgKZmrqPUHLqWuow
Iβd appreciate feedback from people who remember learning Python: is the project layout understandable, and what would you improve next?
