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.4.0.tar.gz
(7.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.4.0.tar.gz.
File metadata
- Download URL: zampie_utils-0.4.0.tar.gz
- Upload date:
- Size: 7.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 |
4f9ef275542ad3cb5cb775a74ace39eb559ebaccce9977894f682f130c443e1c
|
|
| MD5 |
917cf2a5101457699f5e14501ea0dd8e
|
|
| BLAKE2b-256 |
44a4107fcad2b5e6d66d2c08547c8cc7193e7459c3e60bfdb5df5b3b0a238578
|
File details
Details for the file zampie_utils-0.4.0-py3-none-any.whl.
File metadata
- Download URL: zampie_utils-0.4.0-py3-none-any.whl
- Upload date:
- Size: 7.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 |
618dd0248e84e9811d727d748f9247641037dbc9e01e14aa81c1082887a6762d
|
|
| MD5 |
e660b31a91381c6db8acc55080f98cc5
|
|
| BLAKE2b-256 |
4ab5ff743667a57628f9f9d887ca7d6cdf670b3fb0abeadc5820e7e454481f9e
|