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 |
Metadata
Release files for bjcli 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bjcli-1.0.3.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bjcli-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / bjcli-1.0.3.tar.gz
| Download URL | bjcli-1.0.3.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b20438f0ee72b9c8e4db81089aebf9fbb04854a6c439f099b18f076af99ef4bf
|
|
BLAKE2b-256 checksum How to use checksums |
c6c8f58389ae97ed37fa8257cf37db47b3e64b4af242e64e780d861eb10b2dbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / bjcli-1.0.3-py3-none-any.whl
| Download URL | bjcli-1.0.3-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0d376a2542b61033e26761068d1db8c7410fe5334d742b7661ef39d90db6032
|
|
BLAKE2b-256 checksum How to use checksums |
be7a2ec69ab5a86ca7cbfb58128cbcd6bba3fceec5555c2bc383d62da0adff83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|