PostgreSQL connector plugin for onestep.
Project description
onestep-postgres
PostgreSQL connector plugin for onestep.
Install it with:
pip install onestep-postgres
YAML resources are available after the plugin is installed:
resources:
pg:
type: postgres
dsn: "${POSTGRES_DSN}"
cursor:
type: postgres_cursor_store
connector: pg
users:
type: postgres_incremental
connector: pg
table: users
key: id
cursor: [updated_at, id]
state: cursor
processed:
type: postgres_table_sink
connector: pg
table: processed_users
mode: upsert
keys: [id]
The first version supports table queues, incremental polling, table sinks, and SQLAlchemy-backed state/cursor stores. It does not support PostgreSQL logical replication or CDC.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file onestep_postgres-0.1.0.tar.gz.
File metadata
- Download URL: onestep_postgres-0.1.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c533ab7aef81b06afd69b56e430ddc9a18a58ce75743174399dc1a9c1d53402
|
|
| MD5 |
4ab6b6e8b91e10349936c44d71056ec1
|
|
| BLAKE2b-256 |
83f076d6e769020957c6baae3149d4f40dff99c06845bc8f53cc6ba744baff50
|
File details
Details for the file onestep_postgres-0.1.0-py3-none-any.whl.
File metadata
- Download URL: onestep_postgres-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
970a9b06d99966a262160227070878f305d58b526d57fec203dcb8c17f386d41
|
|
| MD5 |
84175047a23a2a256d2892a2e27ad4af
|
|
| BLAKE2b-256 |
64137002ea59a596fb33169f10d377b367acf8e90d6a990e3642d873d710a1ec
|