Skip to main content

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.

Download files

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

Source Distribution

onestep_postgres-0.1.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

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

onestep_postgres-0.1.1-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file onestep_postgres-0.1.1.tar.gz.

File metadata

  • Download URL: onestep_postgres-0.1.1.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for onestep_postgres-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e4890859747240f85cb05b3a3bd67d0bd25d0c6603556d2b28969b706ce68610
MD5 db0498a2764c3bd6bab93be73e1ff884
BLAKE2b-256 4c9edf3f5ccf8702bf21031f1ce2e64e517c7ad3445051f1aae6fae1532fae38

See more details on using hashes here.

File details

Details for the file onestep_postgres-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for onestep_postgres-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b7f77de44e2cc05f5c32074ed474f8aa8fe75d81c62f6416cee84f5aeff0ff5
MD5 10076d7d245dc648c4dee7e83ed90409
BLAKE2b-256 b32946185731abe5f11b1c25cbf15489499fb58982e837ef4b3323034f595abd

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6.0

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.3

2 files

0.1.2

2 files

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

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