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.1.tar.gz (8.6 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.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lush_fastapix-0.1.1.tar.gz
  • Upload date:
  • Size: 8.6 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.1.tar.gz
Algorithm Hash digest
SHA256 a2585ef926fd62d9f401abd62762769d40d1f1d11db91a431bd3cc5e3a9ff61b
MD5 f9cb3dd1c3f2683351f7ba051680edf6
BLAKE2b-256 0710e0358e772971db07bfe823d2c86196cd4e24635abf40b530993f763011b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lush_fastapix-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 04fb3f72b90b982bbddc32607c8debc0ed21d88804ad4197d9480645f28bad03
MD5 4366d49c53749bffc85a39e1bc288fb2
BLAKE2b-256 e1942d047204cf608996eda9f72807f0aeff0a6e29346830bad3e1896037ea9a

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