Skip to main content

onestep-mysql

Deprecation notice (issue #133): onestep-mysql is now a thin forwarding shim that delegates to the canonical onestep-sql package. New deployments should install onestep-sql[mysql] (or onestep[mysql]) and import from onestep_sql.mysql. This package remains available so existing pip install onestep-mysql and from onestep_mysql import ... keep working unchanged; it no longer declares its own resource entry point. All 14 YAML resource type names are unchanged. See the migration guide for details.

MySQL connector plugin for onestep.

pip install onestep-mysql
# or the canonical package
# pip install 'onestep-sql[mysql]'

The package registers these YAML resource types through the onestep.resources entry point:

  • mysql
  • mysql_state_store
  • mysql_cursor_store
  • mysql_table_queue
  • mysql_incremental
  • mysql_binlog
  • mysql_table_sink

Python usage:

from onestep_mysql import MySQLConnector

SQLAlchemy database operations use AsyncEngine and async drivers. Existing mysql:// and mysql+pymysql:// DSNs are accepted and are automatically adapted to the asyncmy dialect. SQLite is supported in tests and local development through aiosqlite. The binlog reader remains isolated behind a thread boundary because mysql-replication is a synchronous library.

Production mysql_incremental sources should bind a durable mysql_cursor_store with an explicit stable state_key. Retries redeliver the same logical row with incremented attempts and pause later SQL reads across the gap. Concurrent acknowledgements advance only a contiguous prefix and are coalesced into cursor-store commit waves.

Download files

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

Source Distribution

onestep_mysql-0.7.0.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onestep_mysql-0.7.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file onestep_mysql-0.7.0.tar.gz.

File metadata

  • Download URL: onestep_mysql-0.7.0.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for onestep_mysql-0.7.0.tar.gz
Algorithm Hash digest
SHA256 db366a469e5323553202ff2d39d059571782ccf9e9d19794c25579018a6aae5b
MD5 4d31c2b03083d486862fbd1bff9a7bda
BLAKE2b-256 e6d498f93a813c161bcc2e5b27d2c4f1cbf292a370247fb65dd96a7dbe67656c

See more details on using hashes here.

File details

Details for the file onestep_mysql-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: onestep_mysql-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for onestep_mysql-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba82f156a81500061742f282c5a9e065fa1e913bac921a10ae06ef342249aebd
MD5 34761ab238753869c88663d67c17202f
BLAKE2b-256 d0d0ecb99bab1afa4fcdb8fefcddf1c84749f6471f7d73cd848856e7c0eeece9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 files

0.6.1

2 files

0.6.0

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.0

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

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