{"id":21238636,"url":"https://github.com/zaczero/lrucache-rs","last_synced_at":"2026-02-09T22:33:00.946Z","repository":{"id":257010686,"uuid":"857143015","full_name":"Zaczero/lrucache-rs","owner":"Zaczero","description":"Fast dict-like LRUCache in Rust for Python","archived":false,"fork":false,"pushed_at":"2024-12-21T22:12:23.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-18T16:44:17.685Z","etag":null,"topics":["caching","lru-cache"],"latest_commit_sha":null,"homepage":"https://pypi.org/p/lrucache-rs","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zaczero.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":"2024-09-13T22:30:26.000Z","updated_at":"2025-01-16T09:38:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"658a43a7-8d81-4c09-b913-1894adc28a56","html_url":"https://github.com/Zaczero/lrucache-rs","commit_stats":null,"previous_names":["zaczero/lrucache-rs"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Zaczero/lrucache-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2Flrucache-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2Flrucache-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2Flrucache-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2Flrucache-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zaczero","download_url":"https://codeload.github.com/Zaczero/lrucache-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2Flrucache-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29283635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T21:57:15.303Z","status":"ssl_error","status_checked_at":"2026-02-09T21:57:11.537Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["caching","lru-cache"],"created_at":"2024-11-21T00:36:56.054Z","updated_at":"2026-02-09T22:33:00.927Z","avatar_url":"https://github.com/Zaczero.png","language":"Python","funding_links":["https://liberapay.com/Zaczero/","https://github.com/sponsors/Zaczero"],"categories":[],"sub_categories":[],"readme":"# lrucache-rs\n\n[![PyPI - Python Version](https://shields.monicz.dev/pypi/pyversions/lrucache-rs)](https://pypi.org/project/lrucache-rs)\n[![Liberapay Patrons](https://shields.monicz.dev/liberapay/patrons/Zaczero?logo=liberapay\u0026label=Patrons)](https://liberapay.com/Zaczero/)\n[![GitHub Sponsors](https://shields.monicz.dev/github/sponsors/Zaczero?logo=github\u0026label=Sponsors\u0026color=%23db61a2)](https://github.com/sponsors/Zaczero)\n\nAn efficient LRU cache written in Rust with Python bindings. Unlike other LRU cache implementations, this one behaves like a Python dictionary and does not wrap around a function.\n\n## Installation\n\nPre-built binary wheels are available for Linux, macOS, and Windows, with support for both x64 and ARM architectures.\n\n```sh\npip install lrucache-rs\n```\n\n## Basic usage\n\n```py\nfrom lrucache_rs import LRUCache\n\ncache: LRUCache[str, int] = LRUCache(maxsize=2)\ncache['1'] = 1\ncache['2'] = 2\ncache['3'] = 3\nassert cache.get('1') is None\nassert cache.get('2') == 2\nassert cache.get('3') == 3\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaczero%2Flrucache-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaczero%2Flrucache-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaczero%2Flrucache-rs/lists"}