No project description provided
Project description
FastAPI CDN host Selector for docs ui
Auto find swagger-ui in local files, if exist use them. Otherwise make concurrent http requests by httpx to find out which third part cdn host is the fastest one.
English | 中文
Install
pip install fastapi-cdn-host
Usage
from fastapi import FastAPI
from fastapi_cdn_host import monkey_patch_for_docs_ui
app = FastAPI()
# include_routes ...
monkey_patch_for_docs_ui(app)
License
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
Built Distribution
File details
Details for the file fastapi_cdn_host-0.2.1.tar.gz
.
File metadata
- Download URL: fastapi_cdn_host-0.2.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.6 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb71e3eb1d24585c725f96d5d06392c35894da985b676351c4e532a6ab94fcd4 |
|
MD5 | a131c29509064d5a9693738464a9b8b2 |
|
BLAKE2b-256 | 1917ada7b4732e970fa937cb8d52a5c2b7c894e5c3a378cae077543b73bfcafb |
File details
Details for the file fastapi_cdn_host-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: fastapi_cdn_host-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.6 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 714c3ddb9ff364655c32c1da77952ad354ba4010b08d344e3a5ba7f2637e8f40 |
|
MD5 | 11102ccc04af180f11ecba04a152ab44 |
|
BLAKE2b-256 | 12eaac58ce9725ec125eb37dd302db549b2639024445acb642ba874ffdd25c7c |