Skip to main content

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


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)

Uploaded Source

Built Distribution

gunikite-0.2.0-py3-none-any.whl (3.1 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