Metadata-Version: 2.3
Name: xss-shield
Version: 0.1.2
Summary: A library used to stop your website from being attacked.
Project-URL: Homepage, https://github.com/GordonZhang2024/xss-shield/
Project-URL: Issues, https://github.com/GordonZhang2024/xss-shield/issues
Author-email: Gordon Zhang <jp20171211@163.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# xss-shield
A Python library to prevent your website from being attacked.

[PyPI](https://pypi.org/project/xss-shield/)

![PyPI - Downloads](https://img.shields.io/pypi/dw/xss-shield)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/xss-shield)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/xss-shield)
![GitHub top language](https://img.shields.io/github/languages/top/GordonZhang2024/xss-shield)

## Installing
Type command:
```bash
$ pip install xss-shield
```

## Usage
example:
```python
import xss_shield

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