Skip to main content

Build Status PyPI

Autils

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

字符串类

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

数字类

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

字典类

  • 翻转字段的key和value

日志类

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

校验类

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

系统帮助类

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

安装

pip3 install autils

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

Uploaded Source

File details

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

File metadata

  • Download URL: autils-0.4.6.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.6.tar.gz
Algorithm Hash digest
SHA256 1c75ce93c0e34ea1ae7488b3482deb1e9203cec2b16b600cb946a72bc2b08964
MD5 0c59ba201b53cbf64f621d0121196af2
BLAKE2b-256 156e43c146bfded1e7af651b1490b1ad71bd169817e358dca857b90bd3c662a0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.6 This release

1 file

0.4.5

1 file

0.4.3

1 file

0.4.2

1 file

0.4.1

1 file

0.4.0

1 file

0.3.12

1 file

0.3.11

1 file

0.3.10

1 file

0.3.9

1 file

0.3.8

1 file

0.0.1

1 file

Supported by

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