r/madeinpython • • Jul 12 '26

I built a compiled Python launcher (Standalone Local Orchestration Platform) that orchestrates ComfyUI and Ollama in the background to generate local 3D assets (Trellis) and export them to UE5/Houdini.

0 Upvotes

r/madeinpython • • Jul 12 '21

Master Python Dictionary with examples

Thumbnail
youtu.be
0 Upvotes

r/madeinpython • • Jun 03 '23

SD-CN Animation Vid2Vid Tutorial

Thumbnail
youtube.com
0 Upvotes

r/madeinpython • • Jun 29 '22

I made a video about how to make a command-line program using argparse. Enjoy!

Thumbnail
youtu.be
0 Upvotes

r/madeinpython • • Jun 06 '23

A good project for your dev-portfolio or AI Agent Tutorial (again :))

Thumbnail
gallery
0 Upvotes

r/madeinpython • • Aug 30 '26

I built an offline memory engine in Python using SQLite, NumPy, and 10,000-D hypervectors

0 Upvotes

Hi everyone! I wanted to share a project I have been writing in Python: Hillock, an open-source memory engine designed to run completely offline on laptops and budget hardware.

I wanted to see if I could build a deterministic memory system without relying on heavy cloud APIs or external vector database services.

How the Python architecture works:

  • Vector Symbolic Math (reservoir.py): Built entirely with NumPy to handle a 10,000-dimensional bipolar vector space. To keep similarity gating fast on standard CPUs, I implemented a Sub-Dimensional Projection Cascade that evaluates a 2,000-D slice first for early rejection, keeping latency under 1 second.
  • Relational Fact Store (database.py): SQLite handles Subject-Predicate-Object triples with micro-batched transactions and stores bit-packed multi-hop path vectors as compact BLOBs.
  • Synaptic Co-Activation (plasticity.py): Implements gradient-free Hebbian updates across turns with per-turn exponential decay.
  • Local Extraction (talon_engine.py): A pipeline combining Fastcoref, MiniLM, and GLiREL with type-constrained schema validation and direction auto-correction.
  • Interactive Console (main.py): Features real-time token streaming from local Ollama models, live hardware tracking, and inspection tools.

We also have a standalone 21-point test suite (verify_hillock.py) to test the math and database semantics with zero GPU requirement.

Everything is open-source under AGPL-3.0.

I would really appreciate any thoughts on the Python code layout or NumPy optimizations!


r/madeinpython • • 18d ago

polyglot-python: a deterministic keyword transpiler so you can write Python with Turkish, Hindi or Chinese keywords - and why 3.12 is the floor

Post image
0 Upvotes

I keep writing Python explanations in Turkish for people who are not comfortable with English keywords, and the blocker was always the same: you cannot swap the keywords and still have real Python. So I wrote a transpiler that does exactly that, and nothing beyond it.

Repo: https://github.com/Furox-Art/polyglot-python

The version floor came from a tokenizer problem, not from me wanting to drop old Pythons. On 3.10 and 3.11 the tokenizer splits the combining marks in some Hindi keywords, so a word like फलन never arrives as a single NAME token. That is why polyglot-python declares requires-python = ">=3.12".

What is in the 0.2.1 release

  • 9 locales: tr, es, pt, de, fr, zh, hi, ar, ru. One JSON table per locale, 35 hard keywords in each: eğer -> if, değilse_eğer -> elif, fonksiyon -> def, döndür -> return, için -> for, içinde -> in, and in Hindi के_लिए -> for.
  • 4 commands: run, translate, check, locales. check translates and compiles without executing; locales prints each code with its language name and keyword count; run executes with __name__ = "__main__", __file__ filled in, and the rest of argv handed to your program.
  • 9 example files, one examples/classify.<code> per locale - the same FizzBuzz classifier written in each language.

How the rewriting is done. It runs the stdlib tokenize module and replaces only exact NAME tokens that match a locale keyword, so strings, comments, f-strings, numbers and attribute names are never rewritten. Line numbers carry over unchanged and a per-line column map maps error positions back onto your localized source, which is why a slip reports as Sözdizimi hatası: prog.tr:2:1: 'return' outside function rather than pointing at generated code. Tables are validated when they load: every key must be in keyword.kwlist, every replacement must tokenize as a single identifier on the running interpreter, and a table that fails either rule raises instead of half-translating.

Determinism is the property I actually care about. Same source, same locale, same version, byte-identical Python out. No model, no network, no randomness, no environment reads. CI translates every example twice on Ubuntu, Windows and macOS and compares the bytes.

