Metadata-Version: 2.1
Name: pokie-gunicorn
Version: 1.0.2
Summary: Gunicorn embedding module for pokie
Home-page: https://git.oddbit.org/OddBit/pokie-gunicorn
Author: João Pinheiro
License: BSD-3-Clause
Project-URL: Source, https://git.oddbit.org/OddBit/pokie-gunicorn/
Classifier: Environment :: Web Environment
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: rick>=0.6.0
Requires-Dist: pokie>=0.5.2
Requires-Dist: gunicorn>=22.0.0
Requires-Dist: tabulate>=0.9.0

# Welcome to Pokie-gunicorn

[![pypi](https://img.shields.io/pypi/v/pokie-gunicorn.svg)](https://pypi.org/project/pokie-gunicorn/)
[![license](https://img.shields.io/pypi/l/pokie-gunicorn.svg)](https://git.oddbit.org/OddBit/pokie-gunicorn/src/branch/master/LICENSE)

Run a pokie application with an embedded gunicorn server

## Defaults

When running with no configuration, it will assume the following options:

- workers: (cpu_count * 2) + 1
- bind: localhost:5000
- threads: cpu_count * 4
- keepalive: 2



## Configuration

All gunicorn settings can be used by setting GUNICORN_<UPPERCASE_SETTING> env var, or by providing them via config provider
with a gunicorn_ prefix. 

The class *pokie_gunicorn.config.GunicornConfigTemplate* contains the basic options, but
can be extended to include most of the options from [Gunicorn's configuration](https://docs.gunicorn.org/en/stable/settings.html#config).




