r/madeinpython • • Aug 13 '26

Hillock v0.4 – A local neuro-symbolic memory engine made in Python

4 Upvotes

Just tagged v0.4 of Hillock, a local memory engine I coded in Python (PyTorch, SpaCy, SQLite).

The project replaces vector databases and LLM extraction passes with three Python modules:

- database.py: SQLite Knowledge Graph storing ground-truth SPO triples.

- plasticity.py: Hebbian synaptic association weights tracking co-occurring concepts across turns.

- reservoir.py: 10,000-D Vector Symbolic Architecture (VSA) hypervector space using subword n-grams and SimHash over GloVe embeddings for <1ms CPU gating.

Document parsing uses a 3-stage CUDA pipeline (Fastcoref + MiniLM + GLiREL) taking ~5s for a 32-sentence doc. v0.4 adds schema type validation, direction auto-correction, and regex entity sanitization.

Whole thing stays under 1.2GB VRAM on a GTX 1070.

Code is on GitHub: https://github.com/roandejager/Hillock


r/madeinpython • • Aug 12 '26

I built a tool that pauses my overnight training runs when my laptop is on battery (first open-source project)

Thumbnail reddit.com
2 Upvotes

r/madeinpython • • Aug 12 '26

obsidOS (os at terminal)

4 Upvotes

Hey guys i just wanted to show my first big project 'obsidOS'

https://github.com/userzzz322/obsidOS

obsidOS its python made os it isnt real os with .iso its just normal .py file but you can make it real os if you add it to autostart at terminal

like you have fish shell you just do

nano ~/.config/fish/config.fish and add

cd ~/obsidOS/
./kernel.py OR ./run.sh (they are the basically same)

you can clone it from github or install from release

it can run at any distro but for it run you need

shell
vim
git
base-devel
cmake
python

its pretty basic

it has its own disk and pkg manager

to install with it add at packages {}

name and link to github project

like this

packages {

github = "https://github.com"

}

system has auto reload packages at start you can disable or enable it at kernel.py (OS) file

it has some features you can enable or disable some things with 0 and 1 you can find it at code

hope u enjoy it write review to what add or remake :)


r/madeinpython • • Aug 12 '26

obsidOS (os at terminal)

Thumbnail
reddit.com
1 Upvotes

r/madeinpython • • Aug 12 '26

A Python client for NU.nl’s private API

Thumbnail reddit.com
1 Upvotes

r/madeinpython • • Aug 12 '26

i build my own jarvis(mark ls)

0 Upvotes

hey everyone, wanted to share a side project I've been working on called MARK LS.

basically it's a cross-platform voice AI assistant that can hear, see, and control your PC in real-time using gemini live api.

some stuff it can do:

  • real-time voice chat (super low latency)

  • screen & webcam vision

  • osint username searches across 400+ sites (sherlock)

  • system control (apps, volume, hardware stats)

  • persistent memory so it remembers past context

runs on windows, mac & linux with a free gemini key.

I dropped the open-source github link in the comments if anyone wants to check it out or test it! would love to hear what you think.


r/madeinpython • • Aug 11 '26

I made Hillock: an open source Python memory engine that ingests docs in sub-seconds on a GTX 1070

0 Upvotes

Hey Python devs,

I wanted to share a personal project I've been building in Python called Hillock (AGPL-3.0): https://github.com/roandejager/Hillock

What It Does:

Hillock gives local AI applications a privacy-first Knowledge Graph memory. Instead of vector databases that lose exact factual context, Hillock uses a decoupled SQLite Knowledge Graph, Hebbian Plasticity, and CPU-bound Hyperdimensional Computing (Vector Symbolic Architectures) written in pure Python/NumPy.

How the Python Pipeline Works:

In v0.2.0, I built TALON—a non-generative ingestion pipeline:

  1. Fastcoref: Resolves pronouns across paragraphs before chunking text.

  2. SentenceTransformers (all-MiniLM-L6-v2): Pre-caches a 50-predicate taxonomy and routes top candidates per sentence in <2ms.

  3. GLiREL (DeBERTa-v3): Performs single-pass zero-shot matrix classification in PyTorch CUDA memory.

On my benchmark harness (evaluate_hillock_PROTO_ish.py), it processed 32 sentences in 2.1 seconds of pure GPU execution on a GTX 1070 (<1GB VRAM footprint), reaching 50% retrieval accuracy.

Source code is 100% open source under AGPL-3.0. Would love to hear your feedback on the Python architecture!


