Skip to main content

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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

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