Registry / devops / zccache

zccache

JSON →
library1.3.10pypypiunverified

A high-performance local compiler cache daemon for Python, designed to accelerate repetitive compilation tasks. Requires Python >=3.10. Latest version: 1.3.10, released with monthly patches under active development.

pip install zccache
INSTALL
IMPORT
SIG · ZCCACHE
Z
zccache
devopspythonv1.3.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

zccache
import zccache
import zccache

Initialize a zccache daemon, run a compiler command, and retrieve cached results.

import zccache # Configure and start the daemon config = zccache.Config(cache_dir="/tmp/zccache", max_size="1GB") daemon = zccache.Daemon(config) daemon.start() # Use the cache for compilation result = zccache.run("gcc -O2 main.c -o main") print(result) daemon.stop()
zccached --version
Debug
Known issues
breakingIn v1.3.0, the `Cache` class was renamed to `Config`. Old code using `zccache.Cache(...)` will raise AttributeError.
fix
Replace `zccache.Cache(...)` with `zccache.Config(...)`.
affects: >=1.3.0,<1.3.0
gotchaThe daemon must be started before any run() call; otherwise run() silently falls back to uncached execution.
fix
Always call daemon.start() before invoking zccache.run().
affects: all
Upgrade
Version history
1.3.10latest on PyPI
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
Resources
zccache — pip install zccache · libregistry