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

Uploaded Source

File details

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

File metadata

  • Download URL: Autils-0.4.2.tar.gz
  • Upload date:
  • Size: 22.8 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.2.tar.gz
Algorithm Hash digest
SHA256 78c99e512bedbb8898cd799978ac2638f801bada7a79ba2078cb3756f594a43b
MD5 0e64cad52358e3a55e68d7257eb1d4e2
BLAKE2b-256 173003a8402d01111d4e228402b1f552a1d7e250da964f9d1f000bae8d0cb480

See more details on using hashes here.

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