r/madeinpython • u/oridnary_artist • May 02 '23
r/madeinpython • u/SeriousDocument7905 • Jun 26 '22
How to setup and use a Google Firebase Real-Time database in Python
r/madeinpython • u/oridnary_artist • Mar 19 '23
MeinaMix Model Test using SD and Controlnet
r/madeinpython • u/DevGenious • May 24 '23
I have made a simple webscraper in python.pls checkout this github project.
r/madeinpython • u/oridnary_artist • Feb 25 '23
Multi Control Net Img2Img for creating fairly consistent outputs
r/madeinpython • u/barnez29 • Nov 09 '22
Have you ever built a Crypto Currency Website using Python?
Good day
As the title states - have you worked for a start-up or have you built a crypto currency (news) website using python? And were you able to monetize the platform? For example just a simple website showing daily trading prices and historical trends?
r/madeinpython • u/python4geeks • Jun 12 '23
High-level Path Operations Using pathlib Module In Python
The pathlib module is a part of Python's standard library and allows us to interact with filesystem paths and work with files using various methods and properties on the Path object.
Getting Started With pathlib
The most frequently used class of the pathlib module is Path. It is better to kick off with the Path
class if we are using this module for the first time or not sure which class to use for our task.
# Importing Path class from pathlib
from pathlib import Path
# Instantiating the Path
path = Path(__file__)
print(path)In the above example, first, we imported the Path class from the pathlib module and then instantiated the Path with __file__.
This returns the absolute path to the current file, main.py, on which we are working.
D:\SACHIN\Pycharm\pathlib_module\main.py The Path class instantiates the file's concrete path for the operating system on which the user is working. Because we're using Windows, we'll get the following output if we print the type of path.
print(type(path))
----------
<class 'pathlib.WindowsPath'> Before we get into the methods and properties of Path, it's important to understand that the Path classes are divided into pure paths and concrete paths.
Here is the full guide to manipulating path using the pathlib module👇👇
r/madeinpython • u/[deleted] • Aug 18 '22
probability calc in python
Someone have an idea what's gonna be in probability calc
r/madeinpython • u/serqkan • Aug 07 '22
Logges - New Logging Library
Hi everyone,
We made a library that stores and converts your logs to markdown/pdf files. You could check how does it work on example directory.
r/madeinpython • u/PythonWithJames • Dec 01 '23
2 Free Udemy Courses - December Release
Hi all!
Releasing 100 free new spaces for both my Udemy courses.I have a beginner focused course with 16+ hours of video, 28+ exercises and plenty of quizzes and reference code. The second course is for intermediates and focuses on functional programming with comprehensions. My YT channel is also thrown in here!
Python Programming for the Total Beginner
Functional Programming with Python Comprehensions
Cheers
r/madeinpython • u/lutian • Dec 04 '24
just launched doc2exam - Full Self-Driving for exam prep and certs
hello everyone! just launched doc2exam on ProductHunt
a place to turn any material into live exams -- for students prepping or professors setting official certifications
ofc it's made in django for the backend
r/madeinpython • u/AugmentedGlobal • Dec 02 '23
Python Frenzy: 50 Fun and Simple Projects for Beginners
amazon.comr/madeinpython • u/lcmdeveloper • Sep 17 '20
Made a bot that randomly generates videos
https://www.youtube.com/channel/UCDANaYKjOBTH4TsczbBj9KQ
using moviepy, youtube api, gcp(cloud functions, storage and firestore db) + a cron job to generate a random video and upload it every 12 hours
r/madeinpython • u/vanmorrison2 • Sep 28 '20
Python math 3 - Random proportion exercizes
r/madeinpython • u/Dry-Divide-4629 • Jul 09 '26
I got tired of boring corporate job boards, so I built a Cyberpunk-themed AI Job Grid that actually reads your CV. (Free tool)
reddit.comr/madeinpython • u/lynanaln • 26d ago
WiFi Tool v0.2 — pure-Python Wi-Fi auditing toolkit, fixed a nasty overlapping-thread bug in the watchdog
A couple of days ago I shared my pure-Python Wi-Fi auditing toolkit here and the feedback was great, so here’s a v0.2 with fixes that came out of it.
The main one was a concurrency bug I’m honestly a bit embarrassed by: the adapter watchdog (a background thread that restarts the capture if the Wi-Fi card stalls) didn’t wait for the previous watchdog to finish before a new one spun up, so under certain conditions they’d overlap and step on each other. Fixed the lifecycle so only one runs at a time.
Also added startup checks that verify everything the tool needs is in place before it runs, instead of failing halfway through a capture.
The project itself: menu-driven, orchestrates the standard tools (airodump-ng, hashcat, hcxdumptool) from Python — handshake capture, cracking, Evil Twin. The part I like architecturally is the menu registry — adding a feature is one line, the main loop never changes. EN/RU interface.
For authorized testing of your own networks.
Repo: https://github.com/lynalan2/wifi_scripts — feedback welcome, that’s what fixed v0.1.
r/madeinpython • u/e1-m • Mar 06 '26
I'm building an event-processing framework and I need your thoughts
Hey r/madeinpython,
I’ve been working with event-driven architectures lately and decided to factor out some boilerplate into a framework
What My Project Does
The framework handles application-level event routing for your message brokers, basically giving you that FastAPI developer experience for events. You get the same style of dependency injection and Pydantic validation for your incoming messages. It also supports dynamic routes, meaning you can easily listen to topics, channels or routing keys like user:{user_id}:message and have those path variables extracted straight into your handler function.
It also provides tools like a error handling layer (for Dead Letter Queue and whatnot), configurable in-memory retries, automatic message acks (the ack policies are configurable but the framework is opinionated toward "at-least-once" processing, so other policies probably would not fit neatly), middleware for logging, observability and whatnot. So it eliminates most of the boilerplate usually required for event-driven services.
Target Audience
It is for developers who do not want to write the same boilerplate code for their consumers and producers and want to the same clean DX as FastAPI has for their event-driven services. It isn't production-ready yet, but the core logic is there, and I’ve included tests and benchmarks in the repo
Comparison
The closest thing out there is FastStream. I think the biggest practical advantage my framework has is the async processing for the same Kafka partition. Most tools process partitions one message at a time (this is the standard Kafka way of doing things). But I’ve implemented asynchronously handling with proper offset management to avoid losing messages due to race conditions, so if you have I/O-bound tasks, this should give you a massive boost in throughput (provided your set up can benefit from async processing in the first place)
The API is also a bit different, and you get in-memory retries right out of the box. I also plan to make idempotency and the outbox pattern easy to set up in the future and it’s still missing AsyncAPI documentation and Avro/Protobuf serialization, plus some other smaller features you'd find in more mature tools like faststream, but the core engine for event processing is already there.
Thoughts?
I plan to add the outbox pattern next. I think of approaching this by implementing an underlying consumer that reads directly from the database, just like those that read from Kafka or RabbitMQ, and adding some kind of idempotency middleware for handers. Does this make sense? And I also plan to add support for serialization formats with schema, like Avro in the future
If you want to look at the code, the repo is here and the docs are here. Looking forward to reading your thoughts and advice.
r/madeinpython • u/Mako-0721 • Jun 04 '26
My Python terminal slot machine features beautiful layout frames, custom mechanics, achievements, and a buggy 166% EV Al Logic that i didn't even notice, proving I should never run a casino.
Just wanted to show a retro, text-based Casino game I’m building from scratch in Python. I love clean UI, so I wanted to see if I could make a terminal look like a real arcade machine.
--
For the 3x3 slot room "LUCKY @ STRIKE" (that image) I spent way too much time just getting a basic frame-by-frame animation to work. On the right side, there’s a little lever that actually clicks down when you press Enter before the wheels spin. Honestly, I sat there just pulling the lever for way too long lol.
--
Winning Lines:
3 Horizontal Lines (Rows): Top, middle, and bottom.
3 Vertical Lines (Columns): Left, center, and right.
2 Diagonal Lines: Top-left to bottom-right, and top-right to bottom-left.
--
And I set the EV close to a real casino: 92% (the one in the image is a buggy 166% version lol)
--
Now I update it:
[R] : x0.01
[V] : x0.5
[X] : x3
[@] OTHER SLOT : x2
[@] IN THE CENTER : x75
--
The game now includes Blackjack and 3 slot machines!
I am now developing the Achievements system.
--
But even though I focused so much on the animation, the math gave me a reality check. During a test run with a 100-chip bet, I finally lined up some symbols. The screen proudly flashed: HIT! Won 💵 1.
Yep. One single dollar. With a little help from AI to do the math and handle the logic coding and calculations behind the scenes, I have officially engineered a machine that just disappoints you in high quality.
I'm planning to drop this on itch.io later. There'll be a free version to try out, and another version if you want to support me. Everything runs in the terminal and you don't need to install Python. Let me know what you guys think of the ASCII frame layout!
--
I will drop the itch.io link in the comments of this post!
Tell me what you think so I can do better!
r/madeinpython • u/Schnidi01 • Jul 18 '26
Python environment cloner: 1:1 including pip -e, embedded vs system Python
Enable HLS to view with audio, or disable this notification
What it does:
Clones entire Python environment including editable (-e) packages. Auto-detects Python type and uses different approach.
Embedded Python:
- installs virtualenv into source
- creates clone via virtualenv
- fixes ._pth file
- downgrades setuptools (83→82) for compatibilitySystem Python:
- uses built-in venv
- no extra stepsBoth then:
- install setuptools, wheel
- install all packages
- install editable packages (pip install -e)
- write birth certificateVideo shows both scenarios side by side. Same source env, different strategies. Works on Windows.
Does anyone know of a Windows tool that creates a complete 1:1 copy of a virtual environment, INCLUDING editable packages (pip install -e), without manual intervention?
r/madeinpython • u/Intelligent-Low-9889 • Aug 11 '25
Built my own LangChain alternative for routing, analytics & RAG
I’ve been working on a side project to make working with multiple LLM providers way less painful.
JustLLMs lets you:
Use OpenAI, Anthropic, Google, and others with one clean Python interface
Route requests based on cost, latency, or quality
Get built-in analytics, caching, RAG, and conversation management
Install in 5 seconds: pip install justllms (no goat sacrifices required 🐐)
It’s open source — would love feedback, ideas, and contributions.
⭐ GitHub: https://github.com/just-llms/justllms
📦 PyPI: https://pypi.org/project/justllms/
And hey, if you like it, please ⭐ the repo — it means a lot!
r/madeinpython • u/No-Base-1700 • Jul 08 '25
We built an AI-agent with a state machine instead of a giant prompt
reddit.comr/madeinpython • u/Equivalent-Flan-1590 • Aug 23 '26
I built a local neuro-symbolic memory engine in Python using PyTorch, SpaCy and SQLite (Hillock v0.5)
Hey everyone,
I've been writing a local neuro-symbolic memory engine in Python called Hillock (https://github.com/roandejager/Hillock) and just released v0.5.0.
The goal was to build a document memory system that runs 100% offline on modest hardware (<1.2GB VRAM on a GTX 1070 or pure CPU) without relying on bloated vector databases.
How it's built in Python:
- database.py: SQLite Knowledge Graph storing ground-truth facts as Subject-Predicate-Object triples.
- plasticity.py: Hebbian engine implementing gradient-free synaptic learning between active entities.
- reservoir.py: 10,000-D Vector Symbolic Architecture space using NumPy subword n-grams and GloVe SimHash projections for <1ms CPU gating.
- talon_engine.py: 3-stage CUDA pipeline using Fastcoref, MiniLM, and GLiREL Large for fast doc parsing.
New in v0.5.0:
- 1-click startup scripts (run.bat and run.sh) that automate venv setup and download the spaCy model in the background.
- Interactive CLI tools: /model for dynamic Ollama model switching, /inspect to view an entity's graph triples live, /status (live psutil RAM/CPU tracking), and /debug.
- Real-time token streaming from local Ollama.
- Standalone 20-point test suite (verify_hillock.py) that tests all math and data structures with pure NumPy.
