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")
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.1.0.tar.gz
(5.1 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.1.0.tar.gz.
File metadata
- Download URL: zampie_utils-0.1.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d35182f30a4ab759795489167d374700e28952d9ceb6c8fb6045484057227d6f
|
|
| MD5 |
8f374fa6b0db059696d3d18c2535f5ad
|
|
| BLAKE2b-256 |
56394a5d400c7ad081ba7515f708569faefcab96c8d6ae790b0256b0483b5736
|
File details
Details for the file zampie_utils-0.1.0-py3-none-any.whl.
File metadata
- Download URL: zampie_utils-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5523e063919d4890da2b1fc5ccd8db0cdf810e97c9fb9613d7663ad8ebe66ca
|
|
| MD5 |
d83972ff568a2fa026a69e8bb5c7cb00
|
|
| BLAKE2b-256 |
43e0bcb2dbc909f2e17a9db756ddca6248181525222a4510c0d52d73e689329a
|