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
  • timeout: 3600
  • 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.1.tar.gz (4.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pokie_gunicorn-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 988fafb84a9064ea911f9c48a08c9c79ebf7ae9dc91ff810f5b20c8af894ac31
MD5 488d33851f702eaf09aee165cd883536
BLAKE2b-256 4aa6dc66fcc35551aedf5edb802be693d33536dc5f23f658c58b3752412f2a50

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