aiomysql
aiomysql is a library for accessing a MySQL database from the asyncio (by aio-libs)
aiopg
aiopg is a library for accessing a PostgreSQL database from the asyncio (by aio-libs)
aiomysql | aiopg | |
---|---|---|
5 | 1 | |
1,703 | 1,376 | |
0.6% | 0.4% | |
4.0 | 4.2 | |
20 days ago | about 2 months ago | |
Python | Python | |
MIT License | BSD 2-clause "Simplified" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
aiomysql
Posts with mentions or reviews of aiomysql.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-23.
-
Tuesday Daily Thread: Advanced questions
Use asyncio lib for mysql, for example β aiomysql
-
python asyncio, how to prevent the other functions "block" themselves when connecting to db?
No, as I said, async db connection is the key. You can do that with SQLAlchemy using the databases library, but since you are not using SQLAlchemy it makes more sense to use the underlying db driver, aiomysql, directly.
- data pushed incorrectly from DB when function called from several clients
aiopg
Posts with mentions or reviews of aiopg.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-28.
-
aiopg vs asyncpg vs psycopg3
aiopg: 1.3k starts, last commit 1 nov 2021, recent bug in newer SQLAlchemy version, few open PRs, most recent PRs did not get a contributor response.
What are some alternatives?
When comparing aiomysql and aiopg you can also consider the following projects:
asyncmy - A fast asyncio MySQL/MariaDB driver with replication protocol support
asyncpg - A fast PostgreSQL Database Client Library for Python/asyncio.
databases - Async database support for Python. π
django-mysql - :dolphin: :horse: Extensions to Django for use with MySQL/MariaDB
psycopg - New generation PostgreSQL database adapter for the Python programming language
Tornado-SQLAlchemy - SQLAlchemy support for Tornado
sqladmin - SQLAlchemy Admin for FastAPI and Starlette
mqtt2sql - Copy MQTT topic payloads to MySQL/SQLite database
yt-dlp-bot - Self-hosted Video Download Telegram Bot πΊπ¦
GINO - GINO Is Not ORM - a Python asyncio ORM on SQLAlchemy core.