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.5.1.tar.gz
(13.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.5.1.tar.gz.
File metadata
- Download URL: zampie_utils-0.5.1.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed830ca0336c46d31542a37ea2dbc0542edaf8300335b2d9a1d5d833d32e6ada
|
|
| MD5 |
941239d96ef4303529aed80e8ddc4e2c
|
|
| BLAKE2b-256 |
0cc3251e6989048dfd6b7d53502ae378c5dcf39ce8354bc91ec874e5096dcaec
|
File details
Details for the file zampie_utils-0.5.1-py3-none-any.whl.
File metadata
- Download URL: zampie_utils-0.5.1-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09d3691d9d85a3feb6ac4a270418392f05fff5fe5bd72ea998f6ab4255488349
|
|
| MD5 |
57813c6bfb4342706477b9a3db08c5f4
|
|
| BLAKE2b-256 |
ffc7977b7c39f828baa59d8805fa428f65a763c3e80e37b3433c3a9fd9898d91
|