.. secure.py documentation master file, created by sphinx-quickstart on Wed Dec 19 05:31:56 2018. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. secure.py ========== |version| |Python 3| |license| |black| secure.py 🔒 is a lightweight package that adds optional security headers for Python web frameworks. Supported Python web frameworks: -------------------------------- `aiohttp `__, `Bottle `__, `CherryPy `__, `Django `__, `Falcon `__, `FastAPI `__, `Flask `__, `hug `__, `Masonite `__, `Pyramid `__, `Quart `__, `Responder `__, `Sanic `__, `Starlette `__, `Tornado `__ Install ------- **pip**: .. code:: console $ pip install secure **Pipenv**: .. code:: console $ pipenv install secure After installing secure.py: .. code:: python import secure secure_headers = secure.Secure() Documentation ------------- .. toctree:: :maxdepth: 2 :caption: Contents: headers policies frameworks resources .. |version| image:: https://img.shields.io/pypi/v/secure.svg :target: https://pypi.org/project/secure/ .. |Python 3| image:: https://img.shields.io/badge/python-3-blue.svg :target: https://www.python.org/downloads/ .. |license| image:: https://img.shields.io/pypi/l/secure.svg :target: https://pypi.org/project/secure/ .. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/ambv/black Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`search`