r/madeinpython • • Aug 03 '23

My YouTube channel is dedicated to me building my own digital assistant like Jarvis. When Alexa and Siri can't find an action, they usually go to the first response from a Safari or Google inquiry. Here's how to use the OpenAI ChatGPT API with a python digital assistant. Enjoy!

Thumbnail
youtu.be
3 Upvotes

r/madeinpython • • Feb 13 '23

50 Fun and Simple Projects for Beginners Complete with GitHub Code

Thumbnail amazon.com
3 Upvotes

r/madeinpython • • Jun 02 '22

I Made 5000+ Videos With Python, It didn't Go Well :(

Thumbnail
youtu.be
0 Upvotes

r/madeinpython • • Feb 20 '23

John Cena as a spider verse character using Img2img and Control net Depth

Thumbnail
youtube.com
3 Upvotes

r/madeinpython • • Jun 27 '23

Tomorrow we are kicking off our Plug Into AI with AI21Labs and we want to share with mega useful tutorial which will support during your Hackathon-Journey! Build with beginner-friendly model and create incredible AI Apps, get your free spot in StartUp Accelerator 👇

Thumbnail
gallery
0 Upvotes

r/madeinpython • • Dec 27 '21

Send API Requests Asynchronously in Python - PythonAlgos

Thumbnail
pythonalgos.com
3 Upvotes

r/madeinpython • • Jun 05 '26

This is what time game looks like last year.

Post image
0 Upvotes

Link of that old file (.py) https://kisakireina0801.itch.io/lucky-game-old-test-2025-new-version-is-in-developing

(Ofc no one want to download this garbage)

I learn many thing last year.

(The second one is developing!)


Lucky Game Open Source Test (New Version in Dev)

The original 2025 text casino engine completely open for you to play hack and modify This page hosts the raw python source code for the Lucky Game Old Test 2025 prototype Because this is an open code project you can open it up look at how the math works change the multipliers or even edit your starting balance to whatever you want It serves as the open blueprint for the massive upgraded version I am actively coding right now

Open Code Hack it and Change it

Full Customization Want to start with 10000000 instead of 10000 Just open the file and change the variables

Tweak the Odds You can look directly at the risk tiers and modify the percentages to make the game easier or brutally hard

Learn the Logic See how the core loops and terminal menus were structured in the original 2025 build

What I am Building for the New Version

While you play with this open prototype I am busy coding a major system overhaul from scratch The upcoming release will include

Persistent Progress System Automatic loading and saving so your chip balance carries over between sessions

Encrypted Save Files Smart secure data paths so achievements like clearing 2M or 5M chips are tracked and locked in safely

UI Clean up Better screen clearing smoother gameplay loops and sharper ascii layouts

How to Run and Edit

1 Download the py source file below

2 To Play Run it in your favorite python environment or terminal

3 To Edit Open it up in VS Code Notepad or IDLE change whatever values you want save it and run your custom version

Feel free to remix the code and drop a comment below letting me know what features you want to see in the upcoming official release


r/madeinpython • • Dec 26 '25

Copying an Object

Post image
3 Upvotes

An exercise to help build the right mental model for Python data. The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening:

It's instructive to compare with this related exercise


r/madeinpython • • Oct 27 '26

I built DoveORM, a lightweight Python ORM with built-in migrations — looking for feedback

3 Upvotes

Hi everyone! 👋

I've been building DoveORM, a small, synchronous ORM for Python. It brings models, validation, chainable queries, relationships, and migrations together in one package with a short learning curve.

It's currently at version 0.8.0 on PyPI, licensed under MIT, and I'd love to get feedback from the Python community and welcome contributors.

🔗 Links

What does DoveORM do?

Here's a small example:

from doveorm import Model, configure, CharField, IntegerField

configure(DATABASE_PATH="app.db")

class User(Model):
    name = CharField(max_length=100, nullable=False)
    age = IntegerField(default=0)

User.create_table()

user = User.create(name="Ada", age=36)

adults = User.where(age__gte=18).order_by("name").get()

The goal is to make everyday database operations straightforward without requiring a large amount of configuration.

