Simple command line utility to run Bjoern WSGI
Project description
bjcli
bjcli is a simple command line utility to run Bjoern WSGI server
Features
- Forks
- Environment variables support
Installation
pip install bjcli
Usage
bjcli -w 4 -i 127.0.0.1 -p 8088 app.wsgi:application
Using sockets
bjcli -w 4 -i unix:/path/to/socket app.wsgi:application
Examples above would import application from app.wsgi and pass it to Bjoern
Argument | Description | Required | Default | Type |
---|---|---|---|---|
-w | Number of workers | False | 1 | int |
-i | Host | False | 127.0.0.1 | str |
-p | Port. If left blank and the host is an IP address, 8088 is assigned | False | None | None/int |
module:wsgi_app (first positional) | Module containing "wsgi_app" (module attr name after ":") | True | - | module |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bjcli-1.0.3.tar.gz
(3.8 kB
view details)
Built Distribution
bjcli-1.0.3-py3-none-any.whl
(4.4 kB
view details)
File details
Details for the file bjcli-1.0.3.tar.gz
.
File metadata
- Download URL: bjcli-1.0.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b20438f0ee72b9c8e4db81089aebf9fbb04854a6c439f099b18f076af99ef4bf |
|
MD5 | c9b52e679be2b6a8cb8e0376ed2b681e |
|
BLAKE2b-256 | c6c8f58389ae97ed37fa8257cf37db47b3e64b4af242e64e780d861eb10b2dbe |
File details
Details for the file bjcli-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: bjcli-1.0.3-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0d376a2542b61033e26761068d1db8c7410fe5334d742b7661ef39d90db6032 |
|
MD5 | 5db01aa26cc4ca422c66bf04c228bb5e |
|
BLAKE2b-256 | be7a2ec69ab5a86ca7cbfb58128cbcd6bba3fceec5555c2bc383d62da0adff83 |