gunicorn: Serve Python Web Applications over HTTP

gunicorn: Serve Python Web Applications over HTTP

Summary

Gunicorn is a UNIX HTTP server for Python web applications, built around a pre-fork worker model. It serves WSGI apps and includes ASGI and beta HTTP/2 support, with worker options for different workloads.

At a glance

Language
Python
License
NOASSERTION
Stars
10.7k
Forks
1.9k
Added to OSRepos
July 22, 2026
Last analyzed
October 3, 2026
View on GitHub

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Overview

Gunicorn is an application server that runs Python web applications and handles HTTP requests, allowing frameworks such as Django and Flask to serve traffic without implementing their own server. Its pre-fork worker model runs application requests in separate worker processes managed by a master process.

It is intended for developers and operators deploying Python services on UNIX systems. Use it when you need a configurable server for WSGI applications, or when its newer ASGI support fits your application. See the official repository and documentation for deployment details.

Key Features

  • Runs WSGI applications across Python web frameworks.
  • Supports ASGI applications, including FastAPI and Starlette.
  • Offers sync, gthread, gevent, and ASGI worker types.
  • Manages worker processes with graceful shutdown and restart behavior.
  • Supports the uWSGI binary protocol for nginx integration.
  • Includes beta HTTP/2 support and beta Dirty Arbiters for heavy workloads.

Use Cases

  • Django or Flask teams need an application server to run a WSGI service on UNIX.
  • Operators want to configure worker types and process management for a Python web deployment.
  • FastAPI, Starlette, or Quart developers want to run an ASGI application with Gunicorn.
  • Services integrated with nginx need a server that supports the uWSGI binary protocol.

Project Facts

  • Language: Python
  • License: NOASSERTION
  • Stars: 10.7k
  • Forks: 1.9k
  • Topics: http, http-server, python, wsgi, wsgi-server
  • Archived: false

Getting Started

Install Gunicorn and start a WSGI application:

pip install gunicorn
gunicorn myapp:app --workers 4

For configuration and deployment guidance, see the README and documentation.

Considerations

  • Gunicorn targets UNIX systems, so confirm the deployment environment fits that requirement.
  • HTTP/2 and Dirty Arbiters are identified as beta features, so treat them as experimental.
  • ASGI support is available, but select and configure an appropriate worker for the application.
  • The supplied repository metadata reports the license as NOASSERTION, while the README says the project is released under MIT. Check the repository's LICENSE file when verifying license terms.

Found this useful?

Share it with someone who would like gunicorn.

Source repository

Open the original repository on GitHub.

23 counted GitHub visits

View on GitHub

Related repositories

Similar repositories that may be relevant next.

OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️