{"id":43352197,"url":"https://github.com/dimagi/fakecouch","last_synced_at":"2026-02-02T02:32:42.579Z","repository":{"id":8365986,"uuid":"9932546","full_name":"dimagi/fakecouch","owner":"dimagi","description":"Faster than real couch","archived":false,"fork":false,"pushed_at":"2018-08-03T21:02:09.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-11-27T15:20:49.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dimagi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-08T09:06:10.000Z","updated_at":"2024-11-28T16:27:10.000Z","dependencies_parsed_at":"2022-07-30T23:48:08.111Z","dependency_job_id":null,"html_url":"https://github.com/dimagi/fakecouch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dimagi/fakecouch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimagi%2Ffakecouch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimagi%2Ffakecouch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimagi%2Ffakecouch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimagi%2Ffakecouch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimagi","download_url":"https://codeload.github.com/dimagi/fakecouch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimagi%2Ffakecouch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29001654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T01:32:03.847Z","status":"online","status_checked_at":"2026-02-02T02:00:07.448Z","response_time":58,"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":[],"created_at":"2026-02-02T02:32:42.114Z","updated_at":"2026-02-02T02:32:42.572Z","avatar_url":"https://github.com/dimagi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fakecouch [![Build Status](https://travis-ci.org/dimagi/fakecouch.png)](https://travis-ci.org/dimagi/fakecouch)\n\nFake implementation of CouchDBKit api for testing purposes.\n\n## Usage\n\nMonkey patch fack db into CouchDBKit\n```python\ndb = fakecouch.FakeCouchDb(views={\n            'my/view': [\n                (\n                    {'reduce': True, 'group': True, 'startkey': [], 'endkey': [{}]},\n                    [\n                        {'r': 'result1'},\n                        {'r': 'result2'},\n                    ]\n                )\n            ]\n        },\n        docs={\n            '123': { ... doc dict ... }\n        })\n\nDocumentSchema._db = fakedb\nDocumentBase._db = fakedb\n```\n\nSee tests for further useage.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimagi%2Ffakecouch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimagi%2Ffakecouch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimagi%2Ffakecouch/lists"}