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.8.tar.gz (83.4 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.8-py3-none-any.whl (90.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coffy-0.1.8.tar.gz
  • Upload date:
  • Size: 83.4 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.8.tar.gz
Algorithm Hash digest
SHA256 32fbf4312c53c79af0bb471d7270e0d6f59cd5ea193fdcbef9a519989c91f8f1
MD5 face793f8ebd8c7260bc9ef16ba99230
BLAKE2b-256 015a5a97c0c71d73b3dbe53f9dbd9c234b9529ed2d4706e287315f8abc137b5b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coffy-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 90.7 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a05bf9a9d58d26f3f301da0861c04800ae6a1bc37868bb8d0707748284e4127d
MD5 cfb98d3d0bab95674e1aee993f5665c3
BLAKE2b-256 800f68a47a33d411049c5ffa764a0efc44de0f3f56ff975bd89dd96a7ffb4fdb

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