Gunicorn

Python web server
title: "Gunicorn" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["free-web-server-software", "free-software-programmed-in-python", "web-server-software-for-linux", "software-using-the-mit-license"] description: "Python web server" topic_path: "technology/operating-systems" source: "https://en.wikipedia.org/wiki/Gunicorn" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0
::summary Python web server ::
::data[format=table title="Infobox software"]
| Field | Value |
|---|---|
| name | Gunicorn |
| logo | Gunicorn logo 2010.svg |
| author | Benoit Chesneau |
| developer | Gunicorn Developers |
| released | |
| latest release version | |
| latest release date | |
| programming language | Python |
| operating system | Cross-platform |
| genre | Web server |
| license | MIT License |
| website | |
| :: |
| name = Gunicorn | logo = Gunicorn logo 2010.svg | screenshot = | caption = | author = Benoit Chesneau | developer = Gunicorn Developers | released = | latest release version = | latest release date = | programming language = Python | operating system = Cross-platform | genre = Web server | license = MIT License | website = ::figure[src="https://upload.wikimedia.org/wikipedia/commons/f/fb/Benoit_Chesneau_in_2010.jpg" caption="Benoit Chesneau, author of Gunicorn"] ::
The Gunicorn "Green Unicorn" (pronounced jee-unicorn or gun-i-corn) is a Python Web Server Gateway Interface (WSGI) HTTP server. It is a pre-fork worker model, ported from Ruby's Unicorn project. The Gunicorn server is broadly compatible with a number of web frameworks, simply implemented, light on server resources and fairly fast. It is often paired with Nginx, as the two have complementary features.
Architecture
Server model
- Central master process to manage the workers
- Requests are handled by worker processes
- Components:
- Master
- Sync workers
- Async workers
- Tornado workers
- AsyncIO workers
Features
- Natively supports WSGI, web2py, Django and Paster
- Automatic worker process management
- Simple Python configuration
- Multiple worker configurations
- Various server hooks for extensibility
- Compatible with Python 2.6+ and Python 3.2+
References
References
- "Ambiguous Pronunciation · Issue #139 · benoitc/gunicorn".
- [http://gunicorn.org/ Gunicorn-Python WSGI HTTP Server for UNIX]
- [https://vsupalov.com/gunicorn-and-nginx/ Gunicorn and Nginx in a Nutshell]
- "Design — Gunicorn 20.1.0 documentation".
- "Gunicorn 19.3 Documentation: Requirements".
::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::