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 v4.0.2
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 where someColumn = ?", ["someValue"])
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-4.0.2.tar.gz
(4.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pooledmysql-4.0.2.tar.gz.
File metadata
- Download URL: pooledmysql-4.0.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fedfe68926cfd7bf5f337e3d95d7e47cfad6ce1017f2d67b10bd5b74740e50b6
|
|
| MD5 |
022e562f45fc30810c009f8d250abf66
|
|
| BLAKE2b-256 |
fd6340d9072301960661a765cd44b41e4d451c275c84147398fba8288e7d36b2
|
File details
Details for the file pooledMySQL-4.0.2-py3-none-any.whl.
File metadata
- Download URL: pooledMySQL-4.0.2-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c58e0181bcd2dcc3def09adda507a92cc713598bef1bb455695176a4e964ca7c
|
|
| MD5 |
e560979a3f99963029c80e9032f42cd9
|
|
| BLAKE2b-256 |
613ec42ebbbed34a512733270097c79317b742f06ddb1692353442223d6dc1b3
|