{"id":27802,"library":"gh-store","title":"gh-store","description":"A lightweight data store that uses GitHub Issues as a backend. Current version: 0.11.3. Requires Python 3.11-3.13. Release cadence: irregular.","status":"active","version":"0.11.3","language":"python","source_language":"en","source_url":"https://github.com/yourfriendlaurence/gh-store","tags":["data-store","github-api","persistence","issues-backend"],"install":[{"cmd":"pip install gh-store","lang":"bash","label":"Install"}],"dependencies":[],"imports":[{"note":"GitHubStore is the main class; top-level import will not expose it.","wrong":"import gh_store","symbol":"GitHubStore","correct":"from gh_store import GitHubStore"}],"quickstart":{"code":"from gh_store import GitHubStore\nimport os\n\nstore = GitHubStore(\n    token=os.environ.get('GITHUB_TOKEN', ''),\n    repo='owner/repo',\n    issue_template='data'\n)\nstore.set('key', {'value': 42})\nprint(store.get('key'))","lang":"python","description":"Initialize with a GitHub personal access token and repo, then set/get key-value pairs."},"warnings":[{"fix":"Change `template='data'` to `issue_template='data'`.","message":"In v0.11.0, the `issue_template` parameter was renamed from `template` to `issue_template`. Old code using `template` will raise TypeError.","severity":"breaking","affected_versions":"<0.11.0"},{"fix":"Consider batching or caching. Use a GITHUB_TOKEN with sufficient scope.","message":"Store operations count against GitHub API rate limits (5000 requests/hour for authenticated users). Bulk operations can exhaust limits quickly.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Replace `template='...'` with `issue_template='...'`.","cause":"In v0.11.0, the parameter was renamed from `template` to `issue_template`.","error":"TypeError: GitHubStore.__init__() got an unexpected keyword argument 'template'"},{"fix":"Verify repo is 'owner/repo' and token has `repo` scope. Create the `issue_template` label in the repo.","cause":"Repository does not exist or token lacks access, or the issue_template label does not exist.","error":"ghost.GitHubError: 404 Not Found"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}