Skip to main content

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


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.0.tar.gz (12.1 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.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

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

Hashes for onestep_postgres-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6c533ab7aef81b06afd69b56e430ddc9a18a58ce75743174399dc1a9c1d53402
MD5 4ab6b6e8b91e10349936c44d71056ec1
BLAKE2b-256 83f076d6e769020957c6baae3149d4f40dff99c06845bc8f53cc6ba744baff50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onestep_postgres-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 970a9b06d99966a262160227070878f305d58b526d57fec203dcb8c17f386d41
MD5 84175047a23a2a256d2892a2e27ad4af
BLAKE2b-256 64137002ea59a596fb33169f10d377b367acf8e90d6a990e3642d873d710a1ec

See more details on using hashes here.

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