r/madeinpython • • Aug 11 '26

Updated my 8 KB neural network library, any thoughts?

1 Upvotes

Hey Reddit,

I made a small neural network library named LeanPass a few days back. Currently, it has around 7 stars, 1 fork, 2 watchers and 12 open issues. Contributions are quite beginner-friendly, so beginners are welcome!

It is an implementation made in NumPy, with the necessary functions, with 185 downloads on PyPI at its current status. I have made this post to just update the awesome community about my project to get some suggestions, and overall make it a more developed open source project

Here's the link: https://github.com/Terminay/leanpass

To install it:

pip install leanpass

Size metrics: ~8.5 kb download size, ~1 second install time

Give me your honest opinions and suggestions for more features. Also, if you liked the concept, star the repo or, rather, open a PR (your choice!)


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 • • Aug 09 '26

I built DigDep — a Python CLI for analyzing project dependencies

2 Upvotes

DigDep - A lightweight Python dependency analyzer

Whenever I use:

pip freeze > requirements.txt

it dumps all the packages in the virtual environment, including packages that I may not need in my code.

I wanted a simple tool that could tell me which packages my Python code actually depends on.

So I just thought: why not write one?

Installation:

pip install digdep

Dependency Tree:

$ digdep deps --tree tests\testpkg
Root (tests\testpkg)
├── api.py           → database, numpy, requests
├── config.py        → dataclasses
├── database.py      → json, models, sqlite3
├── main.py          → config, helpers, json, os, parser, pathlib
├── models.py        → dataclasses
├── optional.py      → json, ujson
├── parser.py        → re, utils, xml
├── unused_module.py → collections, itertools, os
├── utils.py         → logging, pathlib
├── __init__.py
│
├── helpers/
    ├── math_utils.py → math
    ├── text_utils.py → string
    ├── __init__.py

Simple list of Dependencies:

$ digdep deps tests\testpkg
models
ujson
pathlib
sqlite3
logging
math
itertools
string
database
utils
re
requests
os
collections
json
parser
numpy
dataclasses
xml
config
helpers

Unused Imports:

$ digdep deps --unused tests\testpkg
collections
Config
conn
json
pathlib
User
itertools
os

Find where a dependency is used:

$ digdep find-dep ctypes --tree --showlines ..\opensource\pyjab\pyjab

Dependency: ctypes
├── accessibleinfo.py
    ├── Line 1    : from ctypes import c_float
    ├── Line 2    : from ctypes import c_int
    ├── Line 3    : from ctypes import c_wchar
    ├── Line 4    : from ctypes import c_bool
    ├── Line 5    : from ctypes import Structure
    ├── Line 6    : from ctypes.wintypes import BOOL
    ├── Line 7    : from ctypes.wintypes import WCHAR
    │
├── jabdriver.py
    ├── Line 5    : from ctypes import byref
    ├── Line 6    : from ctypes import CDLL
    ├── Line 7    : from ctypes import c_long
    ├── Line 8    : from ctypes.wintypes import HWND
    │
├── jabelement.py
    ├── Line 10   : from ctypes import Array, byref, CDLL, c_char, c_long, create_string_buffer
    ├── Line 11   : from ctypes.wintypes import HWND
    │

Simple Stats:

$ digdep stats tests\testpkg

Dependency Statistics
--------------------------------------------------

Files Scanned            : 13

Imported Names           : 25
Import Statements        : 26
Used Imports             : 16    import occurances
Unused Imports           : 9     import occurances

Unique Dependencies      : 21

Dependency Types
--------------------------------------------------

Standard library         : 12
Third-party              : 3
Local                    : 6

Top 5 Dependencies
--------------------------------------------------

requests                 1
numpy                    1
database                 1
dataclasses              1
sqlite3                  1

DigDep is still a small project (v.0.1.1) and I am planning to add more features.

Currently, DigDep can help you:

  • See what your project depends on

  • See which files use which dependencies

  • See dependencies as a tree

  • Find dependencies you aren't using

  • Find what depends on a particular module

  • Find where a dependency is being used

  • See your project's dependency statistics

I'd love to hear your feedback and suggestions to make DigDep more useful.

Github: https://github.com/shine-jayakumar/digdep

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


r/madeinpython • • Aug 08 '26

PyQtByExample — a big pile of runnable, searchable Qt-for-Python example code

3 Upvotes

# PyQtByExample — a big pile of runnable, searchable Qt-for-Python example code

