Skip to main content
Quarantined

This project has been quarantined by PyPI admins. It cannot be installed or modified until a security review is complete.

flask-header-guard

Enterprise-grade security headers for Flask applications.

Features

  • Automatic Security Headers: CSP, HSTS, X-Frame-Options, and more
  • Monitoring Endpoint: Built-in health check at /api/v1/monitor/system
  • Zero Configuration: One-line integration

Installation

pip install flask-header-guard

Usage

from flask import Flask
from flask_header_guard import init_security

app = Flask(__name__)
init_security(app)

@app.route('/')
def home():
    return 'Hello, secure world!'

if __name__ == '__main__':
    app.run()

License

MIT License

Download files

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

Source Distribution

flask_header_guard-1.0.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flask_header_guard-1.0.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file flask_header_guard-1.0.0.tar.gz.

File metadata

  • Download URL: flask_header_guard-1.0.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for flask_header_guard-1.0.0.tar.gz
Algorithm Hash digest
SHA256 53572cb6a8b3d8f1979b936f5d4cc34d5f742ee05f9a95b5d81dfd1860dc3baf
MD5 6415bf34518bd6b64ef86ee5e665777a
BLAKE2b-256 b5c87c3769abf0e7e66c367a0d60a3105961e7210242a233a91b82f62d12a1ab

See more details on using hashes here.

File details

Details for the file flask_header_guard-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for flask_header_guard-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf2750b05104cc7086ead36347dab04a5543f410abee4e2514bdae4cd6964b03
MD5 b9a928d3acab3e683d18b0a70129a550
BLAKE2b-256 72f49fc32bf94dbc4fe03ae0cb3e8f150192db92793e3152794d38d58144fde8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page