eventlet

    eventlet allows writing asynchronous, coroutine-based code that looks like standard synchronous Python. It uses to enable task switching without writing or using asyncio.

    gevent is another library that does the same thing. Certain dependencies you have, or other considerations, may affect which of the two you choose to use.

    When using eventlet, greenlet>=1.0 is required, otherwise context locals such as will not work as expected. When using PyPy, PyPy>=7.3.7 is required.

    Create a virtualenv, install your application, then install eventlet.

    wsgi.py

    eventlet should not be run as root because it would cause your application code to run as root, which is not secure. However, this means it will not be possible to bind to port 80 or 443. Instead, a reverse proxy such as or Apache httpd should be used in front of eventlet.

    0.0.0.0 is not a valid address to navigate to, you’d use a specific IP address in your browser.