types-gunicorn
Typing stubs for gunicorn
What it is and what it does
types-gunicorn is a type stub package that provides type annotations for gunicorn. It allows static type checkers like mypy, pyright, and ty to understand and validate code that uses gunicorn, catching type errors before runtime. The stubs are maintained as part of the typeshed project and aim to provide accurate annotations for gunicorn==26.0.0.
This package contains no runtime code—it exists solely to improve the developer experience when working with gunicorn in a type-checked codebase. It has no dependencies beyond Python >=3.10 and integrates transparently with standard type checkers. The stubs have been tested with mypy 2.3.0, pyright 1.1.411, and ty 0.0.59.
Use it for:
- Enable type checkers to validate code that imports and configures gunicorn applications.
- Catch type errors in gunicorn configuration and WSGI app setup before runtime.
- Provide IDE autocomplete and inline documentation for gunicorn APIs during development.
- Validate gunicorn integration in a larger application's type-checked codebase.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type stubs for gunicorn to enable static type checking of code that uses the gunicorn WSGI HTTP server.
Yes, if you use gunicorn and type-check your code. It is a lightweight, actively maintained package with no dependencies that directly improves type safety. Install it alongside gunicorn in projects where static type checking is part of your workflow.
Install
types-gunicorn on PyPI
pip
pip install types-gunicornuv
uv add types-gunicornpoetry
poetry add types-gunicornInstalling types-gunicorn
Before you install
Low install friction with no runtime dependencies. Actively maintained as part of the typeshed project, with the last commit on 2026-08-14.
License in practice
Licensed under Apache-2.0, a permissive open-source license that allows use, modification, and distribution with minimal restrictions.
Quickstart
pip install types-gunicorn
# In your Python code with a type checker:
import gunicorn.app.base
app = gunicorn.app.base.BaseApplication()
Requires Python >=3.10. Requires gunicorn itself to be installed separately for runtime use.
Verify before relying
- Whether these stubs remain accurate as gunicorn evolves beyond version 26.0.0
- Coverage completeness for all gunicorn APIs and edge cases
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 229,591/month — #9,128 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_gunicorn-26.0.0.20260807-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
types-PyMySQLProvides type stubs for PyMySQL to enable…
permissive · top 5,000 on PyPI
types-shapelyProvides type stubs for the shapely package,…
permissive · top 15,000 on PyPI
types-waitressProvides type stubs for the waitress WSGI…
permissive · top 15,000 on PyPI
types-antlr4-python3-runtimeProvides type stubs for antlr4-python3-runtime,…
permissive · top 15,000 on PyPI
types-geopandasProvides type annotations for the geopandas…
permissive · top 15,000 on PyPI
types-geventProvides type stubs for the gevent library,…
permissive · top 15,000 on PyPI
types-grpcioProvides type stubs for the grpcio package,…
permissive · top 5,000 on PyPI
types-networkxProvides type stubs for networkx to enable…
permissive · top 5,000 on PyPI
types-hvacProvides type hints for the hvac package,…
permissive · top 15,000 on PyPI
types-pyflakesProvides type stubs for the pyflakes static…
permissive · top 15,000 on PyPI