Skip to main content

Lightweight local NoSQL, SQL, and Graph embedded database engine

Project description

Coffy: Local-First Embedded Database Engine for Python

PyPI PyPI Downloads

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.

coffydb.org


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

If you are viewing this from coffydb.org, you can find the documentation for each engine in the NoSQL, Graph, and SQL sections.

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


Disclaimer: Number of downloads includes mirrors.

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.2.3.tar.gz (38.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.2.3-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for coffy-0.2.3.tar.gz
Algorithm Hash digest
SHA256 6c082a20230a0190e7dded88a84ea120131e1e1a09e87e08b7ef4c1835d6139f
MD5 2336cfa21dc4573e4cc61e7a92dd93b2
BLAKE2b-256 1a61b726e982b1ec51e773689c7af88091ad1f6ad4ffb9fc2ef3a091f973ae9e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for coffy-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ce0dcc2c37cb24b085f6130923b86023b39f690bffccf79bac5d9c5f755e7319
MD5 be9bfe62c7cad8e3e61ceba336cd4b5b
BLAKE2b-256 f46afc323004c68bfc86cc2d4ee6a9d2d905a892d56c802f183d54a11cd8ecc9

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