lush-fastapix
一个小型 FastAPI 增强包. 主要目标很简单: 让生成出来的 OpenAPI schema 更“像人写的”,尤其是枚举/参数的展示.
最常用的是 FastAPIX. 它继承自 fastapi.FastAPI,覆写 openapi() 并在 schema 生成后调用 enhance_openapi_schema().
快速开始
from lush_fastapix import FastAPIX
app = FastAPIX(title="demo", version="0.1.0")
开发
uv sync -p 3.10 --frozen
uv run -p 3.10 pytest
Metadata
Release files for lush-fastapix 0.1.1
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_fastapix-0.1.1.tar.gz | 8.6 kB | Without provenance | Details for lush_fastapix-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lush_fastapix-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for lush_fastapix-0.1.1-py3-none-any.whl |
Total release size: 18.1 kB
Release files / lush_fastapix-0.1.1.tar.gz
| Download URL | lush_fastapix-0.1.1.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2585ef926fd62d9f401abd62762769d40d1f1d11db91a431bd3cc5e3a9ff61b
|
|
BLAKE2b-256 checksum How to use checksums |
0710e0358e772971db07bfe823d2c86196cd4e24635abf40b530993f763011b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","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_fastapix-0.1.1-py3-none-any.whl
| Download URL | lush_fastapix-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04fb3f72b90b982bbddc32607c8debc0ed21d88804ad4197d9480645f28bad03
|
|
BLAKE2b-256 checksum How to use checksums |
e1942d047204cf608996eda9f72807f0aeff0a6e29346830bad3e1896037ea9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","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-fastapix 0.1.1
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.