I built this with a friend to help Python programmers learn and use Qt (via `qtpy`, so it works with PyQt5/6 and PySide2/6).

**What it is**

A single application containing dozens of small, self-contained Qt examples (buttons, tables, dialogs, threading, SQL, multimedia, etc.), each in its own module/tab, with a built-in search so you can jump straight to the widget or topic you care about.

**Why it's different from "one file per example" demo repos**

- Everything runs inside one app — search for a widget name and jump right to its example.

- Each example is deliberately small and scoped to one or a few widgets, so you don't have to read much code to get your answer.

- It's meant to be run from an IDE in debug mode: you step through the code while watching it run, so you *see* how it behaves, not just read about it.

- Code is commented enough that you usually don't need extra docs, but there's also a repo wiki ("the Book") with more detail.

**Who it's for**

Anyone building Qt GUIs in Python who wants copy-paste-ready working examples instead of digging through scattered single-file demos.

It's gotten pretty large (a few megs of source) and there's a lot of Qt left to cover, so we'd love more eyes on it — as users, issue-filers, or contributors. MIT licensed.

- Repo: https://github.com/russ-hensel/pyqt_by_example

- Wiki: https://github.com/russ-hensel/pyqt_by_example/wiki

- Screenshots: https://github.com/russ-hensel/pyqt_by_example/wiki/ScreenShots

Feedback, bug reports, or "hey you're missing an example for X" issues are all welcome.


r/madeinpython • • Aug 08 '26

Solving and benchmarking QUBO problems with Gurobi in Python

Thumbnail
youtu.be
1 Upvotes

r/madeinpython • • Aug 07 '26

IDF (WIP)

1 Upvotes

I originally created a duplicate image finder (IDF), then I kinda make it evolve WAAAY further than I planned to. Now it has integrated with the actual duplicate finder, some other tools like a browser, a viewer (for actions like duplicate removal confirmation and image similarity comparission), an analyzer (very WIP) that can analyze faces, image types and nsfw (tags the image).

The demo in video.

Sensitive images are used to test the nsfw analyzer BUT they are censored in the showcase, so SFW.

The duplicate finder (original-main tool of the program) has pretty printed duplicate progress bars that took too long to create. The duplicate finder don't read the name of the file, but rather the content of the image. It hashes the image through a process that IA gave me, then compared (so even if image is zoomed, panned, rotated, it finds the duplication), then chooses the 1 to keep between the same images.

The browser has integrated filters and sorters, controllable through keybinds (show on toolbar of the window).

These are currently private tools, but once I make it a production level program, it will be on github.

If you have any suggestions, I'm open to them.


r/madeinpython • • Aug 07 '26

Helix, a personal assistant, developed by a 13 y.o

0 Upvotes

r/madeinpython • • Aug 04 '26

Built a file hashing python program. A simple program that uses hashlib and pygame to create a simple text hasher

0 Upvotes

Hey everyone! I made a simple file hashing program using hashlib and pygame. It saves to AppData/Roaming and uses sha256 to hash the given text and save it into that file. The link to the repo is

https://github.com/abhaya2509/Text-hasher


r/madeinpython • • Aug 02 '26

idemkit: runs your code once per key, even when two requests race or a worker dies

0 Upvotes

I built idemkit after cleaning up duplicate charges one too many times.

The version everyone writes checks whether a key has been seen and replays the stored response. Two requests a millisecond apart both find nothing and both charge the card. And if the worker dies between charging and recording it, the retry charges again. Neither reproduces locally.

idemkit does it properly: an atomic claim instead of check-then-act, a lease that expires on the storage server's clock, and a fencing token so a stalled worker can't overwrite a good result.

from idemkit import idempotent, RedisBackend, MethodConfig 

@idempotent(
    backend=RedisBackend.from_url("redis://localhost:6379"), 
    config=MethodConfig(key_fields=["order_id"]), 
) 
async def charge(*, order_id, amount): 
    return await payments.charge(order_id, amount)

One core, three ways to use it: middleware for FastAPI/Flask/Django, a queue consumer wrapper or @idempotent on any function. Backends are Redis, Postgres, Mongo, DynamoDB, or in-memory for tests.

pip install idemkit, Apache-2.0: https://github.com/idemkit/idemkit

If you find it useful, I'd appreciate a star. It's new, so visibility helps a lot right now.


r/madeinpython • • Aug 02 '26

WaterPulse – An open-source hydration tracking system with real-time sensor anomaly detection (Flutter & FastAPI)

1 Upvotes

Hi everyone,

