Skip to main content

个人用工具库

Project description

wztools

个人用 Python 工具库

模块

  • utils - 通用工具函数

    • run_cmd - 执行命令行命令并实时返回结果
    • logger / get_logger - 日志配置(Rich 终端输出)
    • get_loguru - loguru 日志(按需使用,需额外安装 loguru)
    • load_toml - 读取 TOML 配置文件
    • error_info - 错误信息提取
    • measure_time / format_time - 时间相关工具
    • set_datetime_double_xaxis - matplotlib 双 x 轴时间格式
    • fetch_nearest_point - 空间最近点查询
  • datalake - 本地数据存储管理

    • 按时间组织数据文件
    • 支持日、月、年维度创建和获取数据

变更记录

  • [v2026.04.28]

    • command.py stdout 日志级别改为 warning
    • 添加 command.py 测试
  • [v2026.04.10]

    • datalake warning 信息优化
  • [v2025.12.01]

    • 增加 datalake 模块
  • [v2025.10.29]

    • 添加 load_toml

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

wztools-2026.4.28.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

wztools-2026.4.28-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file wztools-2026.4.28.tar.gz.

File metadata

  • Download URL: wztools-2026.4.28.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for wztools-2026.4.28.tar.gz
Algorithm Hash digest
SHA256 5c915c2bca1e352b9a3c0d5bf2b103404e0295c1ce01c7af27d675af0853f95a
MD5 f9d3cc8a3b433fda4540965e9de90486
BLAKE2b-256 f78f941335100e5408d5598cbb8cd82ad509b14789ee8fd349513fa83176cf45

See more details on using hashes here.

File details

Details for the file wztools-2026.4.28-py3-none-any.whl.

File metadata

  • Download URL: wztools-2026.4.28-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for wztools-2026.4.28-py3-none-any.whl
Algorithm Hash digest
SHA256 2f1cebabd089cf8131548ad0c18269712f58c1d97a4a0b6398b08f60e90ce8bf
MD5 2e1687771440cc7a8308ef0f7c9db5c0
BLAKE2b-256 497f31691cbb35b60668a36895cc8d63284fdf23a535a56dee92ce397dc9d110

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