$npx skillfedfor your agent

types-Pillow

Typing stubs for Pillow

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

Decision gist · record as of 2026-08-14

pure-Python wheel — types_Pillow-10.2.0.20240822-py3-none-any.whl
v10.2.0.20240822 · released 2024-08-22 · Python >=3.8

Yes, if you are using Pillow 10.2.* and want static type checking. Install it alongside your type checker. However, if you are already on Pillow 10.3.0 or later, uninstall this package—Pillow now provides its own type annotations and this stub becomes redundant. No security vulnerabilities are known.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.8.
  • Only useful if you are running a static type checker; does not affect runtime.
  • Low install friction with no runtime dependencies.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 is permissive and places no restrictions on use, modification, or distribution in your own projects.

last release 2024-08-22 (722 days) · last repo commit 2026-08-14 · 5,108 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,193,698 downloads/mo, #2,365 on PyPI

Verify before relying

pip install types-Pillow

# Use with your type checker on code that imports Pillow
# Type checker will now understand Pillow's API
  • Whether type coverage is complete for all Pillow 10.2.* APIs or if some areas remain untyped.
  • Compatibility with Pillow versions outside the 10.2.* range that this stub targets.
Same gist for agents: .md · .json

What it is and what it does

types-Pillow is a PEP 561 type stub package that provides type annotations for Pillow 10.2.*, allowing static type checkers to understand and validate code that uses Pillow's image processing functions. It has no runtime dependencies and is installed alongside your type checker to improve code quality during development.

The stubs are maintained in the typeshed repository and are tested against mypy 1.11.1, pyright 1.1.377, and pytype 2024.4.11. However, this package is now superseded: Pillow itself has included native type annotations since version 10.3.0, so you should uninstall types-Pillow if you upgrade to Pillow 10.3.0 or later.

Use it for

  • Enable type checkers to validate image processing code that imports Pillow without runtime overhead.
  • Catch type errors in Pillow API calls during development before they reach production.
  • Integrate Pillow type checking into a CI/CD pipeline using a static type checker.
  • Use in an IDE to get inline type hints and autocomplete for Pillow functions.

Worth the install?

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

With conditions

Yes, if you are using Pillow 10.2.* and want static type checking.

Install it alongside your type checker. However, if you are already on Pillow 10.3.0 or later, uninstall this package—Pillow now provides its own type annotations and this stub becomes redundant. No security vulnerabilities are known.

Install

types-pillow on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained and tested with current type checker versions. Note: Pillow itself includes type annotations since version 10.3.0, making this package redundant for newer Pillow versions.

Requires Python >=3.8. Only useful if you are running a static type checker; does not affect runtime.

License in practice

Apache-2.0 is permissive and places no restrictions on use, modification, or distribution in your own projects.

Quickstart

pip install types-Pillow

# Use with your type checker on code that imports Pillow
# Type checker will now understand Pillow's API

Verify before relying

  • Whether type coverage is complete for all Pillow 10.2.* APIs or if some areas remain untyped.
  • Compatibility with Pillow versions outside the 10.2.* range that this stub targets.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 722 days since the last release
Last repo commit
First released
Downloads4,193,698 / month, #2,365 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Typing :: Stubs Only

Evidence: types_Pillow-10.2.0.20240822-py3-none-any.whl

Tags

Capabilities
pillow type stubstype checking pillowpillow type hintspep 561 stubsstatic type checking imagespillow annotations
Topics
type-stubsstatic-analysis

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 › “pillow type stubs”

  • types-PillowProvides type stubs for Pillow, enabling static type checkers to…
  • types-fpdf2Provides type stubs for the fpdf2 PDF generation library, enabling…
  • 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 docutils-stubs · pandas-stubs · types-beautifulsoup4 · types-pyOpenSSL · types-tzlocal · types-chardet · types-python-slugify · types-emoji · scipy-stubs · pillow-avif-plugin