$npx skillfedfor your agent

fastapi-offline

FastAPI without reliance on CDNs for docs

Worth itPyPI Dynamic ContentReleased Jun 2026309.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — fastapi_offline-1.7.7-py3-none-any.whl
v1.7.7 · released 2026-06-19 · Python >=3.8 · 1 runtime deps: fastapi

Yes. If you need FastAPI documentation to work without CDN access, this package solves that problem with minimal friction—a single dependency, permissive licensing, active maintenance, and a straightforward API. Install it when disconnected networks, air-gapped deployments, or strict network policies make CDN-dependent docs impractical.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later.
  • Low friction: single runtime dependency (fastapi), pure Python wheel distribution.
  • Active maintenance with a recent release (56 days ago) and an archived repository status of false.

License · maintenance · safety

MIT (permissive) — MIT-licensed code with permissive terms; includes Apache 2.0 Swagger and MIT-licensed Redoc and favicon assets bundled in the package. All original licenses and copyrights are preserved.

last release 2026-06-19 (56 days) · last repo commit 2026-08-08 · 53 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 309,355 downloads/mo, #7,755 on PyPI

Verify before relying

pip install fastapi-offline

from fastapi_offline import FastAPIOffline

app = FastAPIOffline()

@app.get("/")
async def root():
    return {"message": "Hello World"}
  • Whether static asset serving works correctly behind reverse proxies or non-root paths beyond the documented static_url parameter.
  • Performance impact of serving bundled documentation assets compared to CDN delivery in typical deployments.
Same gist for agents: .md · .json

What it is and what it does

FastAPI-offline is a drop-in replacement for FastAPI that bundles Swagger UI and Redoc documentation assets locally instead of fetching them from external CDNs. This solves the problem of API documentation becoming inaccessible in disconnected networks, air-gapped environments, or situations where external CDN access is restricted or unreliable.

The package automates what the official FastAPI documentation describes as a manual process: it includes the necessary JavaScript and CSS files for both Swagger and Redoc, serves them locally, and configures a FastAPI instance to use them. You instantiate FastAPIOffline instead of FastAPI, optionally customize the static asset path or favicon, and everything else works as normal—all FastAPI options pass through unchanged.

Use it for

  • Running FastAPI services in air-gapped or disconnected networks where external CDN access is unavailable or forbidden.
  • Deploying API documentation in environments with strict network policies or firewall rules that block CDN domains.
  • Ensuring API docs remain accessible even if external CDN services experience outages or performance degradation.
  • Building self-contained Docker images or offline-first deployments where all dependencies must be bundled locally.
  • Customizing documentation UI appearance by serving your own favicon alongside the standard Swagger and Redoc interfaces.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

If you need FastAPI documentation to work without CDN access, this package solves that problem with minimal friction—a single dependency, permissive licensing, active maintenance, and a straightforward API. Install it when disconnected networks, air-gapped deployments, or strict network policies make CDN-dependent docs impractical.

Install

fastapi-offline on PyPI

Before you install

Low friction: single runtime dependency (fastapi), pure Python wheel distribution. Active maintenance with a recent release (56 days ago) and an archived repository status of false.

Requires Python 3.8 or later.

License in practice

MIT-licensed code with permissive terms; includes Apache 2.0 Swagger and MIT-licensed Redoc and favicon assets bundled in the package. All original licenses and copyrights are preserved.

Quickstart

pip install fastapi-offline

from fastapi_offline import FastAPIOffline

app = FastAPIOffline()

@app.get("/")
async def root():
    return {"message": "Hello World"}

Verify before relying

  • Whether static asset serving works correctly behind reverse proxies or non-root paths beyond the documented static_url parameter.
  • Performance impact of serving bundled documentation assets compared to CDN delivery in typical deployments.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
fastapi
MaintenanceActively maintained 56 days since the last release
Last repo commit
First released
Downloads309,355 / month, #7,755 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3Programming Language :: Python :: 3 :: Only

Evidence: fastapi_offline-1.7.7-py3-none-any.whl

Tags

Capabilities
fastapi offline documentationself-hosted swagger uilocal api docs without cdnair-gapped fastapi docsfastapi disconnected networkredoc local servingfastapi docs no internet
Topics
offline-firstair-gappeddocumentation-serving

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “fastapi offline documentation”

  • fastapi-offlineReplaces FastAPI's CDN-dependent documentation UI with locally-served…
  • scalar-fastapiServes interactive, browser-based API documentation from…
  • annotated-docProvides a way to document function parameters, class attributes,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Dynamic Content packages

MarkupSafe Worth it
PyPI · Dynamic Content · released Sep 2025

MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.

BSD-3-Clausecompiled wheel · 3.9+aging
797.1Mdownloads / mo
Jinja2 Worth it
PyPI · Dynamic Content · released Mar 2025

Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.

BSD-3-Clausepure Python · 3.7+aging
718.6Mdownloads / mo
soupsieve Worth it
PyPI · Python Modules · released Aug 2026

Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.

Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.

MITpure Python · 3.10+
428.6Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo
Flask Worth it
PyPI · Application Frameworks · released Feb 2026

Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.

BSD-3-Clausepure Python · 3.9+
211.4Mdownloads / mo
Mako Worth it
PyPI · Dynamic Content · released Aug 2026

Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.

MITpure Python · 3.10+
201.7Mdownloads / mo

See also drf-spectacular-sidecar · fastapi · flask-openapi3-swagger · mkdocs-render-swagger-plugin · mkdocs-swagger-ui-tag · fastapi-auth0 · fastapi-slim · aiohttp-swagger3 · scalar-fastapi · sphinxcontrib-redoc