A simple way to have MySQL connection pool which auto-scales infinitely as required. This would help remove problems caused by multithreading, also removed user hassle of manually creating and deleting connections manually.
Project description
pooledMySQL v3.0.0
pip install pooledMySQL --upgrade
A well maintained program to have MySQL connection pool which auto-scales infinitely as required. This would help remove problems caused by multithreading, also removed user hassle of manually creating and deleting connections manually.
To install:
pip install pooledMySQL --upgrade
pip3 install pooledMySQL --upgrade
python -m pip install pooledMySQL --upgrade
python3 -m pip install pooledMySQL --upgrade
Using this program is as simple as:
from pooledMySQL import Manager as MySQLManager
executorMySQL = MySQLManager("SomeUsername", "SomePassword", "DatabaseName")
listOfDict = executorMySQL.execute("SELECT * from someTable")
for individualDict in listOfDict:
print(individualDict)
Future implementations:
- Classes for individual tables to make reading and writing of rows way easier for the user
- Table and database creation syntaxes
This project is always open to suggestions and feature requests.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pooledmysql-3.0.0.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for pooledMySQL-3.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54d507c6bfe82d2a5b22d2c82b41e3ee17c171ab7ce95388a57b3d6fd77a1e15 |
|
MD5 | 02952d4f444cd3c45370ea375f38fb8e |
|
BLAKE2b-256 | 7cbe6746aa708c78952cb9ef1158fcf411410450f1b2ec590ad2675a08247b30 |