make fastapi & amis-admin work offline without CDN
Project description
static assets for fastapi_amis_admin
make fastapi & amis-admin work offline without CDN.
Features
this package provide following static assets used by fastapi & amis_admin to make them work without CDN:
- swagger
- redoc
- amis
Install
pip install fastapi-amis-admin-offline
Usage examples
from fastapi import FastAPI
from fastapi_amis_admin_offline import patch_offline
app = FastAPI(debug=settings.debug)
patch_offline(app)
if fastapi_amis_admin is installed, it will also patch the Page and App components to use local static assets.
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastapi_amis_admin_offline-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fastapi_amis_admin_offline-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5850e668ca903cebfa423a940b141aa5afcf57a4a3c2b19c6ba6c99414dfd1cd
|
|
| MD5 |
f7fbd4d44a127e776ad05afed3f67755
|
|
| BLAKE2b-256 |
ccdab976e6a2c663b1764c447242748ab19eefd3b0b884b296492055f1b5d150
|