Phzyx Cache
Versioned resource cache (memory / Redis) for list-style read paths.
uv add 'phzyx-forge[cache]'
# or
uv add phzyx-cache
uv add 'phzyx-cache[redis]' # Redis backend
Full docs on the website
| Cache guide | https://phzyx.xyz/forge/cache |
| Forge docs | https://phzyx.xyz/forge |
| Getting started | https://phzyx.xyz/forge/getting-started |
| Product home | https://phzyx.xyz |
| Source | https://github.com/phzyxyz/forge |
After install → phzyx.xyz/forge/cache.
API (0.1)
from phzyx.cache import MemoryCache, RedisCache, ResourceCache
cache = ResourceCache(MemoryCache(), ttl=60)
cache.set_list("users", [{"id": 1, "email": "a@example.com"}])
rows = cache.get_list("users") # list[dict] | None
cache.invalidate("users") # bump version → lists miss
| Class | Role |
|---|---|
MemoryCache |
In-process string cache + optional TTL |
RedisCache |
Same API via Redis |
ResourceCache |
Versioned lists: phzyx:res:{name}:v{N}:list:{suffix} |
You invalidate on write. Not a SQL query cache. MemoryCache is per process.
Related
- Product: phzyx-forge
- Auth: phzyx-auth
- Site: phzyx.xyz
License
MIT · phzyx.xyz
Metadata
Release files for phzyx-cache 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| phzyx_cache-0.1.6.tar.gz | 3.6 kB | With provenance | Details for phzyx_cache-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| phzyx_cache-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for phzyx_cache-0.1.6-py3-none-any.whl |
Total release size: 7.3 kB
Release files / phzyx_cache-0.1.6.tar.gz
| Download URL | phzyx_cache-0.1.6.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
303f29446a320d61a28f28e47059f06705226bbbd63a9905fb7b514f54d0fa11
|
|
BLAKE2b-256 checksum How to use checksums |
512b29175d82d4d29e2f01dc18fd5266bc0aff62cd2e2711378865e5f1384da7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.
Transparency logRelease files / phzyx_cache-0.1.6-py3-none-any.whl
| Download URL | phzyx_cache-0.1.6-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23c4ea002d9bbfd2b961cb3bc57d3760d077af7ec79d42af887b45db94dbf864
|
|
BLAKE2b-256 checksum How to use checksums |
bdd114fcba1ac13f5f59a729dc64d457a0700a3f6e323d48a8e329da045a9849
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.
Transparency logSecurity for phzyx-cache 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for phzyx_cache-0.1.6.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.