Skip to content
This repository was archived by the owner on Apr 6, 2024. It is now read-only.

abersheeran/runweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RunWeb

Run web server with one command.

Installation

$ pip install runweb

If you need auto reload, install with reload extra.

$ pip install "runweb[reload]"

Usage

waitress

Install with waitress extra.

$ pip install "runweb[waitress]"

Then run command.

$ runweb -a app:wsgi

If you need a multi-process waitress service, just run the following command:

$ runweb -a app:wsgi -w 4

uvicorn

Install with uvicorn extra.

$ pip install "runweb[uvicorn]"

Then run command.

$ runweb -a app:asgi

If you need a multi-process uvicorn service, just run the following command:

$ runweb -a app:asgi -w 4

About

Run web server with one command.

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages