Skip to main content

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:

  • KlockClient for embedded low-level coordination
  • KlockHttpClient for 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)

Table of built distributions (wheels) for klock 0.1.3
File Interpreter ABI Platform Actions
klock-0.1.3-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details for klock-0.1.3-cp38-abi3-macosx_11_0_arm64.whl

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

Security for klock 0.1.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page