Skip to main content

Argon的代码库,包含一些实用的工具函数,旨在提高开发效率和代码精简度。

Project description

Argon Code Kits

Argon的代码库,包含一些实用的工具函数,旨在提高开发效率和代码精简度。

功能模块

hash - 哈希计算

  • md5(s) - 计算字符串的 MD5 哈希值
  • sha1(s) - 计算字符串的 SHA-1 哈希值
  • sha256(s) - 计算字符串的 SHA-256 哈希值
  • sha512(s) - 计算字符串的 SHA-512 哈希值

os - 操作系统工具

  • get_folder_size(folder) - 获取文件夹大小
  • filter_windows_invalid_chars(s, o="[x]") - 过滤 Windows 文件名非法字符
  • check_working_directory() - 切换目录到脚本位置

pyplus - Python 增强功能

  • input(prompt, level="info") - 带日志记录的输入函数
  • encrypt(text, password, rounds=10) - 文本加密(基于 base64 和混淆)
  • decrypt(ciphertext, password, rounds=10) - 解密

安装

pip install ArgonCodeKits

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

argoncodekits-0.3.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

argoncodekits-0.3.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file argoncodekits-0.3.0.tar.gz.

File metadata

  • Download URL: argoncodekits-0.3.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for argoncodekits-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b2b845386617c7518bf88be0b4edaa3d4765bfb8cc4eafe4faf4dca33de0aa81
MD5 4a5843b0afa7dfcf91e6dc47e879b391
BLAKE2b-256 6d876cb07ab570004fe8e605bac1360958e8ed1340c9b04508440db503b96264

See more details on using hashes here.

File details

Details for the file argoncodekits-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: argoncodekits-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for argoncodekits-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74f52f2b91e86073c04b23aa5d350291f237772ca032a8873efd067c607924bf
MD5 c16cf83bd3597133dfcc8f3a1ad69451
BLAKE2b-256 292a2f4120b1fdab28c37d30839cad9a5ce99e205ac187aa90a5a96d944b96be

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