MarkupSafe

JSON →
library 3.0.3 ·python
verified Jun 9, 2026 install

MarkupSafe implements a text object (Markup, a str subclass) that escapes characters so it is safe to use in HTML and XML. Characters with special meanings are replaced so they display as literal characters, mitigating injection attacks. It is the escaping backbone for Jinja2 and Flask. Current version is 3.0.3 (released Sep 2025); the project follows a feature-release + fix-branch cadence under the Pallets organization, with the 3.0.x branch as the active supported line.

total hits 24
actors 7 distinct systems
last hit 1d ago YandexBot
ByteDance
4
MetaBot
4
Script
2
YandexBot
1
ChatGPT-User
1
Humans
7

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · 🇩🇪 Germany · VN