常用方法库
Project description
zhr_utils
1.安装
pip install zhr_utils
2.卸载
pip uninstall zhr_utils
3.更新
pip install zhr_utils --upgrade
4.查看版本
pip show zhr_utils
0.1.0 版本更新日志
- 动态生成User-Agent
- 过滤html标签
- 获取当前时间
- 写入CSV文件
- 正则搜索匹配
- 判断字符串是否包含中文
- 查看当前目录是否存在某个文件
- 请求网页获取内容
- 检查内容是否包含违禁词
- 请求json数据
- 计算网页长度
- 生成md5
- 获取目录下所有文件路径
- 获取文件的第一条数据
- 获取文件的多条数据
- 提取搜狗搜索结果数量
- 从txt文件读取cookies
- 生成一个指定长度的随机字符串
- 根据中文获取全拼
- 根据中文获取简拼
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
zhr_utils-0.1.2.tar.gz
(4.7 kB
view details)
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
File details
Details for the file zhr_utils-0.1.2.tar.gz.
File metadata
- Download URL: zhr_utils-0.1.2.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05ff414d1f175f1f7e1a3730a138ef30f0a20f9e0241c8e21dfcfc63b505a931
|
|
| MD5 |
7d513925a1142f6f5ba3a36a7b962595
|
|
| BLAKE2b-256 |
7c7ebf530d338bfaeec4ebc947c16d3845950fc2197b5d1b4918c3b5a5f907d2
|
File details
Details for the file zhr_utils-0.1.2-py3-none-any.whl.
File metadata
- Download URL: zhr_utils-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87ae536325343abf3aadbcbea92409b09a0b059476ab2b84111876c2a9d7f9fa
|
|
| MD5 |
f2c5cbc8ada0eb1801697ecdd4470364
|
|
| BLAKE2b-256 |
5213bd5ed00c96f652bdddbf8e80982715f2fb69ee5d578996b2d3543d237595
|