Skip to main content

onestep-sql

Canonical, unified MySQL and PostgreSQL connector plugin for onestep.

This package merges the previously separate onestep-mysql and onestep-postgres distributions behind a single entry point and a single namespace (onestep_sql). It is introduced incrementally per the consolidation design (tracking issue #133).

Status

Phase 3 — canonical distribution; legacy packages are thin forwarding shims.

  • onestep-sql[mysql], [postgres], [sqlite], and [all] build, discover their resources, and pass their suites.
  • onestep_sql.mysql and onestep_sql.postgres carry the canonical implementations; shared SQL behaviour lives once in onestep_sql._shared.
  • The root onestep extras (mysql, postgres, sql, all, dev, integration) resolve through onestep-sql.
  • The legacy onestep-mysql / onestep-postgres distributions remain available as thin forwarding shims without their own resource entry points; existing pip install onestep-mysql and from onestep_mysql import ... imports keep working unchanged.
  • All 14 YAML resource type names, catalog roles, fields, defaults, and connector boundaries are unchanged.

Install

pip install "onestep-sql[all]"      # MySQL + PostgreSQL
pip install "onestep-sql[mysql]"    # MySQL only
pip install "onestep-sql[postgres]" # PostgreSQL only

Usage

The package registers all 14 YAML resource types through a single entry point (sql in the onestep.resources group). No import is required to use the types in a YAML pipeline — onestep discovers them automatically.

For programmatic access to the connector classes:

from onestep_sql.mysql import MySQLConnector, BinlogSource
from onestep_sql.postgres import PostgresConnector, PostgresExecutionSource

What is NOT changing

  • The 14 YAML type names (mysql_*, postgres_*) and their catalog roles, fields, defaults, and connector boundaries are unchanged.
  • mysql_binlog stays MySQL-only; postgres_execution_source / tracked execution stays PostgreSQL-only.
  • See the design doc for the full non-goals and the phased rollout plan.

Download files

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

Source Distribution

onestep_sql-0.1.0.tar.gz (41.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_sql-0.1.0-py3-none-any.whl (50.0 kB view details)

Uploaded Python 3

File details

Details for the file onestep_sql-0.1.0.tar.gz.

File metadata

  • Download URL: onestep_sql-0.1.0.tar.gz
  • Upload date:
  • Size: 41.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for onestep_sql-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dee07a68ce8a550bf88346c379018d7bc30544139aa89778935157db5bb9d845
MD5 6c2ba335df0043a1c3f35ee55b6e507b
BLAKE2b-256 cf5dd1f711aa0b1665711b32e2a0bc84c6fd426a61f0f9be5e71e49e0b10a0d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for onestep_sql-0.1.0.tar.gz:

Publisher: plugin-sql.yml on mic1on/onestep

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

File details

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

File metadata

  • Download URL: onestep_sql-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 50.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for onestep_sql-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d559cbbcc478f1cd2d9e253390793ed01a21241edb34eb36362816e718fe543f
MD5 5fd61635f126c05a2e72a6767bdab8d0
BLAKE2b-256 535d8969401513acd635c1d37a91a8e8b28af0b2e16d91cfac33c44f3b1ac7f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for onestep_sql-0.1.0-py3-none-any.whl:

Publisher: plugin-sql.yml on mic1on/onestep

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

Release history Release notifications | RSS feed

0.2.0

2 files

This release

0.1.0 This release

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