$npx skillfedfor your agent

types-docker

Typing stubs for docker

With conditionsPyPI Software DevelopmentReleased Aug 20261.3M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_docker-7.2.0.20260813-py3-none-any.whl
v7.2.0.20260813 · released 2026-08-13 · Python >=3.10 · 2 runtime deps: types-requests, urllib3

Yes, if you use the docker package and want static type checking. Install it alongside docker to enable type checkers to validate your code. No downside if you're already using a type checker—it's a stub-only package with low friction and permissive licensing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low install friction with only two runtime dependencies (types-requests and urllib3).
  • Actively maintained as part of typeshed; released 2026-08-13 with recent commit activity.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects without restriction.

last release 2026-08-13 (1 days) · last repo commit 2026-08-14 · 37 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,319,556 downloads/mo, #4,064 on PyPI

Verify before relying

pip install types-docker

# In your code, mypy/pyright will now type-check docker imports:
import docker
client = docker.from_env()
  • Whether this stub version remains accurate as docker package evolves beyond 7.2.*
  • Coverage completeness for all docker API surface areas used in practice
Same gist for agents: .md · .json

What it is and what it does

types-docker is a type stub package that provides static type annotations for the docker Python client library. It allows type checkers like mypy, pyright, and others to understand and validate code that imports and uses the docker package, catching type errors before runtime.

The package is maintained as part of typeshed, the central repository for Python type stubs. It targets docker version 7.2.* and has been tested with multiple type checkers (mypy 2.3.0, pyright 1.1.411, and others). Installation is straightforward with minimal dependencies, and it requires Python 3.10 or later.

Use it for

  • Enable type checking in a project that uses the docker client library with mypy or pyright
  • Catch type errors in docker API calls during development rather than at runtime
  • Improve IDE autocomplete and inline documentation for docker package methods and classes
  • Validate docker container and image management code in CI/CD pipelines

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use the docker package and want static type checking.

Install it alongside docker to enable type checkers to validate your code. No downside if you're already using a type checker—it's a stub-only package with low friction and permissive licensing.

Install

types-docker on PyPI

Before you install

Low install friction with only two runtime dependencies (types-requests and urllib3). Actively maintained as part of typeshed; released 2026-08-13 with recent commit activity.

Requires Python 3.10 or later.

License in practice

Apache-2.0 permissive license allows use in most projects without restriction.

Quickstart

pip install types-docker

# In your code, mypy/pyright will now type-check docker imports:
import docker
client = docker.from_env()

Verify before relying

  • Whether this stub version remains accurate as docker package evolves beyond 7.2.*
  • Coverage completeness for all docker API surface areas used in practice

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
types-requestsurllib3
MaintenanceActively maintained 1 days since the last release
Last repo commit
First released
Downloads1,319,556 / month, #4,064 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3Typing :: Stubs Only

Evidence: types_docker-7.2.0.20260813-py3-none-any.whl

Tags

Capabilities
docker type stubsdocker typing annotationsmypy docker supportpyright docker typesdocker python type checking
Topics
type-stubsdocker

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “docker type stubs”

  • types-dockerProvides type hints for the docker package, enabling static type…
  • python-on-whalesA Python Docker client that wraps the Docker CLI with an intuitive,…
  • types-assertpyProvides type stubs enabling static type checkers like mypy and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also optype · types-dateparser · types-django-filter · types-hvac · types-braintree · types-pyinstaller · types-tensorflow · types-grpcio · types-PyMySQL · types-paramiko