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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for Autils-0.3.9.tar.gz
Algorithm Hash digest
SHA256 524c4c5eedc40ba566c8684794267ce4df8fe5edd5940fd978341a4a37656ccf
MD5 3e7b4fb8e5e45b30eb52b7764e2a8f42
BLAKE2b-256 48313c4071869d0cf3e98594197c8e11adc012388cc69b1556302c90ccfdcc0b

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