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.2.0.tar.gz (50.2 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.2.0-py3-none-any.whl (61.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onestep_sql-0.2.0.tar.gz
  • Upload date:
  • Size: 50.2 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.2.0.tar.gz
Algorithm Hash digest
SHA256 38693d619dbaf10fab731a3ee04090537f8d62b3172cbecbf85822645ecab3ee
MD5 167db1b181e970249b6bbe12f5887c7b
BLAKE2b-256 8b6c0fb880324be89b7ba499dcf4a33331db97736320ddb7208a8fdbb36623d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for onestep_sql-0.2.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: onestep_sql-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 61.2 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da09a64ba42ed3f57798609fc1b65980422e668893613bf5e9432b4cd489c3b2
MD5 8a3a7b2012b83f17b26656d98f2abc0c
BLAKE2b-256 82bffafe6169fb81fbccf2dd9435ecf976ad1e9ee18398e9a6cd6bacac6962fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for onestep_sql-0.2.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

This release

0.2.0 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