$npx skillfedfor your agent

swagger-ui-bundle

Swagger UI bundled for usage with Python

With conditionsPyPI Software DevelopmentReleased Nov 20233.5M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — swagger_ui_bundle-1.1.0-py3-none-any.whl
v1.1.0 · released 2023-11-01 · Python >=3.7 · 2 runtime deps: Jinja2, importlib_resources

Yes, if you need to serve Swagger UI documentation from a Python web application. The package has low install friction, permissive Apache 2.0 licensing, and no known vulnerabilities. The aging maintenance status (1017 days since last release) is a minor concern but acceptable given that it's a stable wrapper around static assets rather than active-development code.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with only two lightweight runtime dependencies (Jinja2 and importlib_resources).
  • The package is aging (1017 days since last release) but remains in production/stable status with an active repository.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache 2.0, a permissive open-source license that allows commercial use, modification, and distribution with minimal restrictions.

last release 2023-11-01 (1017 days) · last repo commit 2025-09-04 · 21 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,545,052 downloads/mo, #2,580 on PyPI

Verify before relying

from swagger_ui_bundle import swagger_ui_path
import Jinja2

# swagger_ui_path points to the directory containing static UI files
# Render templates with Jinja2 for configuration
template_vars = {"openapi_spec_url": "https://example.com/spec.json"}
# Serve swagger_ui_path as static files through your web framework
  • Whether the bundled Swagger UI version is current relative to upstream swagger-ui releases
  • Performance characteristics when serving to high-traffic API documentation endpoints
  • Specific web framework integration patterns beyond the documented example
Same gist for agents: .md · .json

What it is and what it does

swagger-ui-bundle packages the static files from the Swagger UI project into a Python distribution, making it easy to integrate interactive API documentation into web applications without manually managing external assets. It includes Jinja2 templating support for basic configuration, allowing developers to customize the UI through template variables rather than modifying static files directly.

The package is webserver-agnostic and designed to work with any Python web framework. You import swagger_ui_path to get the directory containing all the UI assets, then serve them through your framework's static file mechanism. Configuration options like the OpenAPI spec URL can be templated and rendered on demand using Jinja2.

Use it for

  • Serve Swagger UI documentation alongside a REST API without managing external CDN dependencies
  • Customize API documentation appearance by rendering Jinja2 templates with application-specific configuration
  • Bundle interactive API docs into a self-contained Python application for offline or internal deployment
  • Quickly prototype an API with live documentation by serving the static bundle through a web framework

Worth the install?

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

With conditions

Yes, if you need to serve Swagger UI documentation from a Python web application.

The package has low install friction, permissive Apache 2.0 licensing, and no known vulnerabilities. The aging maintenance status (1017 days since last release) is a minor concern but acceptable given that it's a stable wrapper around static assets rather than active-development code.

Install

swagger-ui-bundle on PyPI

Before you install

Low install friction with only two lightweight runtime dependencies (Jinja2 and importlib_resources). The package is aging (1017 days since last release) but remains in production/stable status with an active repository.

License in practice

Licensed under Apache 2.0, a permissive open-source license that allows commercial use, modification, and distribution with minimal restrictions.

Quickstart

from swagger_ui_bundle import swagger_ui_path
import Jinja2

# swagger_ui_path points to the directory containing static UI files
# Render templates with Jinja2 for configuration
template_vars = {"openapi_spec_url": "https://example.com/spec.json"}
# Serve swagger_ui_path as static files through your web framework

Verify before relying

  • Whether the bundled Swagger UI version is current relative to upstream swagger-ui releases
  • Performance characteristics when serving to high-traffic API documentation endpoints
  • Specific web framework integration patterns beyond the documented example

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
Jinja2importlib_resources
MaintenanceAging 1,017 days since the last release
Last repo commit
First released
Downloads3,545,052 / month, #2,580 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: InternetTopic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: HTTP ServersTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: swagger_ui_bundle-1.1.0-py3-none-any.whl

Tags

Capabilities
swagger ui static files pythonapi documentation ui bundleswagger ui integrationopenapi spec viewerrest api docs server
Topics
api-documentationswagger-openapi
PyPI keywords
swagger-ui

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 › “swagger ui static files python”

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also flask-swagger-ui · swagger-ui-py · flask-swagger · flask-openapi3-swagger · drf-spectacular-sidecar · mkdocs-swagger-ui-tag · aiohttp-swagger · mkdocs-render-swagger-plugin · flask-openapi3-elements · swagger-plugin-for-sphinx