Metadata-Version: 2.1
Name: bjcli
Version: 0.0.5
Summary: Simple command line utility to run Bjoern WSGI
Home-page: https://notabug.org/kapustlo/bjcli
Author: Kapustlo
Author-email: kapustlo@protonmail.com
License: UNKNOWN
Keywords: python,bjoern,cli,bjoern-cli,wsgi
Platform: UNKNOWN
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Server
Classifier: Environment :: Console
Classifier: Environment :: Web Environment
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE


# 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

##### Using sockets

bjcli -w 4 -i unix:/path/to/socket app.wsgi

| 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
| wsgi_app (first positional) | Module containing get_wsgi_application function | True | - | module



