types-MarkupSafe
Typing stubs for MarkupSafe
Decision gist · record as of 2026-08-14
No for modern projects. The description explicitly recommends uninstalling this package if using MarkupSafe 2.0 or later, since MarkupSafe now includes its own type annotations. Install only if locked into older MarkupSafe versions lacking built-in types.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- Package maintenance is active, though the latest release dates to 2021-11-27.
License · maintenance · safety
Apache-2.0 license (permissive) — Licensed under Apache-2.0 (permissive), allowing broad use, modification, and distribution with minimal restrictions.
last release 2021-11-27 (1721 days) · last repo commit 2026-08-14 · 5,108 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,550,057 downloads/mo, #3,005 on PyPI
Alternatives
Verify before relying
pip install types-MarkupSafe
# Then use with mypy or other type checkers
# mypy your_code.py- Whether this package remains necessary for MarkupSafe 2.0 or later, given MarkupSafe's own type annotations
- Current compatibility with modern versions of MarkupSafe and type-checking tools
What it is and what it does
This is a PEP 561 type stub package that provides type information for MarkupSafe, allowing static type checkers like mypy, PyCharm, and pytype to validate code using MarkupSafe. The stubs are maintained as part of the typeshed project.
The description notes that MarkupSafe has included type annotations since version 2.0, and recommends uninstalling this package if using that version or newer. It remains relevant primarily for projects using older MarkupSafe versions that lack built-in type information.
Use it for
- Type-checking code using older MarkupSafe versions with mypy or similar tools
- Providing IDE type hints for MarkupSafe usage in projects constrained to pre-2.0 versions
- Supporting static analysis in legacy projects that depend on older MarkupSafe releases
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No for modern projects.
The description explicitly recommends uninstalling this package if using MarkupSafe 2.0 or later, since MarkupSafe now includes its own type annotations. Install only if locked into older MarkupSafe versions lacking built-in types.
Install
types-markupsafe on PyPI
Before you install
Low install friction with no runtime dependencies. Package maintenance is active, though the latest release dates to 2021-11-27.
License in practice
Licensed under Apache-2.0 (permissive), allowing broad use, modification, and distribution with minimal restrictions.
Quickstart
pip install types-MarkupSafe
# Then use with mypy or other type checkers
# mypy your_code.py
Verify before relying
- Whether this package remains necessary for MarkupSafe 2.0 or later, given MarkupSafe's own type annotations
- Current compatibility with modern versions of MarkupSafe and type-checking tools
Package facts
| License | Apache-2.0 license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,721 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,550,057 / month, #3,005 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseTyping :: Typed |
Evidence: types_MarkupSafe-1.1.10-py3-none-any.whl
Tags
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 › “type stubs markupsafe”
- types-MarkupSafeProvides type stubs for MarkupSafe, enabling static type checkers…
- types-WTFormsProvides type stubs for WTForms, enabling type checkers like mypy and…
- MarkupSafeMarkupSafe provides a text object that escapes special characters so…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
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.
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.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
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.
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.
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.
See also types-attrs · types-Jinja2 · types-Werkzeug · types-Flask · types-jwt · types-backports · types-click · types-tornado · types-factory-boy · MarkupSafe