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

Uploaded Source

File details

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

File metadata

  • Download URL: pokie_gunicorn-1.0.2.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.0.2.tar.gz
Algorithm Hash digest
SHA256 a1ad89377522649cc35190245ac730f78fd3d9772273d19c05818ed32f650d99
MD5 44ba65d6cbe82f608bc1ca9574f575cf
BLAKE2b-256 51c454f2ae00d5d0ea54c37ba476cfd4a628df364409d3cbe2d7f49902274060

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