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 details)

Uploaded Source

File details

Details for the file autils-0.4.5.tar.gz.

File metadata

  • Download URL: autils-0.4.5.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for autils-0.4.5.tar.gz
Algorithm Hash digest
SHA256 ce2fe30765916daad2f681d20fe14521d46e11d00d9f2a1dbb7f45142b90a3e3
MD5 5226d69a92fb0330444ed0b8978b02da
BLAKE2b-256 a171d538be182a699753e722a8e5a2958e54b55122537c74f4eba6b21f2604a4

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