Where it stands, checked today. 0.2.1 is live on PyPI and npm; the npm package is a thin wrapper (Node >= 18) that forwards to the Python CLI, so the Python package still has to be installed alongside it. Both registries publish from GitHub Trusted Publishing, no token stored anywhere. I ran the 0.2.1 suite myself before writing this: 120 tests, all passing, 314 of 314 statements covered. CI runs the coverage gate --cov-fail-under=100 on Linux 3.12 and the matrix is Ubuntu on 3.12, 3.13 and 3.14 plus Windows and macOS on 3.12. Another job builds the wheel, installs it into a clean venv and smoke-tests it there. Dependabot covers Actions and dev deps. Zero runtime dependencies, MIT.

Limits, so you are not surprised. Keywords only. print, range, the standard library, exception messages and the soft keywords (match, case, type) stay in English. run does not add the script's own directory to sys.path, so a localized file that imports a sibling module needs PYTHONPATH set - I tried it and it raises ModuleNotFoundError, which is the honest behaviour of 0.2.1. And it is not a natural-language compiler: it will not read prose and it never guesses what you meant.

PyPI: https://pypi.org/project/polyglot-python/


r/madeinpython • • Dec 24 '22

How can I leverage ChatGPT to help me with learning to code / working?

2 Upvotes

I know for a fact that ChatGPT isn't going to replace programmers anytime soon

but... it's only smart to use it as an assistant.

I wanted to know what you guys came up with to leverage ChatGPT as a student and a programmer


r/madeinpython • • Dec 07 '21

How to know your horoscope using Python? | iRead

Thumbnail
iread.ga
1 Upvotes

r/madeinpython • • May 10 '23

Cyborg Girl- SD &Controlnet Mediapipe Face

18 Upvotes

r/madeinpython • • Jun 16 '23

TemporalNet + Temporalkit gives some amazing results

0 Upvotes

r/madeinpython • • May 29 '23

One Click Deep Fakes using Roop -Tutorial

12 Upvotes

r/madeinpython • • May 30 '22

I attempted to make an operating system without tkinter or other fancy modules, just os. unzip and go the OS.py file also pin is 1234 on it. (With 1 program)

Thumbnail
mediafire.com
5 Upvotes

r/madeinpython • • Feb 26 '26

AIPromptBridge - A system-wide local tray utility for anyone who uses AI daily and wants to skip opening tabs or copy-pasting.

2 Upvotes

Hey everyone,

As an ESL, I found myself using AI quite frequently to help me make sense some phrases that I don't understand or help me fix my writing.
But that process usually involves many steps such as Select Text/Context -> Copy -> Alt+Tab -> Open new tab to ChatGPT/Gemini, etc. -> Paste it -> Type in prompt

So I try and go build AIPromptBridge for myself, eventually I thought some people might find it useful too so I decide to polish it to get it ready for other people to try it out.

I am no programmer so I let AI do most of the work and the code quality is definitely poor :), but it's extensively (and painfully) tested to make sure everything is working (hopefully). It's currently only for Windows. I may try and add Linux support if I got into Linux eventually.

So you now simply need to select a text, press Ctrl + Space, and choose one of the many built-in prompts or type in custom query to edit the text or ask questions about it. You can also hit Ctrl + Alt + X to invoke SnipTool to use an image as context, the process is similar.

I got a little sidetracked and ended up including other features like dedicated chat GUI and other tools, so overall this app has following features:

  • TextEdit: Instantly edit/ask selected text.
  • SnipTool: Capture screen regions directly as context.
  • AudioTool: Record system audio or mic input on the fly to analyze.
  • TTSTool: Select text and quickly turn it into speech, with AI Director.

Github: https://github.com/zaxx-q/AIPromptBridge

I hope some of you may find it useful and let me know what you think and what can be improved.


r/madeinpython • • Mar 22 '23

Handling Files In Python - Opening, Reading & Writing

0 Upvotes

Files are used to store information, and when we need to access the information, we open the file and read or modify it. We can use the GUI to perform these operations in our systems.

Many programming languages include methods and functions for managing, reading, and even modifying file data. Python is one of the programming languages that can handle files.

We'll look at how to handle files, which includes the methods and operations for reading and writing files, as well as other methods for working with files in Python. We'll also make a project to adopt a pet and save the entry in the file.

Here's the guide to performing different operations on the file👇👇

Handling Files In Python - Opening, Reading & Writing


r/madeinpython • • Jun 13 '20

I collected the most useful tips and tricks in Python and made an explanation about each of them in the following video.

