frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Valori – A Python-native Vector Database I built from scratch

6•varshith17•9h ago
I’ve been working on a project called Valori, a Python-native vector database I built from the ground up — not by reinventing every algorithm, but by wiring together efficient, well-known indexing and search techniques into a cohesive, hackable framework.

The idea came from my frustration with existing vector DBs that were either too heavy for experimentation or too opaque to modify. I wanted something simple, modular, and extensible — so I built it.

What it does:

Lets you store, index, and search high-dimensional vectors

Supports multiple indices (Flat, HNSW, IVF, LSH, Annoy)

Has memory, disk, and hybrid storage backends

Includes a full document processing pipeline (parsing, cleaning, chunking, embedding)

Offers quantization, persistence, and plugin-based extensibility

All written in Python, integrated with NumPy, and production-tested with logging and monitoring built in.

Install:

pip install valori

GitHub: https://github.com/varshith-Git/valori

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

I’d love to hear your thoughts —

What’s missing for you in current vector DBs?

If you’ve built LLM or RAG systems, what do you wish a lightweight, pure Python DB like this handled better?

Would you prefer tighter integrations (LangChain, Haystack, etc.) or a more “build-it-yourself” style?

Feedback, criticism, or collaboration ideas are all welcome. — Varshith (varshith.gudur17@gmail.com )

Comments

bendtb•8h ago
What’s the advantage if this being in python?
steffann•1h ago
I think the “simple, modular, and extensible” makes this interesting. And for those, it being written in Python are relevant.
redskyluan•7h ago
dude you already missed the window.

nothing is better than sqlite as a library and don't use high perforamnce as your value for a python product

Ask HN: What Are You Working On? (Nov 2025)

15•david927•35m ago•27 comments

Ask HN: How do you get over the fear of sharing code?

35•sodokuwizard•4h ago•56 comments

Ask HN: How would you set up a child’s first Linux computer?

161•evolve2k•10h ago•202 comments

YouTube A/B testing removing playback speed controls

4•dotancohen•54m ago•3 comments

Valori – A Python-native Vector Database I built from scratch

6•varshith17•9h ago•3 comments

Ask HN: Why do designers have repugnant websites?

10•admissionsguy•8h ago•7 comments

Ask HN: Should there be a monthly Who is NOT hiring post

4•WhoIsNotHiring_•10h ago•1 comments

Ask HN: Any actual AI projects in production at bigcorp?

4•meetingthrower•11h ago•2 comments

LLMs let me maintain my PostgreSQL extension for PRQL after becoming a parent

4•kaspermarstal•11h ago•0 comments

Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?

312•urnicus•4d ago•306 comments

Tell HN: X is opening any tweet link in a webview whether you press it or not

641•stillatit•5d ago•515 comments

Ask HN: Who is hiring? (November 2025)

396•whoishiring•6d ago•532 comments

Ask HN: What's a Purchase You Regret?

10•znpy•1d ago•29 comments

Ask HN: Who wants to be hired? (November 2025)

197•whoishiring•6d ago•442 comments

Ask HN: Windows/Linux software that has no real equivalent on macOS?

7•fastily•1d ago•15 comments

Ask HN: What is the most important thing in life?

13•awesomehry•1d ago•28 comments

Tell HN: Mechanical Turk is twenty years old today

94•csmoak•1w ago•62 comments

TelUI: UI framework for easy-to-use applications

2•telui•1d ago•0 comments

Ask HN: Where to begin with "modern" Emacs?

224•weakfish•1w ago•121 comments

Ask HN: My university wants all my IP (PhD Student) is there anything I can do?

9•thrownaway98723•2d ago•32 comments

Ask HN: P2P Archive.is Alternative?

5•rnmmrnm•1d ago•1 comments

Ask HN: What games let you simulate running a startup?

12•tbwriting•3d ago•11 comments

Ask HN: VC-funded startup lurking in my community Slack – how to respond?

17•nduncan_hmc•3d ago•14 comments

Reuters.com no longer works with JavaScript disabled

8•rkagerer•3d ago•8 comments

An Elegy for Jetbrains

9•dfaiv•2d ago•11 comments

Ask HN: How much time do you spend reading books?

17•roundstars•3d ago•25 comments

You've reached the end!