Skip to main content

PostgreSQL ledger backend for OpenWright — durable, multi-writer evidence.

Project description

openwright-postgres

A durable, multi-writer PostgreSQL ledger backend for OpenWright — the production answer to the file/sqlite single-writer limit.

pip install openwright openwright-postgres
openwright collector --ledger-backend "postgresql://user:pw@host:5432/evidence"

Or in code:

from openwright.connectors import resolve_backend
from openwright.ledger import Ledger
ledger = Ledger(resolve_backend("openwright.ledger_backends", "postgresql://…"))

It uses core's append-only SqlLedgerBackend (DB-assigned IDENTITY column — no MAX(idx)+1 race, O(1)+indexed positional reads), so concurrent writers commit gap-free, ordered, and verifiable. Crypto stays in core; this package only wires storage. Produces evidence that controls were exercised — not a legal compliance certification.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openwright_postgres-0.4.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openwright_postgres-0.4.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file openwright_postgres-0.4.0.tar.gz.

File metadata

  • Download URL: openwright_postgres-0.4.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for openwright_postgres-0.4.0.tar.gz
Algorithm Hash digest
SHA256 f3c4ef6aef62b0ef0ba6019518c5ec3299a9088a80f38e1a4c50a729e08a8ba7
MD5 89e78985d28e1be2a3f30f8613c37ed9
BLAKE2b-256 14ee0debc3ab6297f15ee8dee67648c670605ba5ba019203b7fde95a5368540f

See more details on using hashes here.

Provenance

The following attestation bundles were made for openwright_postgres-0.4.0.tar.gz:

Publisher: release.yml on allthingsN/openwright-connectors

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openwright_postgres-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for openwright_postgres-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46bbdaa53b101470846acf0bdad497e5aa7549528f2338bcc59c0401f2888c93
MD5 0d9f329687a5d52c760e7c5d572ce5e0
BLAKE2b-256 39d727c4a79cef6a1384bbec26611d78ada82c4a8b5f91b3ab601b5e3dab500b

See more details on using hashes here.

Provenance

The following attestation bundles were made for openwright_postgres-0.4.0-py3-none-any.whl:

Publisher: release.yml on allthingsN/openwright-connectors

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page