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

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.2.2.tar.gz (91.0 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.2-py3-none-any.whl (98.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for coffy-0.2.2.tar.gz
Algorithm Hash digest
SHA256 2729153cee05f16d35c82379795b4cd65b2fa06283cbb5dbe9f0fa836ada1e49
MD5 31c1c75bee20611935d1d5210fd5bb27
BLAKE2b-256 6157ff17fc9d39e2c5b68cba9e2e9cf42438a911e2fda87defd4face31c56bbb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coffy-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 98.9 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.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 79046d301a3886a9b464b120371334274b5dfe8e4bf240a7787e55fbfdecd1ee
MD5 e98c4b0154b2a939b0f2c34f390cf584
BLAKE2b-256 3deda1fc1e48daab0e075c322ed78f3996b3a2bfcc142d6c05b52ac2a92fd3b8

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