Skip to main content

A hepler tools for kevin kong

Project description

Build Status PyPI

Autils

autils 是一个工具类,截至目前包括如下功能:

字符串类

  • 随机生成指定长度字符串

数字类

  • 禁止浮点数大于4时以科学记数法显示

字典类

  • 翻转字段的key和value

日志类

  • 以标准和文件形式的日志输出

校验类

  • 字典序排序方法
  • 微信签名
  • CRC校验(CCITT模式、XMODEN模式)

系统帮助类

  • 获取本地IP地址
  • 获取公网IP地址
  • 以sudo的方式运行命令
  • 文件夹不存在时创建文件夹

安装

pip3 install autils

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

Autils-0.4.3.tar.gz (22.9 kB view details)

Uploaded Source

File details

Details for the file Autils-0.4.3.tar.gz.

File metadata

  • Download URL: Autils-0.4.3.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.9.6 requests/2.25.1 setuptools/60.9.3 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for Autils-0.4.3.tar.gz
Algorithm Hash digest
SHA256 174cfb40c9c7bad332667073cbb77346e1c35a44f2ede6c28bbbfa8d3432d75a
MD5 a268b41989fb0bc227ab3db3b6636dbf
BLAKE2b-256 89caf8c485dec8df3855e9db660e4db262793466b1ccdb14247fc6d553f4a70c

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