Skip to main content

A library used to stop your website from being attacked.

Project description

xss-shield

A Python library to prevent your website from being attacked

Installing

Type command:

$ pip install xss-shield

Usage

example:

import xss_shield
unsafe_str = '<script>alert("Bad.");</script>'
safe_str = xss_shield.escape(unsafe_str)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xss_shield-0.1.0.tar.gz (12.9 kB view hashes)

Uploaded Source

Built Distribution

xss_shield-0.1.0-py3-none-any.whl (11.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page