skillfed

ledoc-ui

A bundle of static files for ledoc as a python package.

ledoc-ui v0.1.0 417.7K downloads/30d#6,811 on PyPI
Permissive license MIT DORMANT released

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-ui

uv

uv add ledoc-ui

poetry

poetry add ledoc-ui

Installing 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

openapi ui static filesapi documentation web interfaceledoc ui bundlefastapi openapi frontendserve openapi documentation
openapi-uistatic-assets

More Documentation packages

docutils

Docutils converts plaintext documentation in…

unclear · top 1,000 on PyPI

Sphinx

Sphinx generates professional documentation…

permissive · top 1,000 on PyPI

griffe

Griffe extracts the complete structure and…

permissive · top 1,000 on PyPI

sphinxcontrib-serializinghtml

A Sphinx extension that outputs documentation…

permissive · top 1,000 on PyPI

alabaster

Alabaster is a clean, responsive Sphinx theme…

permissive · top 1,000 on PyPI

sphinxcontrib-htmlhelp

A Sphinx extension that generates HTML help…

permissive · top 1,000 on PyPI

drf-spectacular-sidecar

Serves pre-built Swagger UI and Redoc…

permissive · top 5,000 on PyPI

scalar-fastapi

Serves interactive, browser-based API…

permissive · top 5,000 on PyPI

swagger-ui-py

Integrates Swagger UI documentation into Python…

permissive · top 15,000 on PyPI

flask-openapi3-rapidoc

Adds RapiDoc as an interactive OpenAPI UI…

permissive · top 15,000 on PyPI

mkdocs-render-swagger-plugin

Renders Swagger and OpenAPI schemas as…

permissive · top 15,000 on PyPI

flask-openapi3-swagger

Provides Swagger UI integration for…

permissive · top 15,000 on PyPI

swagger-ui-bundle

Packages Swagger UI's static files and…

permissive · top 5,000 on PyPI

flask-openapi3-scalar

Provides Scalar UI integration for…

permissive · top 15,000 on PyPI

mkdocs-swagger-ui-tag

A MkDocs plugin that embeds Swagger UI directly…

permissive · top 15,000 on PyPI

servestatic

ServeStatic serves static files efficiently…

permissive · top 15,000 on PyPI