{"id":30615639,"url":"https://github.com/justanotherbyte/asyncredis","last_synced_at":"2025-08-30T08:06:18.621Z","repository":{"id":45280488,"uuid":"441154520","full_name":"justanotherbyte/asyncredis","owner":"justanotherbyte","description":"An asyncio compatible Redis driver, written purely in Python. This is really just a pet-project for me.","archived":false,"fork":false,"pushed_at":"2021-12-25T12:45:22.000Z","size":57,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-18T18:46:20.438Z","etag":null,"topics":["asyncio","driver","python","redis","redis-client","redis-driver"],"latest_commit_sha":null,"homepage":"https://asyncredis.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justanotherbyte.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}},"created_at":"2021-12-23T11:10:27.000Z","updated_at":"2023-08-11T00:54:05.000Z","dependencies_parsed_at":"2022-08-27T23:51:04.338Z","dependency_job_id":null,"html_url":"https://github.com/justanotherbyte/asyncredis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/justanotherbyte/asyncredis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justanotherbyte%2Fasyncredis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justanotherbyte%2Fasyncredis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justanotherbyte%2Fasyncredis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justanotherbyte%2Fasyncredis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justanotherbyte","download_url":"https://codeload.github.com/justanotherbyte/asyncredis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justanotherbyte%2Fasyncredis/sbom","scorecard":{"id":543608,"data":{"date":"2025-08-11","repo":{"name":"github.com/justanotherbyte/asyncredis","commit":"b3e3107bf47ef189e1a4e7102ade4dda0b0ad862"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/17 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU Affero General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T08:50:45.215Z","repository_id":45280488,"created_at":"2025-08-20T08:50:45.216Z","updated_at":"2025-08-20T08:50:45.216Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272821200,"owners_count":24998599,"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-08-30T02:00:09.474Z","response_time":77,"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":["asyncio","driver","python","redis","redis-client","redis-driver"],"created_at":"2025-08-30T08:06:12.097Z","updated_at":"2025-08-30T08:06:18.609Z","avatar_url":"https://github.com/justanotherbyte.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n\u003csub\u003e\n    \u003cimg src=\"https://media.discordapp.net/attachments/822902690010103818/923533249425313792/unknown.png\" height=\"36\"\u003e\n\u003c/sub\u003e\n\u0026nbsp;\nasyncredis\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n\u003csup\u003e\nAn asyncio compatible Redis driver. Just a pet-project.\n\u003c/sup\u003e\n\u003cbr\u003e\n\u003csup\u003e\n    \u003ca href=\"https://asyncredis.readthedocs.io/en/latest/\"\u003eRead the documentation.\u003c/a\u003e\n\u003c/sup\u003e\n\u003c/p\u003e\n\n## Information\n`asyncredis` is, like I've said above, just a pet-project for me. I really just wanted to experiment with database protocols, and try to write my first database driver!\n\n`asyncredis` internally connects with `asyncio`, allowing for asynchronous socket states. It also supports retrying connections. Please DO NOT use this in production. I recommend `aioredis` for production usage.\n\n#### Internals\nInternally, `asyncredis` uses `hiredis` to parse messages that are received from the Redis server. `hiredis` ensures speedy parsing, thanks to being C based.\n\n## Examples\nIf you do decide to test out this driver for yourself, I'll leave some examples below.\n\n```py\nimport asyncio\nimport asyncredis\n\n\nasync def main():\n    rds = await asyncredis.connect(\"redis://localhost:6379\")\n    await rds.set(\"hello\", \"world\")\n    value = await rds.get(\"hello\")\n    exists = await rds.exists(\"hello\")\n    seralized = await rds.dump(\"hello\")\n    await rds.delete(\"hello\")\n\n    print(value)\n    print(exists)\n    print(seralized)\n\n    await rds.close()\n\nloop = asyncio.get_event_loop()\nloop.run_until_complete(main())\n```\n\n```powershell\n\u003e\u003e\u003e world\n\u003e\u003e\u003e True\n\u003e\u003e\u003e b'\\x00\\x05world\\t\\x00\\xc9#mH\\x84/\\x11s'\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustanotherbyte%2Fasyncredis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustanotherbyte%2Fasyncredis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustanotherbyte%2Fasyncredis/lists"}