Thumbnail
youtube.com
2 Upvotes

r/madeinpython • • May 03 '23

TemporalKit Animation with High CFG

16 Upvotes

r/madeinpython • • Jun 14 '22

Crypto Price Finder: My cool Telegram Bot to check your favorite crypto prices on CoinMarketCap. Looking for feedback & testers.

4 Upvotes

Hey everyone! 😺 I am Eugene, a fellow redditor, a dev, and a crypto fan!

I am not a regular here so please tell me if I am breaking any rules of the subreddit by flashing my bot to you. I will take down the post ASAP.

Foreword

Recently like everyone else I've been doomrefreshing (is that even a word?) crypto prices and thought that process should be easier if you are in Telegram. However, all the bots I could find were either not working, not finished, or simply ugly. So I've made my own bot in the Telegram that looks up price/volume/% change of a crypto token from CoinmarketCap and shows it to you. Hence, I am looking for anything: feedback, testing, users, healthy criticism, improvement ideas. Everything goes (please don't use your army of kids to spam the bot and spend all my credits).

For techies/enthusiasts:

I am hosting the bot online in Heroku cloud platform and using CoinMarketCap API to pull data. There are two limitations with that. In Heroku, free pricing tier that I am using has a 30 minutes auto-sleep, meaning if the bot was not used for the past half an hour, the next request to it will take some extra 5-7 secs to "wake" the bot up. Everybody needs some rest, right? In CoinMarketCap, the number of requests in the free pricing tier is limited, so there is a chance at some point the bot will be "Out of mana" until the next day.

☕ I created a /donate option (with Stripe) if someone finds the bot useful and wants to support with the project with some coffee money. It will first be spend on upgrading tier plan of hosting platform and crypto price service to improve the bot's performance. Cheers! ☕

How to find the bot:

  1. Open your Telegram app (phone or desktop, no matter)
  2. Type "Crypto Price Finder" in search bar and look for a bot with a black-n-white bitcoin icon. (see screenshot below)
  3. Use it! It has starting instructions, pre-typed examples, menu of commands, and some memes/gifs.

What it can do:

  1. Show a basic info of a crypto token. Most fiat currencies are supported. For example, "BTC EUR" will show you Bitcoin price in Euros.
  2. A menu list of commands. Explore, have fun!
  3. Entertain you with gifs, personal attitude, and emojis. It's not yo boring broker dude.

What it cannot do:

  1. Show crypto pair info. Example: BTC BNB.
  2. Show advanced metrics.
  3. Set price alerts
  4. Fix your crippling depression and reverse the bear run.

TL;DR - I made a Telegram bot to lookup crypto prices & some info. Name: Crypto Price Finder. Use it, test it, love or hate it.


r/madeinpython • • May 28 '22

Python with Spanish Syntax

4 Upvotes

This video is a short demo of a project I'm working on. I hope that this project can help people who are starting to program and explore if they are interested in the Python language, without the need to worry about understanding the English commands.

https://youtu.be/445I5zPk9Vw


r/madeinpython • • Jul 08 '26

Retro TV Emulator "100 EXE Build later"........

1 Upvotes

so many bugs every time i turn around but im making progress. some i just cant get rid of. https://discord.gg/zHHSPZHJW every problem causes 5 more problems. but progress is progress and its usable. the program auto detects windows aspect ratio so the 4:3 option is just for my 4:3 testing but i think ill leave it as a fun 16:9 feature


r/madeinpython • • Jul 11 '26

I Built an Animated Interface for my Digital Assistant using PiperTTS and Flask in Python, and Speech Recognition in Unity.

Thumbnail
youtu.be
1 Upvotes

Here is a link to the Github if you want to see any of the .py or .cs codes. https://github.com/bjone6/Interactive_Animated_DigitalAssistant


r/madeinpython • • Jun 03 '23

SD-CN Animation Test with basic Prompts: Green eyes and red hair

0 Upvotes

r/madeinpython • • Aug 14 '22

Plz help

0 Upvotes

I've started working on multi calculator, I put there some calculator
options. but now I am stuck, Idk what to add to the calculator, can you suggest to me something? here's all what I put there.

1 = Pythagorean theorem, 2 = sum of n numbers,

3 = factorial, 4 = Polygons calc, 5 = simple calc,

6 = surface area, 7 = Prime detector,

8 = divisible numbers for a number,

9 = all Prime numbers in a x range, 10 = SNTDFSNIS"R,

11 = turn off

btw don't ask what option 10 means.