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

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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