ledoc-ui
A bundle of static files for ledoc as a python package.
What it is and what it does
ledoc-ui is a Python package that bundles static web files for rendering OpenAPI documentation. It exports a single path constant that points to these files, allowing web frameworks to mount them as a static directory. The UI automatically works with any server that exposes an OpenAPI schema at `/openapi.json`, displaying interactive documentation at `/ledoc`.
The package contains no Python code logic—it is purely a distribution mechanism for pre-built frontend assets. You import the path, point your web framework's static file handler to it, and the UI is immediately available. It integrates with any framework supporting static file mounting.
Use it for:
- Add an interactive OpenAPI documentation UI to a web application without writing frontend code.
- Bundle OpenAPI documentation UI with a Python web service for deployment as a single package.
- Serve API documentation at a standard `/ledoc` path across multiple services.
- Provide a lightweight, pre-built documentation solution for services exposing OpenAPI schemas.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides static UI files for serving an OpenAPI documentation interface at `/ledoc` in any web framework that can mount static directories.
Yes, if you need a quick, zero-configuration OpenAPI documentation frontend. The package is straightforward to integrate and has no dependencies. However, dormant maintenance means you should verify the UI works with your OpenAPI schema version and accept that issues may not be addressed.
Install
ledoc-ui on PyPI
pip
pip install ledoc-uiuv
uv add ledoc-uipoetry
poetry add ledoc-uiInstalling ledoc-ui
Before you install
Low install friction with no runtime dependencies. Dormant maintenance status means no active development, though the package remains functional as a static asset bundle.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both commercial and open-source projects.
Quickstart
from ledoc_ui import ledoc_ui_path
app.mount(
"/ledoc",
StaticFiles(directory=ledoc_ui_path, html=True),
name="ledoc",
)
Requires a web framework that supports static file mounting (e.g. FastAPI with StaticFiles).
Verify before relying
- Whether the UI remains compatible with current OpenAPI specification versions and modern web browsers.
- Whether the package receives security updates if vulnerabilities are discovered in bundled assets.
- Active maintenance status and responsiveness to compatibility issues.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 711 days since the last release |
| First released | |
| Downloads | 417,748/month — #6,811 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ledoc_ui-0.1.0-py3-none-any.whl
Tags
More Documentation packages
Docutils converts plaintext documentation in…
unclear · top 1,000 on PyPI
SphinxSphinx generates professional documentation…
permissive · top 1,000 on PyPI
griffeGriffe extracts the complete structure and…
permissive · top 1,000 on PyPI
sphinxcontrib-serializinghtmlA Sphinx extension that outputs documentation…
permissive · top 1,000 on PyPI
alabasterAlabaster is a clean, responsive Sphinx theme…
permissive · top 1,000 on PyPI
sphinxcontrib-htmlhelpA Sphinx extension that generates HTML help…
permissive · top 1,000 on PyPI
drf-spectacular-sidecarServes pre-built Swagger UI and Redoc…
permissive · top 5,000 on PyPI
scalar-fastapiServes interactive, browser-based API…
permissive · top 5,000 on PyPI
swagger-ui-pyIntegrates Swagger UI documentation into Python…
permissive · top 15,000 on PyPI
flask-openapi3-rapidocAdds RapiDoc as an interactive OpenAPI UI…
permissive · top 15,000 on PyPI
mkdocs-render-swagger-pluginRenders Swagger and OpenAPI schemas as…
permissive · top 15,000 on PyPI
flask-openapi3-swaggerProvides Swagger UI integration for…
permissive · top 15,000 on PyPI
swagger-ui-bundlePackages Swagger UI's static files and…
permissive · top 5,000 on PyPI
flask-openapi3-scalarProvides Scalar UI integration for…
permissive · top 15,000 on PyPI
mkdocs-swagger-ui-tagA MkDocs plugin that embeds Swagger UI directly…
permissive · top 15,000 on PyPI
servestaticServeStatic serves static files efficiently…
permissive · top 15,000 on PyPI