Skip to main content

yxpz-tools

一个简单的 Python 实用工具集。

安装

pip install yxpz-tools

使用

作为库

from yxpz_tools import greet, slugify, random_string

print(greet("世界"))          # 你好, 世界!
print(slugify("Hello World!")) # hello-world
print(random_string(8))        # aB3xY9zQ

命令行

yxpz greet 世界
yxpz slug "Hello World"
yxpz rand 16

License

MIT

Metadata

Release files for yxpz-tools 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yxpz-tools 0.1.1
File Size Uploaded
yxpz_tools-0.1.1.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yxpz-tools 0.1.1
File Interpreter ABI Platform
yxpz_tools-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / yxpz_tools-0.1.1.tar.gz

Download URL yxpz_tools-0.1.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0c28cea97935a9ca9983aebfcbff66b917552d59ec112ce53fe4a17853b68967
BLAKE2b-256 checksum
How to use checksums
66289eee0c0ae4819916571bc1da77a0710238b3ed13c0e62658ab2d37c6993b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Release files / yxpz_tools-0.1.1-py3-none-any.whl

Download URL yxpz_tools-0.1.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47eda97559ef36f8f12d88556a1ae09d819f211141a047461230af4a14a84858
BLAKE2b-256 checksum
How to use checksums
16fd1d10cc322d03d310e691092ac6451e78c7e1f4f00616e4eecc29b18e7717
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Release history Release notifications | RSS feed

0.1.3

2 release files

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page