Skip to main content

常用方法库

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 版本更新日志

  1. 动态生成User-Agent
  2. 过滤html标签
  3. 获取当前时间
  4. 写入CSV文件
  5. 正则搜索匹配
  6. 判断字符串是否包含中文
  7. 查看当前目录是否存在某个文件
  8. 请求网页获取内容
  9. 检查内容是否包含违禁词
  10. 请求json数据
  11. 计算网页长度
  12. 生成md5
  13. 获取目录下所有文件路径
  14. 获取文件的第一条数据
  15. 获取文件的多条数据
  16. 提取搜狗搜索结果数量
  17. 从txt文件读取cookies
  18. 生成一个指定长度的随机字符串
  19. 根据中文获取全拼
  20. 根据中文获取简拼
  21. 随机选取文本文件一行数据

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.3.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zhr_utils-0.1.3-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for zhr_utils-0.1.3.tar.gz
Algorithm Hash digest
SHA256 47bb556b86e73656ce3f2ed89c2c559d8667241b335904652c2fc612ea4633e1
MD5 53cc22b23ef6b6a342065fe3d23c46db
BLAKE2b-256 f16f24c8b98c2d28da058ae52035ff2487e1aa486407c25e8a815f952d436e6d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zhr_utils-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.13

File hashes

Hashes for zhr_utils-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d9b7a8c66a2a3efdf5f1fe7c110662f5a86d015c99d8339408c84ce0253493ca
MD5 59b065f7359ead5a53bf110654d71b6f
BLAKE2b-256 3fa59d9229909eaa4ca730619c69333e69985e8c3702bcff5ef0ade22343b5f6

See more details on using hashes here.

Supported by

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