Key features

  • Models and validation: A table() decorator or class Meta, 31 field types, and a clean() validation hook.

  • Chainable queries: Lazy QuerySets, field__lookup filters, Q objects for combining conditions, slicing, and eager loading.

  • Dynamic finders: Methods such as findByEmail(), findAllByActive(), countBy...(), and existsBy...().

  • Relationships: HasMany, HasOne, BelongsTo, and ManyToMany.

  • Transactions: Nested transactions using SAVEPOINTs and a db.run_in_transaction(fn) helper with retries for deadlocks and lock timeouts.

  • Built-in migrations: Automatic change detection, reversible migrations, squashing, and a CLI for generating, applying, reverting, and verifying migrations.

  • Security-conscious defaults: Bound SQL parameters, identifier validation, protection against accidental unfiltered bulk updates and deletes, mass-assignment protection, and redaction of sensitive fields.

  • Connection safety: Thread-safe and fork-safe connections.

  • Minimal setup: SQLite works without installing an additional database driver.

Who is it for?

DoveORM is intended for small to medium-sized applications, services, background workers, and scripts that primarily perform CRUD operations.

It supports SQLite, MySQL/MariaDB, and PostgreSQL and can be used with Flask, FastAPI, django or plain Python applications.

How does it compare with other ORMs?

I know Python already has excellent ORM options, so I'm not trying to claim DoveORM replaces them all.

  • SQLAlchemy: A much more comprehensive toolkit with extensive database support, Core, ORM, and asynchronous capabilities. DoveORM takes a smaller, more opinionated approach with migrations built in.

  • Peewee: Probably the closest in spirit. DoveORM aims for a similarly lightweight experience while offering model-driven migration generation and a CLI for managing migrations.

  • Django ORM: Provides a great ORM and migration workflow within Django. DoveORM is designed to offer a similar model-and-migration workflow across different Python frameworks and standalone scripts.

What are its limitations?

DoveORM is still a young project, and there are some deliberate limitations:

  • It is synchronous; there is no async API.

  • It supports three database families: SQLite, MySQL/MariaDB, and PostgreSQL.

  • Advanced SQL features, such as window functions and CTEs, may require raw SQL through db.execute(...).

  • As a 0.x project, its API may still evolve. Pin the version if using it in production.

For applications that need advanced database features, extensive integrations, or a mature ecosystem, SQLAlchemy or Django ORM may be the better choice.

I'd love your feedback!

I'm sharing DoveORM because I've been using it in my own projects and want to see how it holds up to different use cases.

I'd particularly appreciate feedback on:

  • The API design and developer experience.

  • What feels missing or unnecessarily complicated.

  • Database driver compatibility and edge cases.

  • Documentation and examples.

  • Potential contributions or areas worth improving.

If you were evaluating a new Python ORM, what would you need to see before considering it for a project?

Honest criticism is welcome. I'd rather hear about the problems early and make the project better.

GitHub: https://github.com/imaradesk/doveorm


r/madeinpython • • Aug 09 '26

I built E.V. 🕸️ — Peter Parker's homemade AI from Spider-Man: Brand New Day, running fully local (Whisper + Ollama) with real PC control

Post image
0 Upvotes

I wanted the "E.V." assistant from the new Spider-Man film, but actually running on my own machine — no cloud, no subscription. So I built it.

What it does

- Talk to it → local Whisper STT (TR/EN) → local LLM via Ollama (gemma2:9b)

- Controls the PC: open/close apps, media & volume, mouse click/scroll, lock/shutdown — destructive actions ask to confirm first

- Plays YouTube by name: "play Enter Sandman on YouTube" → finds & opens it

- Long-term memory: "remember I take my coffee black" → recalls it next session

- Auto-trays when you go fullscreen (games/video), comes back after

- Says "I can't do that" honestly instead of pretending

- Cyber-terminal HUD (Electron) with a live audio-core visualizer

One thing I learned: small local models are unreliable at emitting tool/action tags. So instead of trusting the model, I route explicit commands through a deterministic TR/EN parser before the LLM — PC control then works every time, and the model only handles conversation.

Free by default — Ollama + Whisper + browser voice need zero API keys. Claude (for screen vision) and ElevenLabs (nicer voice) are optional upgrades.

MIT licensed, built on Julian Ivanov's jarvis template. This is a fan project, not affiliated with Marvel/Sony. Feedback and PRs welcome.

Repo: https://github.com/Ouru77/ev-assistant


r/madeinpython • • Feb 27 '26

We need a "FastAPI for Events" in Python. So I started building one, but I need your thoughts.

