Skip to main content

Lightweight local NoSQL, SQL, and Graph embedded database engine

Project description

☕ Coffy: Local-First Embedded Database Engine for Python

PyPI

Coffy is a lightweight, local-first embedded database engine supporting NoSQL, SQL, and Graph models — all in pure Python. Designed for fast prototyping, scripting, and local apps.


📦 Installation

pip install coffy

🚀 Features

  • ✅ Local persistence (JSON, SQLite)
  • ✅ In-memory mode (:memory: or None)
  • ✅ No server needed
  • ✅ Logical and comparison operators
  • ✅ Unified query interface

🧠 Engines

Engine Description Docs
coffy.graph Local graph database (NetworkX-based) Graph Docs
coffy.nosql Document store with chainable queries NoSQL Docs
coffy.sql Thin SQLite wrapper SQL Docs

What sets Coffy apart?

Only embedded Python graph DB with:

  • ✅ Declarative traversal syntax (match_node_path(...))
  • ✅ Label/type filtering, limit/offset, result projection
  • ✅ Unified API for both nodes and relationships

Only pure-Python embedded document store with:

  • ✅ Auto-indexing on all top-level fields
  • ✅ Chainable logical queries (.where(...).eq(...).or_().in_())
  • ✅ Merge/lookups across collections (like mini $lookup)
  • ✅ JSON persistence or in-memory fallback

🔗 Links


⚖️ License

MIT License © 2025 Neel Sarathy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coffy-0.1.7.tar.gz (72.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coffy-0.1.7-py3-none-any.whl (76.8 kB view details)

Uploaded Python 3

File details

Details for the file coffy-0.1.7.tar.gz.

File metadata

  • Download URL: coffy-0.1.7.tar.gz
  • Upload date:
  • Size: 72.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for coffy-0.1.7.tar.gz
Algorithm Hash digest
SHA256 a2d7d40295ab2e6ce489fa03c701bb2d9202fb4c95c6838abfda7c79665d2599
MD5 c09f0473bf3ed2f293cde80056ee6662
BLAKE2b-256 7a3ed340da782f7ba15720b5ca6c29975b97153f6a8d754499e68a2a03de0a32

See more details on using hashes here.

File details

Details for the file coffy-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: coffy-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 76.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for coffy-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c698376b94704a0fb41e8dc8c4e0552125ddd9be8621cbf2bced34f98dbf6b69
MD5 515e123f49a63f247eb6530eb9b54c62
BLAKE2b-256 80623a6bae5d496e9a12148578baebc8375b6559f546db2187c6b9932ab0825b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page