{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/3"}],"enrichment":{"capability":"Reads MySQL binary logs and streams replication events (inserts, updates, deletes) with their data and raw SQL queries to Python, enabling real-time capture of database changes.","skillfed_tags":["change-data-capture","mysql-binlog","replication"],"use_cases":["Replicate MySQL data to NoSQL databases or data warehouses in near real time.","Invalidate application caches automatically when rows change in the database, eliminating stale data.","Stream database changes to event brokers for event-driven architectures and downstream processing.","Build audit trails and compliance logs by capturing all mutations to sensitive tables.","Feed real-time analytics systems with fresh data from transactional databases."],"what_it_does":"mysql-replication is a pure Python library that implements the MySQL replication protocol on top of pymysql, allowing you to connect to a MySQL server and stream binary log events in real time. It captures INSERT, UPDATE, and DELETE operations with their full row data and original SQL queries, making it possible to react to database changes as they happen.\n\nThe library is designed for building change data capture pipelines\u2014feeding database changes into NoSQL systems, search engines, caches, analytics platforms, or audit logs. It works with MySQL 5.5 through 8.0.14 and MariaDB 10.6, and has been used in production by medium-scale internet companies. Configuration requires enabling binary logging on the MySQL server and setting specific binlog parameters; once set up, the library handles the protocol details transparently.","worth_installing":"Yes. The package is actively maintained, has low install friction, carries a permissive license, and fills a clear niche in MySQL change capture. It is production-tested and widely adopted for CDC pipelines. Install it if you need to react to MySQL changes in real time; skip it if your use case does not require streaming binary log events or if you are not using MySQL."},"id":"mysql-replication","links":{"html":"https://skillfed.io/packages/mysql-replication","md":"https://skillfed.io/packages/mysql-replication.md","pypi":"https://pypi.org/project/mysql-replication/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-06","license_spdx":null,"license_treatment":"permissive","name":"mysql-replication","python_support":"unspecified","summary":"Pure Python Implementation of MySQL replication protocol build on top of PyMYSQL."},"popularity":{"monthly_downloads":453572,"position":6576,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.17"}