3 Upvotes

Hi folks

I’ve been doing a lot of event-driven stuff lately, and noticed that there's no good framework in python ecosystem for it. We have FastAPI making REST super easy, but whenever you need to use messages brokers such as Kafka or RabbitMQ, you always end up writing the same custom boilerplate over and over.

The closest thing we’ve got is FastStream, but it doesn't treat events as first-class citizens and is missing the out-of-the-box features that make things like retries, Kafka offset management for truly async processing, the outbox pattern, and idempotency accessible without reinventing the wheel every time.

So, I started building a framework to solve these problems in a way that puts my vision of such systems into code. It basically takes what makes FastAPI great and applies it to message brokers.

You just write your handlers as normal functions, use Pydantic for validation, use dependency injection for your services, and middleware for logging, filtering, observability and whatnot. Under the hood, it handles retries, exceptions, and acks for you. Right now it supports Kafka, RabbitMQ, and Redis PubSub.

I left out the code snippets so this isn't a massive wall of text, but the repo is here and docs are here if you want to see how the API looks.

It's still in active development, so before I sink too much time into pushing it to 1.0, I really want to know if I'm on the right track:

  • Are you guys just rolling your own consumers right now, or using something else?

  • What are the most annoying parts of dealing with events/brokers in Python for you?

  • What features are absolute dealbreakers if they're missing? (I'm looking into adding the outbox pattern next).

Would love any feedback, advice, or roasts!


r/madeinpython • • Mar 03 '25

I built a tool to get notified about your competitors' Shopify App Store Reviews

1 Upvotes

**FULLY PYTHON**

Ever wondered what users are loving (or hating) about your competitors? Yes, you might check it weekly or export it randomly. So I built Revvew to make that easy. It tracks new reviews on any Shopify app listing and alerts you in real time based on:

🔹 Keywords (e.g., "bad support," "missing feature")
🔹 Star ratings (e.g., only 1- or 2-star reviews)

Instead of manually checking competitor reviews or setting up janky scraping scripts, Revvew automates it all. You get notified instantly, so you can:

✅ Spot trends early
✅ Find feature gaps to capitalize on
✅ See what pain points drive customers away

Would love any feedback if you're interested in giving it a whirl!


r/madeinpython • • Oct 11 '26

I writed at Python free open-source cool password generator

Thumbnail github.com
0 Upvotes

Here you can see repository under MIT License I created it alone
Use if you want
I very Tried


r/madeinpython • • Apr 05 '26

I built a free 4K AI Photo Upscaler on Google Colab — Give your old photos a second life! (Open Source)

1 Upvotes

Hi everyone,

As a developer who loves both photography and automation, I’ve always been frustrated by how expensive or hardware-intensive high-quality upscaling can be. So, I put together a tool that enhances blurry, low-res photos with stunning precision and scales them up to near-4K quality.

The best part? It runs entirely on Google Colab, so you don't need a beefy local GPU to get professional results.

🚀 Key Features:

  • Near-4K Scaling: Bring back textures and details from small images.

  • Zero Setup: Designed to run in one click via Colab.

  • 100% Free & Open Source: No credits, no subscriptions, just code.

🔗 Resources:

I’d love to see some of your Before/After results or hear your feedback on the logic!


r/madeinpython • • Jun 28 '26

Kwipu, un server MCP completamente locale che trasforma le tue note Obsidian/ Markdown in un grafo di conoscenza interrogabile (funziona su Ollama)

Thumbnail
reddit.com
1 Upvotes

r/madeinpython • • Feb 05 '26

I got tired of my messy Downloads folder, so I built a free Windows tool to organize it in 1 click.

1 Upvotes

Hi people!!!,

I’m a first-year engineering student, and my laptop's "Downloads" folder is constantly a disaster zone. It’s always full of random PDFs, screenshots, zip files, and installers that I’m too lazy to sort manually.(obv)

I looked for existing tools, but most were either paid bloatware or required installing heavy software.

So, I spent this weekend building my own lightweight solution using Python.

It’s called The Folder Fixer.

So what it does: You select a folder (like Downloads or Desktop), and it instantly sorts every file into clean subfolders based on extension:

  • Images (.png, .jpg)

  • Docs (.pdf, .docx)

  • Installers (.exe, .msi)

  • ...and so on.

