System Grab Bag

View all TLDR pages from common (or from all pages)

uvicorn

Python ASGI HTTP Server, for asynchronous projects. More information: https://www.uvicorn.org/.
  • Run Python web app:
    uvicorn {{import.path:app_object}}
  • Listen on port 8080 on localhost:
    uvicorn --host {{localhost}} --port {{8080}} {{import.path:app_object}}
  • Turn on live reload:
    uvicorn --reload {{import.path:app_object}}
  • Use 4 worker processes for handling requests:
    uvicorn --workers {{4}} {{import.path:app_object}}
  • Run app over HTTPS:
    uvicorn --ssl-certfile {{cert.pem}} --ssl-keyfile {{key.pem}} {{import.path:app_object}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.