A toolbox that includes MQTT, MYSQL, FTP encapsulation, and other gadgets
Project description
主要封装 Primary package:
[class]:
Mqttop():
封装 MQTT 类, 支持 发送信息 和 接收信息
Encapsulates MQTT classes that support sending and receiving information
Mysqlop():
封装 MYSQL 类, 支持操作 MYSQL 数据库, 包括 [增/删/改/查]
encapsulating MYSQL classes, supporting operations on MYSQL Database, including [ADD/DELETE/MODIFY/QUERY]
Ftpserver():
创建 FTP 服务端
Create an FTP server
Ftpclient():
创建 FTP 客户端
Create an FTP client
[func]:
readini()
读取ini文件并返回嵌套字典
Read the ini file and return the nested dictionary
saveini()
保存嵌套字典为ini文件
Save the nested dictionary as an ini file
Fileserver()
快速构建文件服务器
Build file servers quickly
[decorator]:
gettime():
一个装饰器, 获取函数执行的时间
A decorator that gets the time when the function was executed
vargs():
一个装饰器, 根据提供的有效参数集合来验证函数的参数
A decorator that verifies the parameters of a function against a set of valid arguments provided
[cmdline]:
hzgt fs:
快速文件服务器(局域网内文件传输)
Quick file server (file transfer within the local network)
hzgt ftps:
在本地局域网内快速创建FTP服务端
Create an FTP server quickly within the local network
hzgt ips:
输出本地局域网内的IP地址列表
Output a list of IP addresses within the local network
其它小工具 Others are commonly used:
[func] pic():
获取变量名的名称 / 类型 / 值
Get the name / type / value of the variable name
[func] restrop():
返回字符串的终端颜色字体[字体模式 / 字体颜色 / 字体背景], 可使用print()打印
Returns the color font of the string [font mode / font color / font background],
which can be printed using print().
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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
hzgt-2025.3.31-py3-none-any.whl
(93.2 kB
view details)
File details
Details for the file hzgt-2025.3.31-py3-none-any.whl.
File metadata
- Download URL: hzgt-2025.3.31-py3-none-any.whl
- Upload date:
- Size: 93.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
252a39bfd641c25848bd0a975cc15a4c2a23e0b4483e41cc41c26e3262187b24
|
|
| MD5 |
6ccf403740ac3aaa850d923b97207138
|
|
| BLAKE2b-256 |
9df8a485fbae7be23bfaed8fa69f60fc504fa3a544f27482645afacb2fd9b4f9
|