A package
Project description
Tools Package
This is a package. You can use
MysqlRepository 是mysql工具类,为了特殊情况下的稳定性要求,进行了链接丢失的重新链接补偿。
本工具支持:
- 因各种原因中断后补偿。
- 支持ssh跳板。
- 支持批量insert(效率比较高)
使用方法:
pip install smocktools
from smocktools import MysqlRepository
r = MysqlRepository("localhost","user","pwd","database name")
r.get("select * from tablename")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smocktools-0.1.3.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for smocktools-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4c505aeeebff9d27b8189c7d4e795705161358553193793e59e6cd4f5c6d34b |
|
MD5 | 06b76a9faa2e4995c62ad5da596fad45 |
|
BLAKE2b-256 | 6d73720f8dc7da1d07cc1214cf0c3a904e3bdbd501e0fb9b6c4656622bfc5d26 |