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.
Metadata
Release files for fastapi-amis-admin-offline 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fastapi_amis_admin_offline-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / fastapi_amis_admin_offline-0.1.0-py3-none-any.whl
| Download URL | fastapi_amis_admin_offline-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5850e668ca903cebfa423a940b141aa5afcf57a4a3c2b19c6ba6c99414dfd1cd
|
|
BLAKE2b-256 checksum How to use checksums |
ccdab976e6a2c663b1764c447242748ab19eefd3b0b884b296492055f1b5d150
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for fastapi-amis-admin-offline 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.