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
  • accesslog: -
  • errorlog: -
  • loglevel: debug

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.1.0.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file pokie_gunicorn-1.1.0.tar.gz.

File metadata

  • Download URL: pokie_gunicorn-1.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pokie_gunicorn-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9872f01434de491b088d7b3253bdcc590a8ce94499e715436bf170ad776ca6a7
MD5 fa0e2876d75a21302671a86fed1c128a
BLAKE2b-256 9333cab8a3299ef0b832b4af8b44c41f99605327476541e31692518ab8819401

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page