Find the best Database connection module in Python.

Asked 1 years ago, Updated 1 years ago, 105 views

I'm a beginner at Python.

I'd like to add a database module (mysql) and do this and that.

https://pypi.python.org/pypi?%3Aaction=search&term=mysql&submit=search

If you look here, you can see a lot of things

I don't know what to write.

Comparatively analyzed data.

If it's like github, it would be nice to have a popularity like star(?)

I think it's hard just with the weight on that table.

python database pypi mysql

2022-09-22 21:42

1 Answers

I don't know which database you're using

MariaDB, suppose you write PostgreSQL.

MariaDB is mysql fork version, so it doesn't matter if you use mysql connector

Maria db connector is famous for MySQL-python, mysqlclient, pymysql, and pymysql, which is made of pure Python MySQL Driver, so it is slow.

Mysqlclient is a fork version that is older than MySQL-python. So I recommend mysqlclient.

For PostgreSQL, I think psycopg2 is the most normal in experience and feeling


2022-09-22 21:42

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.