Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ledoc-ui

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ledoc-ui

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

  • 0.1.0
  • PyPI
  • Socket score

Maintainers
1

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc