{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/2"}],"enrichment":{"capability":"asyncmy is an asyncio-native MySQL/MariaDB driver providing fast asynchronous database access with an aiomysql-compatible API, built on an optimized protocol core.","skillfed_tags":["asyncio","mysql-driver","performance-optimized"],"use_cases":["High-throughput async web services (FastAPI, Starlette) needing fast pooled MySQL/MariaDB access without blocking.","Bulk data pipelines reading large result sets where the 2.1x speedup over mysqlclient matters.","Applications using rotating credentials (e.g., AWS RDS IAM tokens) via the password_creator callback.","ORM-backed services that benefit from transparent prepared-statement caching without code changes.","Real-time analytics or replication monitoring via the BinLogStream replication protocol support."],"what_it_does":"asyncmy is an asyncio MySQL/MariaDB driver that optimizes the protocol layer for speed while keeping the aiomysql API surface familiar. It supports both text and binary (server-side prepared statement) protocols, built-in connection pooling, and replication stream reading. The core optimization is bulk packet parsing\u2014rows are decoded directly from the receive buffer without intermediate Python objects, and numeric/temporal columns parse natively from wire bytes.\n\nTypical use is either single-connection queries via `asyncmy.connect()` or high-concurrency workloads via `asyncmy.create_pool()`. The binary protocol is opt-in (via `conn.prepare()` or transparent mode with `stmt_cache_size`), offering another ~35% speedup for repeated queries by eliminating client-side escaping and text parsing. Type stubs are included for mypy/Pylance integration.","worth_installing":"Yes, if you need async MySQL/MariaDB access and can tolerate medium install friction (compiled extensions). The performance gains are substantial and well-benchmarked, the API is familiar to aiomysql users, and the maintenance signal is strong (active repo, recent release, no vulnerabilities). Windows users should factor in the C++ Build Tools prerequisite. Not necessary if you're using synchronous-only code or already satisfied with aiomysql's throughput."},"id":"asyncmy","links":{"html":"https://skillfed.io/packages/asyncmy","md":"https://skillfed.io/packages/asyncmy.md","pypi":"https://pypi.org/project/asyncmy/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-12","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"asyncmy","python_support":"supports_current","summary":"The fastest asyncio MySQL/MariaDB driver for Python"},"popularity":{"monthly_downloads":895220,"position":4790,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.2.14"}
