Skip to main content

A package

Project description

Tools Package

This is a package. You can use

Github-flavored Markdown

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)

Uploaded Source

Built Distribution

smocktools-0.1.3-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page