Skip to main content

Chromium HSTS Preload list as a Python package

Project description

hstspreload

Version Downloads CI

Chromium HSTS Preload list as a Python package.

Install via python -m pip install hstspreload

See https://hstspreload.org for more information regarding the list itself.

API

The package provides a single function: in_hsts_preload() which takes an IDNA-encoded host and returns either True or False regarding whether that host should be only accessed via HTTPS.

Changelog

This package is built entirely by an automated script running once a month. If you need a release sooner of the package please reach out and I'll trigger a release manually.

This script gathers the HSTS Preload list by monitoring this file in the Chromium repository. Changes to the HSTS Preload list can be seen in the history of that file.

License

BSD-3

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

hstspreload-2024.11.1.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

hstspreload-2024.11.1-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file hstspreload-2024.11.1.tar.gz.

File metadata

  • Download URL: hstspreload-2024.11.1.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.7

File hashes

Hashes for hstspreload-2024.11.1.tar.gz
Algorithm Hash digest
SHA256 1dc00fd6517284ec32ca0e0955bd5de9d1b1475c2ad196cb9e2933dc05a51d6e
MD5 8c623bc596945241b30968b1bbd60c45
BLAKE2b-256 08403c8c20fe46dc54616404043bff1a2879b0b27f7495009b0bd1e488d6556e

See more details on using hashes here.

File details

Details for the file hstspreload-2024.11.1-py3-none-any.whl.

File metadata

File hashes

Hashes for hstspreload-2024.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0b18112e122e1cac8ca59c8972079f7c688912205f8c81f5ba7cb6c66e05dda
MD5 167f4b33e51b3ca59802bf7ebd491f6d
BLAKE2b-256 8d5d3aeaf9b2559ffbd8f9e1a47756d5ecc1c4bf0d8accb381859b62457f3294

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