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.0.tar.gz
(10.9 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.0.tar.gz.
File metadata
- Download URL: zampie_utils-0.5.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5b4f30b1c31fb958147d4d957abb04eecd9bef701ecdc551490bdb7e4475061
|
|
| MD5 |
f7c9a1423dfa5321698ac75bcf30f602
|
|
| BLAKE2b-256 |
84a2e95a71b83e049e870d6da5118469b2fcee41317631336200aec54678a48e
|
File details
Details for the file zampie_utils-0.5.0-py3-none-any.whl.
File metadata
- Download URL: zampie_utils-0.5.0-py3-none-any.whl
- Upload date:
- Size: 12.4 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 |
ecf266864935bf264bfe7cb3b120739fc8ce0b363586c7df244ba075f4b342a1
|
|
| MD5 |
09a903a3675241c2cac9e4c631eed732
|
|
| BLAKE2b-256 |
f8e88bf24d26537adb2d62c61ece9707d754c739e75ecaa87a52b975f99431de
|