{"id":31758424,"url":"https://github.com/nsarathy/coffy","last_synced_at":"2025-10-09T20:25:16.096Z","repository":{"id":305992681,"uuid":"1014134014","full_name":"nsarathy/Coffy","owner":"nsarathy","description":"Open source lightweight embedded database engine for Python that supports NoSQL, SQL, and Graph data models.","archived":false,"fork":false,"pushed_at":"2025-08-13T21:03:55.000Z","size":3016,"stargazers_count":31,"open_issues_count":4,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-13T22:26:49.900Z","etag":null,"topics":["database","databases","dbms","embedded-database","good-first-issue","graph","graphdb","local-first","networkx","networkx-graph","nosql","python","rdbms","sql","sqlite","toy-dbms"],"latest_commit_sha":null,"homepage":"https://coffydb.org/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nsarathy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-05T05:48:39.000Z","updated_at":"2025-08-13T01:23:14.000Z","dependencies_parsed_at":"2025-07-23T04:25:30.893Z","dependency_job_id":"3407d66e-5486-4733-969d-10e48ab236c1","html_url":"https://github.com/nsarathy/Coffy","commit_stats":null,"previous_names":["nsarathy/coffy"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/nsarathy/Coffy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsarathy%2FCoffy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsarathy%2FCoffy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsarathy%2FCoffy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsarathy%2FCoffy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nsarathy","download_url":"https://codeload.github.com/nsarathy/Coffy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsarathy%2FCoffy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002014,"owners_count":26083258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","databases","dbms","embedded-database","good-first-issue","graph","graphdb","local-first","networkx","networkx-graph","nosql","python","rdbms","sql","sqlite","toy-dbms"],"created_at":"2025-10-09T20:25:12.517Z","updated_at":"2025-10-09T20:25:16.087Z","avatar_url":"https://github.com/nsarathy.png","language":"Python","readme":"# Coffy: Local-First Embedded Database Engine for Python\r\n\r\n[![PyPI](https://img.shields.io/pypi/v/coffy)](https://pypi.org/project/coffy/)\r\n![PyPI Downloads](https://static.pepy.tech/badge/coffy)\r\n\r\n**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.\r\n\r\n[coffydb.org](https://coffydb.org/)\r\n\r\n---\r\n\r\n## Installation\r\n\r\n```bash\r\npip install coffy\r\n```\r\n\r\n---\r\n![preview](https://github.com/nsarathy/Coffy/blob/main/assets/Coffy%20preview%20image.png)\r\n---\r\n## Features\r\n\r\n- Local persistence (JSON, SQLite)\r\n- In-memory mode (`:memory:` or `None`)\r\n- No server needed\r\n- Logical and comparison operators\r\n- Unified query interface\r\n- Command Line Interface (CLI)\r\n\r\n---\r\n\r\n## Engines\r\n\r\nIf you are viewing this from `coffydb.org`, you can find the documentation for each engine in the `NoSQL`, `Graph`, and `SQL` sections.\r\n\r\n\r\n| Engine | Description | Docs |\r\n|--------|-------------|------|\r\n| `coffy.graph` | Local graph database (NetworkX-based) | [Graph Docs](https://github.com/nsarathy/Coffy/blob/main/Documentation/GRAPH_DOCS.md) |\r\n| `coffy.nosql` | Document store with chainable queries | [NoSQL Docs](https://github.com/nsarathy/Coffy/blob/main/Documentation/NOSQL_DOCS.md) |\r\n| `coffy.sql`   | Thin SQLite wrapper | [SQL Docs](https://github.com/nsarathy/Coffy/blob/main/Documentation/SQL_DOCS.md) |\r\n\r\n---\r\n\r\n## What sets Coffy apart?\r\nOnly embedded Python graph DB with:\r\n\r\n- ✅ Declarative traversal syntax (match_node_path(...))\r\n- ✅ Label/type filtering, limit/offset, result projection\r\n- ✅ Unified API for both nodes and relationships\r\n- ✅ Robust CLI\r\n\r\nOnly pure-Python embedded document store with:\r\n\r\n- ✅ Auto-indexing on all top-level fields\r\n- ✅ Chainable logical queries (.where(...).eq(...).or_().in_())\r\n- ✅ Merge/lookups across collections (like mini $lookup)\r\n- ✅ JSON persistence or in-memory fallback\r\n\r\n---\r\n\r\n## 🔗 Links\r\n\r\n- [coffydb.org](https://coffydb.org/)\r\n- PyPI: [coffy](https://pypi.org/project/coffy/)\r\n- Source: [GitHub](https://github.com/nsarathy/Coffy)\r\n\r\n---\r\n\r\n## License\r\n\r\nMIT License © 2025 [Neelesh Sarathy](https://github.com/nsarathy)\r\n\r\n---\r\n\r\nDisclaimer: Number of downloads includes mirrors.\r\n\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsarathy%2Fcoffy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnsarathy%2Fcoffy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsarathy%2Fcoffy/lists"}