An open API service indexing awesome lists of open source software.

https://github.com/groc-prog/loomql

LoomQL is a modern Python ORM for graph databases (Neo4j 5+ and Memgraph 3+) that combines Pythonic syntax with Cypher's full power. Designed for developers who want both productivity and control.
https://github.com/groc-prog/loomql

graph-database memgraph neo4j pydantic-v2 python

Last synced: 10 days ago
JSON representation

LoomQL is a modern Python ORM for graph databases (Neo4j 5+ and Memgraph 3+) that combines Pythonic syntax with Cypher's full power. Designed for developers who want both productivity and control.

Awesome Lists containing this project

README

        

# LoomQL · [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

> *🧵 Weaving Pythonic queries for Neo4j and Memgraph*

**LoomQL** is a modern Python ORM for graph databases ([`Neo4j 5+`](https://neo4j.com/docs/) and [`Memgraph 3+`](https://memgraph.com/docs)) that combines Pythonic syntax with Cypher's full power. Designed for developers who want both productivity and control.

⚠️ **Note:** LoomQL is under **active development** and not yet available on PyPI.

## What LoomQL aims for

### 🛠️ Developer Experience
- **Pythonic syntax** - Method chaining instead of string-based Cypher
- **Intuitive API** - Designed for ease of use in all scenarios
- **Fully typed** - Comprehensive type hints for models, queries, and results

### ⚡ Core Features
- **Dual backend** - Supports both Neo4j 5+ and Memgraph
- **Async-first** - Built on (but not limited to) Neo4j/Memgraph's async drivers
- **Batched operations** - Efficient bulk creates/updates

### 🛡️ Data Integrity
- **Pydantic-powered** - Built-in validation and serialization ([`Pydantic 2+`](https://docs.pydantic.dev/latest/))
- **Powerful validation** - Field constraints and custom validators

### 🗃️ Schema Management
- **Built-in migrations** - Simple but flexible schema evolution