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.2.tar.gz
(13.2 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.2.tar.gz.
File metadata
- Download URL: zampie_utils-0.5.2.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aab9c57c68e898af19a2d961b7cb25f6ee65865001d0db8e58a9d41b4d4750fe
|
|
| MD5 |
73b73ed44b31a633096d0c1203ccdc2c
|
|
| BLAKE2b-256 |
b573ec5735f05cc247d0b036d05d0a0fce7bf71eed2c4997fc32f2efb8628b1b
|
File details
Details for the file zampie_utils-0.5.2-py3-none-any.whl.
File metadata
- Download URL: zampie_utils-0.5.2-py3-none-any.whl
- Upload date:
- Size: 15.2 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 |
76aebe23de95948f80379e6ba932d11e4874b72c379572e780ba45690ddfa7ad
|
|
| MD5 |
9a7caa486c16dd6c0707cbd633f2c00b
|
|
| BLAKE2b-256 |
7e49834790c1f2bc8a956d588cc6397e1ea39c39e5f1e395b9270cc638779ff3
|