Skip to main content

MySQL

说明

这是一个 MySQL 实例模块,可以提供 MySQL 的快速使用。

链接

安装

pip install py-ztj-mysql

依赖

pip install pymysql>=0.9.3
pip install DBUtils>=1.3

使用

from ZtjMySQL import MySQL

mysql = MySQL(host='localhost', user='root')
print(mysql.ping())

Metadata

Release files for py-ztj-mysql 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-ztj-mysql 2.0.0
File Size Uploaded
py-ztj-mysql-2.0.0.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-ztj-mysql 2.0.0
File Interpreter ABI Platform
py_ztj_mysql-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.0 kB

Release files / py-ztj-mysql-2.0.0.tar.gz

Download URL py-ztj-mysql-2.0.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
546314392638404c40d3f78525edf22262738b661c7327ef86e620b4fe225d0d
BLAKE2b-256 checksum
How to use checksums
a6ec04f7de31ff7200c0b2f36d7ca7804597d855133a68a084c553750f08dd47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release files / py_ztj_mysql-2.0.0-py3-none-any.whl

Download URL py_ztj_mysql-2.0.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3c296daef8823b12bed58babdd6e98a8ae512b3a58f86405e42bd2f1b523b2b
BLAKE2b-256 checksum
How to use checksums
f23ba91aee346d7d82c616abd6847ad662ea03035e60225d9b49e061f59285b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.0.0

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page