{"id":15050577,"url":"https://github.com/cizeero/hache","last_synced_at":"2026-01-02T04:40:58.755Z","repository":{"id":255006441,"uuid":"846853384","full_name":"cizeero/hache","owner":"cizeero","description":"Have your function outputs cached persistently using SQLite using a simple decorator","archived":false,"fork":false,"pushed_at":"2024-08-27T11:01:42.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T21:27:58.285Z","etag":null,"topics":["cache","cache-storage","lru-cache","sqlite"],"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/cizeero.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-24T06:12:12.000Z","updated_at":"2024-08-27T11:06:20.000Z","dependencies_parsed_at":"2024-09-01T14:01:49.774Z","dependency_job_id":null,"html_url":"https://github.com/cizeero/hache","commit_stats":null,"previous_names":["cizeero/hache"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cizeero%2Fhache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cizeero%2Fhache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cizeero%2Fhache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cizeero%2Fhache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cizeero","download_url":"https://codeload.github.com/cizeero/hache/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243510122,"owners_count":20302294,"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","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":["cache","cache-storage","lru-cache","sqlite"],"created_at":"2024-09-24T21:27:34.485Z","updated_at":"2026-01-02T04:40:58.719Z","avatar_url":"https://github.com/cizeero.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hache: Persistent Cache Manager\n\nHache is a one-file library that allows you to have persistent cacheing for\nfunction return values. We map the hash (`md5`) of the input parameters\nin-order to the output value. In order to avoid bugs, any change in the\nfunction description or the docstring will clear the function cache and start\nafresh.\n\n\n## Example\n```py\n# database name that will create the file for database\nDATABASE_NAME = \"function.db\"\n\n@hache(blob_type=np.ndarray, max_size=1000)\ndef multiply_matrix(a, b):\n    return a @ b\n```\n\n### Requirements\n\nPackage requirements:\n- `numpy`\n\nDevelopment requirements:\n- `pytest`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcizeero%2Fhache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcizeero%2Fhache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcizeero%2Fhache/lists"}