skillfed

types-gunicorn

Typing stubs for gunicorn

types-gunicorn v26.0.0.20260807 229.6K downloads/30d#9,128 on PyPI37
Permissive license Apache-2.0 Active released

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-gunicorn

uv

uv add types-gunicorn

poetry

poetry add types-gunicorn

Installing 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

Programming Language :: Python :: 3Typing :: Stubs Only

Tags

gunicorn type stubstype checking gunicorngunicorn type hintsstatic analysis gunicornmypy gunicornpyright gunicorngunicorn typing support
type-stubswsgi

More Software Development packages