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

File details

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

File metadata

File hashes

Hashes for fastapi_amis_admin_offline-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5850e668ca903cebfa423a940b141aa5afcf57a4a3c2b19c6ba6c99414dfd1cd
MD5 f7fbd4d44a127e776ad05afed3f67755
BLAKE2b-256 ccdab976e6a2c663b1764c447242748ab19eefd3b0b884b296492055f1b5d150

See more details on using hashes here.

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