A helper for MySQL using python language
Project description
MySQL helper for Python
A helper for working with mysql written in python, with connection-pooling feature
Installation
It is possible to install the tool with pip:
pip install sc-mysqlhelper
Features
Connection pooling
Configuration
The script itself is currently configuration free.
Dependencies
PyMySQL 1.0.2
DBUtils 2.0
Usage
Sample usage:
from mysqlhelper import MySQLHelper helper = MySQLHelper(host="localhost", port=3306, user="test", password="test", database="test") rs = helper.select_one(sql="select count(*) from users") print(rs[0])
License
The script is released under the MIT License. The MIT License is registered with and approved by the Open Source Initiative [1].
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
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 sc-mysqlhelper-0.1.4.tar.gz.
File metadata
- Download URL: sc-mysqlhelper-0.1.4.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1063452c55879cb0a777b65aac77ebfe89449c04f18fa261ab6af60ffa0c9ee8
|
|
| MD5 |
2eaa28c0f9b3a843101e75e54cfe91cd
|
|
| BLAKE2b-256 |
d733b23e24020d70becb7c274f1294b60e92087b45e603b24ef5b5a57b869da1
|
File details
Details for the file sc_mysqlhelper-0.1.4-py3-none-any.whl.
File metadata
- Download URL: sc_mysqlhelper-0.1.4-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01692e7006c93cf369d235a5631cf5a29e835199157a1a8c10dc1dd772775dfd
|
|
| MD5 |
f2767c996c9b3d6759abc2bb08e9284a
|
|
| BLAKE2b-256 |
73a513f740bd452bea51210a9cf21256f2f83b5cee07185500e0ff706db3e5b1
|