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.6
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.6.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file pooledmysql-3.0.6.tar.gz
.
File metadata
- Download URL: pooledmysql-3.0.6.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06aa3d15f1af42829d4ea4dede8f735c5875b4c00bb1cbe25370d99b6c2a41b5 |
|
MD5 | ea2a9c5938eaaaf6e43e0c14e0b196ce |
|
BLAKE2b-256 | 9ba5a3bb51abf72d839f9eb1f468e78db75140786a3dbe7a4749b661041f9364 |
File details
Details for the file pooledMySQL-3.0.6-py3-none-any.whl
.
File metadata
- Download URL: pooledMySQL-3.0.6-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e6554c67fd48155b7f47b0cfe946bc838e59ce2ebce134c89d7c5ed3eab204d |
|
MD5 | c483f2ca5eec95c357f67a2047e0d473 |
|
BLAKE2b-256 | fdf2e371d49884a37046e3c6a7205d52bb0ab3be36d38ad941c4bffe56c49fa4 |