lush-exp
这里放“还不想定型”的代码: 能用,但不保证 API 稳定.
目前主要分两块:
lush_exp.lush_security: JWT/CSP 相关小工具lush_exp.lush_scriptx: 调试/Mock 辅助
一个最小的 JWT 例子:
from lush_exp.lush_security.jwt_manager import JWTConfig, JWTManager, SimpleIDPayload
manager = JWTManager(JWTConfig(secret_key="change-me"))
token = manager.encrypt_model(SimpleIDPayload(id="123"), subject="encrypted_id")
payload = manager.decrypt_model(token, SimpleIDPayload, verify_subject="encrypted_id")
开发
uv sync -p 3.10 --frozen
uv run -p 3.10 pytest
Metadata
Release files for lush-exp 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lush_exp-0.1.2.tar.gz | 11.6 kB | Without provenance | Details for lush_exp-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lush_exp-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for lush_exp-0.1.2-py3-none-any.whl |
Total release size: 25.4 kB
Release files / lush_exp-0.1.2.tar.gz
| Download URL | lush_exp-0.1.2.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0eeb2baa271d179a26b82f81c4e3f1f256ee2630b938de47c7c4845637f158a6
|
|
BLAKE2b-256 checksum How to use checksums |
025f1d12a632325b360e4275df37e25ec3e254ed684cac7eca7d2f9f951fcc6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","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}
|
Release files / lush_exp-0.1.2-py3-none-any.whl
| Download URL | lush_exp-0.1.2-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e5ec29e79bc8fa9acd24afde155bd4b68178b7925e864fe222a524769f7fe6aa
|
|
BLAKE2b-256 checksum How to use checksums |
41247b5214247d25e9717a3b7563ec36ddf8f9817cd43c32c26af1e9fedff4c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","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}
|
Security for lush-exp 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.