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.

Metadata

Release files for onestep-sql 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for onestep-sql 0.3.0
File Size Uploaded Provenance
onestep_sql-0.3.0.tar.gz 51.2 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for onestep-sql 0.3.0
File Interpreter ABI Platform
onestep_sql-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 113.3 kB

Release files / onestep_sql-0.3.0.tar.gz

Download URL onestep_sql-0.3.0.tar.gz
Size 51.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0c3a6ce7862be651f1abf7a92950504e815f0aa1a29f734ecaba37ea71152b42
BLAKE2b-256 checksum
How to use checksums
31efbf7204275da6d9c244ab02614d80b72227a1f3eff1f35a42c436601abc85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.

Transparency log

Release files / onestep_sql-0.3.0-py3-none-any.whl

Download URL onestep_sql-0.3.0-py3-none-any.whl
Size 62.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf8951dda3bd454c8d9ef60550b7fcaa3de8dd80675cb9c2d31d7c54a5b4ba34
BLAKE2b-256 checksum
How to use checksums
ba1926013ea7c1e24ec4eb0118b8a179f90d409c58f81fe21d62e97f2751a794
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.

Transparency log

Security for onestep-sql 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for onestep_sql-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page