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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file smocktools-0.1.3.tar.gz.

File metadata

  • Download URL: smocktools-0.1.3.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for smocktools-0.1.3.tar.gz
Algorithm Hash digest
SHA256 326a87b568bbc923fe857117dfd1897850c4f4c92cfc3a96494f54be8ae42b29
MD5 4a5486fe7af31b11f352cd2c64298352
BLAKE2b-256 f87f562471c2a48a72f9de63036c396459c4151afaa2eeaf78b28d8266ca9182

See more details on using hashes here.

File details

Details for the file smocktools-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: smocktools-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for smocktools-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a4c505aeeebff9d27b8189c7d4e795705161358553193793e59e6cd4f5c6d34b
MD5 06b76a9faa2e4995c62ad5da596fad45
BLAKE2b-256 6d73720f8dc7da1d07cc1214cf0c3a904e3bdbd501e0fb9b6c4656622bfc5d26

See more details on using hashes here.

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