klock
Python SDK for Klock OSS v1.
Use the high-level facade first:
from klock import Klock
klock = Klock.local(agent_id="agent-a")
with klock.file("/src/auth.js", mode="mutate"):
# read/write safely
...
Klock.local(...) coordinates through the local Klock server under the hood and auto-starts it on the first lock operation for localhost workflows. Use Klock.embedded(...) only when all coordinated work happens inside one process.
Advanced clients are still available:
KlockClientfor embedded low-level coordinationKlockHttpClientfor direct HTTP coordinator access
Metadata
Release files for klock 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| klock-0.1.3-cp38-abi3-macosx_11_0_arm64.whl | CPython 3.8 | abi3 | macOS 11.0+ ARM64 | Details |
Release files / klock-0.1.3-cp38-abi3-macosx_11_0_arm64.whl
| Download URL | klock-0.1.3-cp38-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.8 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7cd70b6931f95380a269d6238d5aca7ed0bae09f89c68ae66f345a97143761d8
|
|
BLAKE2b-256 checksum How to use checksums |
f321027ff18aa3981288817877941928cab2574c6048aedfa5089c11eca343cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|