Skip to main content

A collection of utility functions

Project description

Zampie Utils

一个实用的Python工具包,提供了一系列常用的工具函数。

功能特性

  • 文件操作工具
  • 计时器上下文管理器
  • 表情符号和表情识别
  • 概率触发器
  • 会话保存功能

安装

pip install zampie_utils

使用示例

from zampie_utils import ContextTimer, read_file

# 使用计时器
with ContextTimer("my_task", "s"):
    # 你的代码
    pass

# 读取文件
content = read_file("path/to/your/file.txt")

PyPi

https://pypi.org/project/zampie-utils/

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

zampie_utils-0.6.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

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

zampie_utils-0.6.0-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file zampie_utils-0.6.0.tar.gz.

File metadata

  • Download URL: zampie_utils-0.6.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.12

File hashes

Hashes for zampie_utils-0.6.0.tar.gz
Algorithm Hash digest
SHA256 45619a3eea3e984ad5655e6fa712e909a00fb44cc2a5e1f304a7f592821e741a
MD5 37a059bcbf94dde9bc3e7ed29e0063f3
BLAKE2b-256 8033fab951429ab5b161e6ce197021615cae53762b25c6ac06aecdb94f129e3c

See more details on using hashes here.

File details

Details for the file zampie_utils-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for zampie_utils-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 549cd0c067453a843ee7caa648f8e03e9b2b749610230b09131b860edfb2d208
MD5 65937478fcfded1fb9205ea916f2c870
BLAKE2b-256 155947ef9f9e700ecf7ab18027dd77711c2c89c73058cbb9811c0d595fd8e0c0

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