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.mysqlandonestep_sql.postgrescarry the canonical implementations; shared SQL behaviour lives once inonestep_sql._shared.- The root
onestepextras (mysql,postgres,sql,all,dev,integration) resolve throughonestep-sql. - The legacy
onestep-mysql/onestep-postgresdistributions remain available as thin forwarding shims without their own resource entry points; existingpip install onestep-mysqlandfrom 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_binlogstays 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38693d619dbaf10fab731a3ee04090537f8d62b3172cbecbf85822645ecab3ee
|
|
| MD5 |
167db1b181e970249b6bbe12f5887c7b
|
|
| BLAKE2b-256 |
8b6c0fb880324be89b7ba499dcf4a33331db97736320ddb7208a8fdbb36623d6
|
Provenance
The following attestation bundles were made for onestep_sql-0.2.0.tar.gz:
Publisher:
plugin-sql.yml on mic1on/onestep
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
onestep_sql-0.2.0.tar.gz -
Subject digest:
38693d619dbaf10fab731a3ee04090537f8d62b3172cbecbf85822645ecab3ee - Sigstore transparency entry: 2544641605
- Sigstore integration time:
-
Permalink:
mic1on/onestep@f33b10e2cf0b08ebbfa1e5e5d895aad831645586 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mic1on
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
plugin-sql.yml@f33b10e2cf0b08ebbfa1e5e5d895aad831645586 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da09a64ba42ed3f57798609fc1b65980422e668893613bf5e9432b4cd489c3b2
|
|
| MD5 |
8a3a7b2012b83f17b26656d98f2abc0c
|
|
| BLAKE2b-256 |
82bffafe6169fb81fbccf2dd9435ecf976ad1e9ee18398e9a6cd6bacac6962fc
|
Provenance
The following attestation bundles were made for onestep_sql-0.2.0-py3-none-any.whl:
Publisher:
plugin-sql.yml on mic1on/onestep
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
onestep_sql-0.2.0-py3-none-any.whl -
Subject digest:
da09a64ba42ed3f57798609fc1b65980422e668893613bf5e9432b4cd489c3b2 - Sigstore transparency entry: 2544642276
- Sigstore integration time:
-
Permalink:
mic1on/onestep@f33b10e2cf0b08ebbfa1e5e5d895aad831645586 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mic1on
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
plugin-sql.yml@f33b10e2cf0b08ebbfa1e5e5d895aad831645586 -
Trigger Event:
push
-
Statement type: