Standard library extensions (enumx, itertoolsx, timex, etc.).
Project description
lush-stdx
一些我经常复用的标准库小工具. 没有大而全的野心,只要它们还能保持“小”,就放这里.
例子
from lush_stdx.langx import OptionT
from lush_stdx.urllibx import url_update_params
box = OptionT("hello")
assert box.unwrap() == "hello"
url = url_update_params("https://example.com?a=1", {"b": "2"})
assert url == "https://example.com?a=1&b=2"
开发
uv sync -p 3.10 --frozen
uv run -p 3.10 pytest
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
lush_stdx-0.1.2.tar.gz
(11.3 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
lush_stdx-0.1.2-py3-none-any.whl
(12.5 kB
view details)
File details
Details for the file lush_stdx-0.1.2.tar.gz.
File metadata
- Download URL: lush_stdx-0.1.2.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6a689cd73019173a0dde0615e1af8104a2fafea9422656e45f791bce91788d9
|
|
| MD5 |
f3ce67b11ea0d444022cc834c1686318
|
|
| BLAKE2b-256 |
2bdce2709ee0460a896fa20184de8f934b0e53e7bd673e664629bd3069962b5a
|
File details
Details for the file lush_stdx-0.1.2-py3-none-any.whl.
File metadata
- Download URL: lush_stdx-0.1.2-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4df716236b87ec02262e204beb6c7dad8f0ac45487d408ba14d58277b63c9038
|
|
| MD5 |
867926ab73b9ffdacbfb47377a26afed
|
|
| BLAKE2b-256 |
df01c07c5d762b7e3d377667507ad90d05c4dbe79a71097b9e3daddd28d6acb3
|