PG Change Feed — Python SDK
Official Python client library for PG Change Feed, a durable change feed system for PostgreSQL built on logical replication.
This package (pgchangefeed) lets a Python application consume PG Change Feed's HTTP API without implementing the wire protocol itself — see LH-FA-SST-009 for the requirement this SDK fulfills.
Status
This package is at an early, pre-1.0 stage (0.x.y, ADR-0107). The current release provides the shared connection configuration (ClientOptions: server address and bearer token) and a full HTTP API client surface (PgChangeFeedHttpClient): consumer registration/acknowledgement/position/removal, table enable/disable, status, table listing, retention, and reading changes — the nine SPEC-018 capabilities plus GET /changes (SPEC-022). gRPC, SSE and NATS-vollinhalt delivery remain out of scope for this package's first release and would be added by a follow-up release (ADR-0107 Festlegung 1).
If a surface you need isn't covered yet, the direct wire protocol remains fully usable on its own — no examples/python/ reference client exists yet (ADR-0107 §Kontext); see the examples reference clients for other languages in the main repository.
Installation
pip install pgchangefeed
Documentation
This README intentionally does not duplicate the wire protocol documentation. For the full picture — server setup, HTTP/gRPC/SSE/NATS delivery paths, and operational guidance — see the project README and the technical specification (spec/pflichtenheft.md, SPEC-018) in the main repository.
License
MIT — see LICENSE.
Release files for pgchangefeed 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pgchangefeed-0.1.0.tar.gz | 11.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pgchangefeed-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.5 kB
Release files / pgchangefeed-0.1.0.tar.gz
| Download URL | pgchangefeed-0.1.0.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e420732bcae2b176309c08321e865c72d96aebfcd903fa447ea30137274771f4
|
|
BLAKE2b-256 checksum How to use checksums |
d1ac9ecbbbdb85913d05c3a0ef97923c30a9c82526bfb80f2e735966f95418ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pgchangefeed-0.1.0-py3-none-any.whl
| Download URL | pgchangefeed-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e4e14a5925875ffd15331334dbfb03c92fc8ca7cfbcfb2c5a96798f8f791094
|
|
BLAKE2b-256 checksum How to use checksums |
d9ee983a18b371e65645e1888dbbba32093a507dfb17a15f68213f271ebf64fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|