Skip to main content

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


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.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

bjcli-1.0.0-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page