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.5.tar.gz (23.2 kB view hashes)

Uploaded Source

Supported by

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