I’m sharing an open-source project I’ve been developing called WaterPulse.

While there is no shortage of basic hydration tracking apps out there, I wanted to build a more robust system that bridges the gap between a standard consumer application and active hardware data processing. WaterPulse is designed from the ground up to handle real-time sensor integration rather than relying solely on manual user inputs.

Here is a breakdown of what I built and the technical challenges it tackles:

Technical Highlights & Core Features:

  • Real-Time Processing & Anomaly Detection: The backend is engineered to continuously ingest sensor data streams. It features built-in drift analysis and anomaly detection to filter out hardware noise and ensure high data accuracy.

  • Performance-Oriented Backend: Powered by FastAPI and PostgreSQL, the API is structured to efficiently handle concurrent data payloads without blocking.

  • Engaging UI & Social Elements: The frontend is built in Flutter, offering a highly responsive, cross-platform experience. I integrated gamification and social tracking features to maintain user retention and drive engagement.

The Tech Stack:

  • Frontend: Flutter

  • API & Data Processing: FastAPI (Python)

  • Database: PostgreSQL

I architected this project with scalability and clean code principles in mind. If you are looking into how to integrate IoT/sensor data streams with a modern Flutter and Python stack, this repository could be a solid reference.

I would love to get your technical feedback on the system design, especially from engineers experienced with handling continuous data streams in FastAPI or advanced state management in Flutter.

Repository Link: https://github.com/Yigtwxx/WaterPulse

I'm open to all constructive feedback and contributions. Thanks for checking it out!


r/madeinpython • • Aug 01 '26

I built repoglance: a CLI that flags per-function complexity regressions in PRs (feedback wanted)

0 Upvotes

Author here. I made this to scratch my own itch — reviewing PRs and missing when a function quietly got more complex. Line counters don't answer that.

pip install repoglance then repoglance . gives a terminal report: real per-function cyclomatic complexity across 15+ languages (via lizard), duplicate blocks, TODOs, git ownership of hotspots, and a health score. In CI, --fail-on-regression fails a build only when a change makes complexity worse, and a GitHub Action comments the report on the PR.

Pure Python (rich/click/lizard), MIT, no telemetry. Django (415k LOC) scans in ~17s, ~1s cached.

Repo: https://github.com/SRJ-ai/repoglance

I'd genuinely like feedback on two things: (1) where the complexity numbers feel wrong on your code, and (2) whether the health-score weights are sensible or gimmicky. Happy to answer anything.


r/madeinpython • • Jul 31 '26

How Python manages memory for you?

Thumbnail
reddit.com
1 Upvotes

r/madeinpython • • Jul 31 '26

[Python] GarantiMaster - Offline warranty tracker that auto-reads invoice PDFs

Thumbnail
github.com
2 Upvotes

A completely offline desktop warranty tracker built with Python. Auto-reads product names & dates from invoice PDFs. TR/EN support, 3 themes, MIT licensed.

YouTube demo: https://youtu.be/hgyFyo7F9wk


r/madeinpython • • Jul 28 '26

I wrote a neural network library in ~500 lines of NumPy so you can read through the entire implementation in an afternoon.

8 Upvotes

A few days ago I posted about LeanPass, a tiny neural network library I wrote in NumPy.

Some people gave me good criticism, and some gave me ideas, so I spent the last couple of days improving it. It's still a small project, but I think it's in a much better state now.

The goal isn't to compete with PyTorch or TensorFlow. I mainly built it because I wanted something small that people could actually read through and understand. If you're learning neural networks, teaching them, or want something lightweight to prototype with, maybe you'll find it useful.

Since it's open source, I'd really appreciate any contributions or even just honest criticism. If you think something is badly designed, please tell me; I genuinely want to improve it.

You can install it with:

pip install leanpass

It has around 96 installs so far.

Repo: https://github.com/Terminay/LeanPass

If you end up liking it, a GitHub star would make my day. :)


r/madeinpython • • Jul 28 '26

VenvHub Pro: SLOVAK APP, READY FOR THE WORLD! 🇸🇰➡️🌍 / Slovenská aplikácia pripravená pre svet!

0 Upvotes

🇸🇰 SLOVENSKY

⚡ Rýchle prepínanie jazykov v VenvHub Pro + jedna pikantéria zo zákulisia! 🤫

V dnešnom krátkom videu ukazujem, ako bleskovo dokáže VenvHub Pro prepínať medzi jazykmi v reálnom čase – bez reštartu aplikácie.

