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
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(13.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zampie_utils-0.6.1.tar.gz.
File metadata
- Download URL: zampie_utils-0.6.1.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76cc5b6ca11be99390a5378fdcb117b3a0642ec3f7d30ef3ea37270ed799c5cb
|
|
| MD5 |
688b5123df1ffa520bb1639d0a5bae13
|
|
| BLAKE2b-256 |
e175b171d879acbae6cb523d208ec028d5dc39c5ec8849bb6803ec2c80671dba
|
File details
Details for the file zampie_utils-0.6.1-py3-none-any.whl.
File metadata
- Download URL: zampie_utils-0.6.1-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a19c6e4eb4e0cffc68ae18efccb4a59776c6289a65d1d6c8a8bb331ea828049
|
|
| MD5 |
7aa93e7728cc06d2147d0aabb8903347
|
|
| BLAKE2b-256 |
3601ecbb68245f15bd0fbdaed7a0ffc96579dc4022b20acd73cb62253ae8c0a0
|