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 details)
Built Distribution
File details
Details for the file gunikite-0.2.0.tar.gz
.
File metadata
- Download URL: gunikite-0.2.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be9e43cf9298eb4497c84fb1814e75d3605b2e098e66b47bd452e8498f89386b |
|
MD5 | 59103534873c6787e1f40fb1584b9578 |
|
BLAKE2b-256 | 62016d18cdea80872f7aaaa42c8fbfb2c1d4ae3b8ef33e8f8c4293b012e93a4c |
File details
Details for the file gunikite-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: gunikite-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ee64b1c7c1a71ba6a5003c4e65101e5f76d0148246b1c49d0b97d7bb1e15691 |
|
MD5 | da1c843938560c54eef259883af83861 |
|
BLAKE2b-256 | 8514855926e06ebec1039a2e4f15d0c34678f2057c01f87fbb1e6da2b6fb84c4 |