Ledoc_ui
This package only contains static files for ledoc_ui as a bundle.
It is intended to be used as a python package dependency for any webserver that serves UI for openapi.json.
As long as the openapi.json in standard format is served at /openapi.json path, the UI will work out of the box at /ledoc.
Getting Started
You can import the ledoc_ui_path from the package:
from ledoc_ui import ledoc_ui_path
And use it in your webserver to serve the UI. For example, in FastAPI:
from fastapi import FastAPI
from fastapi.staticfiles import StaticFiles
app = FastAPI()
...
app.mount(
"/ledoc",
StaticFiles(directory=ledoc_ui_path, html=True),
name="ledoc",
)
...
License
This project is licensed under the MIT License.
Release files for ledoc-ui 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ledoc-ui-0.1.0.tar.gz | 2.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ledoc_ui-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.6 MB
Release files / ledoc-ui-0.1.0.tar.gz
| Download URL | ledoc-ui-0.1.0.tar.gz |
|---|---|
| Size | 2.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f202c898e6c6219e06c1d77b83e03522872bb38b560c5d9b2bc9b41d73ca5ed
|
|
BLAKE2b-256 checksum How to use checksums |
d8e026d4b09c9d0dc718d9fd5b2b6ff506335cf2ccb43c85f91d083d7162a026
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.5
|
Release files / ledoc_ui-0.1.0-py3-none-any.whl
| Download URL | ledoc_ui-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ccf50c0d777cdabc7f1adfce716c488eeb1018da0e559b72e31666217ffe935
|
|
BLAKE2b-256 checksum How to use checksums |
86ab6d5317ba39b3ffbf0428d8ee75d63611eb63fbc5fea30398c38e5a50ae6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.5
|