Utility for running Gunicorn server from a virtual environment.
Project description
🐎 GuniKite
gunikite
is a utility class for running Gunicorn servers from a virtual environment. It helps you find the location of the Gunicorn executable within the virtual environment and run it with specified parameters.
Installation
You can install gunikite
using pip:
pip install gunikite
Usage
from gunikite import GunicornRunner
# Create a GunicornRunner instance
gunicorn_runner = GunicornRunner(
worker=4,
host="localhost",
port=8080,
module_name="myapp",
app_class_name="app",
enable_reload=True
)
# Run Gunicorn with the specified parameters
gunicorn_runner.run_gunicorn()
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
gunikite-0.2.0.tar.gz
(2.6 kB
view hashes)