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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file xss_shield-0.1.0.tar.gz.

File metadata

  • Download URL: xss_shield-0.1.0.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for xss_shield-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4f678c3878ea3b8b0ce2474cda93290754106d43e2fcd055b4aea0106aa2312a
MD5 9d818344b40243c2892096c2af80196e
BLAKE2b-256 66c416d3e42570a77440b2b0ad88b56a1f5c8dbd5d7b29f30323aa70072c74f7

See more details on using hashes here.

File details

Details for the file xss_shield-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: xss_shield-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for xss_shield-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9bde4fbfdcabb02dda28d429c7c63091ef54a510fbcdb80872fb50242a696611
MD5 77b67f4ca3344bc3c76e65982670b6ef
BLAKE2b-256 5ef497715eac340648f19cb815d42fa398b7d552ae6ba1c547c3ccf6c90c2e78

See more details on using hashes here.

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