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

preview

🚀 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.9.tar.gz (86.9 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.9-py3-none-any.whl (92.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coffy-0.1.9.tar.gz
  • Upload date:
  • Size: 86.9 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.9.tar.gz
Algorithm Hash digest
SHA256 312d56108beb987fae5a21fc93a0982467d91a7760a486c431c8d148f6b413ba
MD5 7f75393eddbbd529431d97bff7546729
BLAKE2b-256 9ef8d812e4130bf94fc0e7ebcaa50385736f1a79d90a633d30f47c14b69797f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coffy-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 92.3 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ba95846869923f57035ed6c73ef1a0b437f1b62e1ead9ee087fe5d36dd3e20cc
MD5 e5f84763724794ca7915516d0ed5bb10
BLAKE2b-256 083f9f6f5c23d1a00560c62bc8389b5280d713a486fc8e9827a649764e0de2ea

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