Skip to main content

Gunicorn embedding module for pokie

Project description

Welcome to Pokie-gunicorn

pypi 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.

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

pokie-gunicorn-1.0.1.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file pokie-gunicorn-1.0.1.tar.gz.

File metadata

  • Download URL: pokie-gunicorn-1.0.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for pokie-gunicorn-1.0.1.tar.gz
Algorithm Hash digest
SHA256 fbbf1a8c98e331d313fa18f9bd4a49e6d92ed428f6dd683de2bcb3c9dc07ece7
MD5 9422cf63476eb7c6f373e36288f8b466
BLAKE2b-256 18043350cd1b7616110591675b625ffac7e2a7046466e49420ae7d580f56d621

See more details on using hashes here.

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