{"id":19503646,"url":"https://github.com/im-cloud-spain-connectors/python-cache-sqlite-adapter","last_synced_at":"2026-05-16T06:36:05.130Z","repository":{"id":78684738,"uuid":"587353504","full_name":"IM-Cloud-Spain-Connectors/python-cache-sqlite-adapter","owner":"IM-Cloud-Spain-Connectors","description":"SQLite implementation of the Cache Interface for Python.","archived":false,"fork":false,"pushed_at":"2023-10-31T20:43:30.000Z","size":38,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-04-21T20:58:20.416Z","etag":null,"topics":["adapter","cache","component","python","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IM-Cloud-Spain-Connectors.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-01-10T14:58:21.000Z","updated_at":"2023-06-23T08:07:22.000Z","dependencies_parsed_at":"2024-11-10T22:22:45.937Z","dependency_job_id":"a69378ad-2b4b-4e46-87b8-a271a6513d98","html_url":"https://github.com/IM-Cloud-Spain-Connectors/python-cache-sqlite-adapter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/IM-Cloud-Spain-Connectors/python-cache-sqlite-adapter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IM-Cloud-Spain-Connectors%2Fpython-cache-sqlite-adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IM-Cloud-Spain-Connectors%2Fpython-cache-sqlite-adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IM-Cloud-Spain-Connectors%2Fpython-cache-sqlite-adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IM-Cloud-Spain-Connectors%2Fpython-cache-sqlite-adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IM-Cloud-Spain-Connectors","download_url":"https://codeload.github.com/IM-Cloud-Spain-Connectors/python-cache-sqlite-adapter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IM-Cloud-Spain-Connectors%2Fpython-cache-sqlite-adapter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33092715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["adapter","cache","component","python","sqlite"],"created_at":"2024-11-10T22:22:28.281Z","updated_at":"2026-05-16T06:36:05.115Z","avatar_url":"https://github.com/IM-Cloud-Spain-Connectors.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Cache SQLite Adapter\n\n[![Test](https://github.com/othercodes/python-cache-sqlite-adapter/actions/workflows/test.yml/badge.svg)](https://github.com/othercodes/python-cache-sqlite-adapter/actions/workflows/test.yml)\n\nProvides a SQLite implementation of the Cache Interface for Python.\n\n## Installation\n\nThe easiest way to install the Cache SQLite Adapter is to get the latest version from PyPI:\n\n```bash\n# using poetry\npoetry add rndi-cache-sqlite-adapter\n# using pip\npip install rndi-cache-sqlite-adapter\n```\n\n## The Contract\n\nThe used interface is `rndi.cache.contracts.Cache`.\n\n## The Adapter\n\nJust initialize the class you want and use the public methods:\n\n```python\nfrom rndi.cache.contracts import Cache\nfrom rndi.cache.adapters.sqlite.adapter import SQLiteCacheAdapter\n\n\ndef some_process_that_requires_cache(cache: Cache):\n    # retrieve the data from cache, ir the key is not cached yet and the default \n    # value is a callable the cache will use it to compute and cache the value\n    user = cache.get('user-id', lambda: db_get_user('user-id'))\n\n    print(user)\n\n\n# inject the desired cache adapter.\ncache = SQLiteCacheAdapter('/tmp', 900)\nsome_process_that_requires_cache(cache)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fim-cloud-spain-connectors%2Fpython-cache-sqlite-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fim-cloud-spain-connectors%2Fpython-cache-sqlite-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fim-cloud-spain-connectors%2Fpython-cache-sqlite-adapter/lists"}