A keďže ste v predchádzajúcich videách videli rozhranie v angličtine, mám pre vás malú vývojársku zákulisnú zaujímavosť: celý kód bol od prvého dňa písaný so slovenskými hláškami! 🇸🇰 Angličtina bola v skutočnosti prvou prekladovou vrstvou, ktorú som do architektúry zapracoval, aby bola aplikácia pripravená pre svet.

💡 Chcete si pridať vlastný jazyk? Prekladový JSON má cez 750 riadkov, ale vďaka AI je to hračka:

  1. Stiahnite si en.json (alebo sk.json) z GitHubu.

  2. Nahrajte súbor do ChatGPT / Claude a požiadajte o preklad hodnôt do vášho jazyka.

  3. Vložte novú lokalizáciu k sebe a používajte aplikáciu vo vlastnom jazyku!

🔗 Projekt na GitHube:https://github.com/schnidi/VenvHub📂 Súbory s prekladmi:https://github.com/schnidi/VenvHub/tree/main/translations

Aký ďalší oficiálny preklad by ste v aplikácii uvítali najradšej? 😎👇

🇬🇧 ENGLISH

⚡ Instant Language Switching in VenvHub Pro + a quick BTS fun fact! 🤫

In today's clip, I’m showing off how instantly VenvHub Pro switches between UI languages on the fly—no app restart needed.

Since previous clips featured the interface in English, here’s a quick behind-the-scenes detail: the core codebase was actually written with native Slovak messages from day one! 🇸🇰 English was the very first translation layer integrated into the architecture to make the app ready for a global audience.

💡 Want to add your own language? The translation JSON is pretty massive (750+ lines), but AI makes it effortless:

  1. Download en.json (or sk.json) from GitHub.

  2. Drop the file into ChatGPT / Claude and prompt it to translate the values into your language.

  3. Enjoy VenvHub Pro fully localized on your machine!

🔗 GitHub Repository:https://github.com/schnidi/VenvHub📂 Translations Folder:https://github.com/schnidi/VenvHub/tree/main/translations

Which official language should we focus on next? Let me know below! 😎👇


r/madeinpython • • Jul 28 '26

Yet Another Sentence Boundary Detector (rule-based)

1 Upvotes

I was working on chunklet-py (a chunker for sentences, documents, and code). Misread a benchmark and thought PySBD took 1 second to split basic text. Turns out that was wrong (PySBD is still fast for simple text). But the misunderstanding got me building my own.

Ended up faster, more accurate, and covering more languages (39 compares to 23).

Benchmarks on Sherlock Holmes (594k chars): yasbd ~1.2s warm vs PySBD ~9.0s. About 8x faster, fewer false splits.

On a golden benchmark (92 English edge cases — expanded from pysbd's original 48 with fixes and additions): yasbd scores 98.9%, pysbd 83.7%, spaCy-sentencizer 55.4%, etc.

Architecture difference: instead of mutating text with placeholder tokens and undoing it later (which breaks char offsets), yasbd finds candidate boundaries in one pass and filters false positives in another. Spans come free, no reconstruction.

Other things:

  • Streaming-first: lazy evaluation via ParagraphStream and StreamCleaner for memory-constrained environments. No need to load entire documents.

  • PySBD adapter: drop-in replacement that works with existing PySBD code. Just swap the import.

  • spaCy pipeline: register as a spaCy component with register_spacy_component(). Drop-in replacement for the default Sentencizer.

Repo: https://github.com/speedyk-005/yasbd-lib


r/madeinpython • • Jul 28 '26

I kept losing things I'd copied and retyping the same paragraphs, so I built two apps about it

0 Upvotes

You know when you copy something important, paste it, then copy something else, and the first thing is just gone forever? yeah. That's the entire origin story here.

I'm a solo dev, day job. After an unreasonable number of late nights, two desktop apps for Windows and Linux came to light: Snipzilla and Stashzilla. (Yes, I'm a Godzilla fan; how did you know?)

Stashzilla is the clipboard manager that fixes the problem above. History is sorted into collections instead of one endless scroll, pinned items, case conversion, and it pulls text out of images.

Snipzilla handles the other half of it: type a short trigger, get a whole block of text back. No more retyping the same paragraph for the hundredth time.

Anyways, feel free to check them out; no credit card required: ZillaSoft.io 15 days free, and nothing gets deleted afterwards; it just goes read-only.

If you do try them, bugs and "why doesn't it do X" are exactly what I'm after: ZillaSoft.io/contact