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 v2.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
logger = MySQLManager("root", "SomePassword", "DatabaseName")
listOfTuples = logger.execute("SELECT * from someTable")
for individualTuple in listOfTuples:
print(individualTuple[0])
Future implementations:
- Classes for individual tables to make reading and writing of rows way easier for the user
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-2.0.0.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for pooledMySQL-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ec9d36f62e02f899172b445ab0800ff248021a9509d4afd73dd788339a4fd08 |
|
MD5 | 675afe69453a3f764f720923fb195b3c |
|
BLAKE2b-256 | 09e9efcb7b5ade84283ce232bd597f0c2a24f4a975cdb46a21d28ed6ede18ec2 |