$npx skillfedfor your agent

types-shapely

Typing stubs for shapely

With conditionsPyPI Software DevelopmentReleased Jul 2026719.7K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_shapely-2.1.0.20260728-py3-none-any.whl
v2.1.0.20260728 · released 2026-07-28 · Python >=3.10 · 1 runtime deps: numpy

Yes, if you use shapely and want static type checking. Install it as a development dependency alongside shapely 2.1.*. It has no runtime cost, low friction, and is actively maintained by typeshed. No security concerns. Only skip it if you do not use a type checker or do not use shapely.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; intended for use with shapely 2.1.* versions.
  • Low friction installation with a single runtime dependency on numpy.
  • Actively maintained with recent releases; last commit within days of the package version date.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects, including proprietary software, with minimal restrictions.

last release 2026-07-28 (17 days) · last repo commit 2026-08-14 · 37 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 719,731 downloads/mo, #5,239 on PyPI

Verify before relying

pip install types-shapely

import shapely.geometry
from shapely.geometry import Point

p = Point(0, 0)
  • Whether these stubs are automatically kept in sync with shapely releases or require manual updates
  • Coverage completeness for all shapely 2.1.* APIs beyond what the tested type checkers verify
Same gist for agents: .md · .json

What it is and what it does

types-shapely is a type stub package that bridges the gap between shapely's geometric library and Python's static type checkers. It provides type annotations for shapely's API, allowing tools like mypy, pyright, and ty to catch type errors in code that uses shapely for geometric operations. The stubs are maintained as part of the typeshed project and are tested against multiple type checkers to ensure accuracy.

This package is a pure annotation layer—it has no runtime behavior and does not replace shapely itself. You install it alongside shapely to enable type checking during development. It depends only on numpy, matching shapely's own dependency, and requires Python 3.10 or later.

Use it for

  • Enable mypy or pyright to type-check code that creates and manipulates geometric objects with shapely
  • Catch type mismatches in shapely function calls before runtime in a CI/CD pipeline
  • Provide IDE autocomplete and type hints for shapely methods in editors that support type stubs
  • Validate geometric coordinate and geometry object types in data processing pipelines

Worth the install?

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

With conditions

Yes, if you use shapely and want static type checking.

Install it as a development dependency alongside shapely 2.1.*. It has no runtime cost, low friction, and is actively maintained by typeshed. No security concerns. Only skip it if you do not use a type checker or do not use shapely.

Install

types-shapely on PyPI

Before you install

Low friction installation with a single runtime dependency on numpy. Actively maintained with recent releases; last commit within days of the package version date.

Requires Python 3.10 or later; intended for use with shapely 2.1.* versions.

License in practice

Apache-2.0 permissive license allows use in most projects, including proprietary software, with minimal restrictions.

Quickstart

pip install types-shapely

import shapely.geometry
from shapely.geometry import Point

p = Point(0, 0)

Verify before relying

  • Whether these stubs are automatically kept in sync with shapely releases or require manual updates
  • Coverage completeness for all shapely 2.1.* APIs beyond what the tested type checkers verify

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
numpy
MaintenanceActively maintained 17 days since the last release
Last repo commit
First released
Downloads719,731 / month, #5,239 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_shapely-2.1.0.20260728-py3-none-any.whl

Tags

Capabilities
shapely type stubsshapely type hintsstatic type checking shapelymypy shapely annotationspyright shapely typesshapely typing supportgeometric library type checking
Topics
type-stubsstatic-typing

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

  • types-shapelyProvides type stubs for the shapely package, enabling static type…
  • reprojReproject shapely geometries between coordinate reference systems…
  • antimeridianFixes Shapely geometries and GeoJSON features that cross the…

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 types-geopandas · types-gunicorn · types-bleach · types-networkx · types-gevent · types-grpcio · types-Deprecated · types-pyflakes · types-boltons · types-pywin32