Skip to main content

see README.md

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lush_fastapix-0.1.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lush_fastapix-0.1.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file lush_fastapix-0.1.0.tar.gz.

File metadata

  • Download URL: lush_fastapix-0.1.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for lush_fastapix-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9257be0bda3890c6675e2eebcf1226b1ff9e1e21a46601477a0f75ca00936e6c
MD5 da74244fa43a05e88a6dffa6cd8bfb15
BLAKE2b-256 cdf2012d5f89b7b51541adcad35e94048289e75be337dce0b5436555ed311aeb

See more details on using hashes here.

File details

Details for the file lush_fastapix-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lush_fastapix-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for lush_fastapix-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36e3dab7a84bf993f6c66247675576020bd7c24727f510df06a15c13a1294dc9
MD5 da34ac5fd477bf12d7cbd44b2304a9e7
BLAKE2b-256 79cf968c4fcac219347a2cc0091bcc34532fa4255a591f924ba21f44102c4541

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page