Skip to main content

Python Checkpointed Local Log

Install from this directory with pip install . or pip install -e ".[dev]". The installed package is cll, including checkpoint, ledger, log, revocation and signing; the command is cll. From the repository root, use pip install ./python. Run tests here with uv run --extra dev pytest.

CLL storage backends

cll.log implements the CLL backend contract shared with Go and TypeScript: the EntrySource, EntryStore, CheckpointStateStore, WitnessStateStore, CheckpointStore and Backend protocols, their values and error classes, and four backends.

Module Backend Lifecycle
cll.log.memory MemoryStore, in process constructor
cll.log.jsonl JSONL v4 journal, single writer (POSIX flock) init(path), open(path)
cll.log.sqlite shared SQLite schema, stdlib sqlite3 init(path, log_id), open(path, log_id)
cll.log.mysql shared MySQL 8 schema, PyMySQL init(url, log_id), open(url, log_id)
from datetime import datetime, timezone
from cll.log import AppendInput, jsonl

jsonl.init("cll.jsonl")
store = jsonl.open("cll.jsonl")
result = store.append(AppendInput(bytes(32), datetime.now(timezone.utc)))
store.close()

The JSONL, SQLite and MySQL formats interoperate with Go and TypeScript: a log any of them writes opens, continues and verifies in the others. The MySQL backend needs the mysql extra (pip install ".[mysql]"); its target is a mysql://user:password@host:port/database URL. Importing cll or cll.log loads no database driver.

cll.log.conformance runs the shared conformance vectors against any backend, including your own; see its module docstring. cll.log.ledger puts the Python-specific LedgerStore behind EntryStore (without bare-identity append) and any LogSource behind EntrySource.

The MySQL tests read CLL_MYSQL_URL and skip when it is unset, except under CI, where they fail.

The authoritative specification and shared vectors live at the repository root. See the repository README for API and trust boundaries.

Metadata

Release files for checkpointed-local-log 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for checkpointed-local-log 0.7.0
File Size Uploaded Provenance Actions
checkpointed_local_log-0.7.0.tar.gz 122.3 kB With provenance Details for checkpointed_local_log-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for checkpointed-local-log 0.7.0
File Interpreter ABI Platform Actions
checkpointed_local_log-0.7.0-py3-none-any.whl Python 3 none any Details for checkpointed_local_log-0.7.0-py3-none-any.whl

Total release size: 260.5 kB

Release files / checkpointed_local_log-0.7.0.tar.gz

Download URL checkpointed_local_log-0.7.0.tar.gz
Size 122.3 kB
Tags Source
SHA-256 checksum
How to use checksums
21a1ede9cecf56d3113e2e842a81fca08d55f0de902a508661c6700972e0489b
BLAKE2b-256 checksum
How to use checksums
335262ec678d242b83ca40ccf65288f7a0ac7b6c2df8b80ca7d974b9be8c5d33
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 Oct 22, 2026.

Transparency log

Release files / checkpointed_local_log-0.7.0-py3-none-any.whl

Download URL checkpointed_local_log-0.7.0-py3-none-any.whl
Size 138.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
454beb47eb9a3fb74cf41f6fe82c3b9848461d31c0fe5158cf763d74cf5fbd75
BLAKE2b-256 checksum
How to use checksums
3a2c06d8fc3d5d8b846aa1f8a05d78fa1e911f3578f13228b4fd96cd9aac41e8
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 Oct 22, 2026.

Transparency log

Security for checkpointed-local-log 0.7.0

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.

Select from 2 files

Attestation for checkpointed_local_log-0.7.0.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 Oct 22, 2026.

Transparency log

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