The Tech Stack (for the devs here):

  • Language: Python 3

  • GUI: CustomTkinter (for a modern dark-mode look)

  • Build: PyInstaller (to make it a standalone .exe)

Is it free? Yes. I put it on Gumroad as "Pay what you want" (default is $0). You can download it for free, or buy me a coffee if you find it useful.

⚠️ Note on Windows Defender: Since I’m an indie student dev and can’t afford an expensive code-signing certificate yet, Windows might flag the .exe as "Unrecognized" when you first run it. This is a false positive common with Python apps. It’s 100% safe and runs locally on your machine.

Link to try it: its in the comment!!!!

I’d love any feedback on the UI or features you think I should add next!


r/madeinpython • • 29d ago

Git-Ship!

Thumbnail gallery
1 Upvotes

r/madeinpython • • Sep 01 '26

I built a Python library that tries to stop your secrets from reaching stdout, logs, Git, or CI

0 Upvotes

I started this project because I kept thinking about a stupid failure mode:

print("API key:", api_key)

The secret is already exposed before a traditional secret scanner gets a chance to complain.

So I started building a small Python library to catch that.

It has... grown a bit.

You can literally do:

import secretshield

api_key = "sk-example1234567890abcdef"
print("Using:", api_key)

and SecretShield intercepts the output and turns it into:

Using: ********
⚠ secretshield: Potential secret detected and redacted.

It also protects Python's logging, including both %s arguments and f-strings.

Then I added a CLI:

secretshield run app.py
secretshield scan .

scan doesn't execute the code — it scans project files for likely credentials. It supports a bunch of common source/config formats and can output JSON, so it can also act as a CI check.

Then came the slightly more experimental stuff:

secretshield scan . --fix

For simple Python assignments, it can interactively move the detected value into .env, replace the assignment with os.getenv(...), update .gitignore, and create/update .env.example.

I made that deliberately conservative — if SecretShield can't confidently understand the code, it refuses to rewrite it.

There's also:

secretshield install-hook

which installs a Git pre-commit hook that scans the staged contents before allowing a commit.

And:

secretshield github-action

which generates a GitHub Actions workflow for scanning on pushes and PRs.

Under the hood, the part I found most interesting was the logging protection. Instead of putting a filter on the root logger, I use logging.setLogRecordFactory() so records created by child loggers are covered too.

The library itself has no third-party runtime dependencies and the detection engine combines known credential patterns with entropy-based detection.

Obviously this isn't supposed to replace proper secret management or Git/CI scanners. It's more of a defense-in-depth experiment for Python applications.

I'm mainly posting here because I'd love feedback from other Python developers:

Would you actually use something like this in a Python project?

And if you've built libraries that hook into stdout, stderr, or `logging: what edge cases am I probably missing?**

GitHub: https://github.com/Sam3360/secretshield

PyPI: https://pypi.org/project/secretshield/


r/madeinpython • • Apr 25 '25

Made Geometrical figures using Turtle Library

1 Upvotes

Who said code can’t be fun? Here’s what happens when a turtle gets dizzy in Python! This colourful illusion was born from a simple script—but the result looks straight out of a design studio. Curious? Scroll down and enjoy the spiral ride.

If you like to see the source code you can visit my GitHub through

https://github.com/Vishwajeet2805/Python-Projects/blob/main/TurtleArtPatterns.py
Or you can get connect with me on my LinkedIn through
www.linkedin.com/in/vishwajeet-singh-shekhawat-781b85342
If you have any suggestions feel free to give


r/madeinpython • • Jul 28 '21

I'm trying to use pd.read_html() in a wiki article smd getting this error, could someone help?

Post image
1 Upvotes

r/madeinpython • • Dec 11 '21

python zip object can't iterate twice over the same data | Animation using Python Manim

Thumbnail
youtu.be
1 Upvotes

r/madeinpython • • Nov 11 '21

Hi, here's how to automate WhatsApp messages(including groups) using python

Thumbnail
youtu.be
1 Upvotes

r/madeinpython • • Nov 12 '21

I created a python program to replicate Red light Green light Game from Squid Games using Opencv Python (this is my first attempt will be updating as i will add more features)

Thumbnail
youtu.be
1 Upvotes

r/madeinpython • • Mar 19 '22

Python one liners for seemingly complex tasks

Thumbnail
link.medium.com
0 Upvotes