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-2022.10.1.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

hstspreload-2022.10.1-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hstspreload-2022.10.1.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for hstspreload-2022.10.1.tar.gz
Algorithm Hash digest
SHA256 df241b93f172e743985a2d9b5218b469550c4c907a2905a5cc7c0d854c75d182
MD5 d3b64ed7ac5d11db4d82fd1040259922
BLAKE2b-256 98b605bc2a6690f1b68fc51820987aca0af2063ca0cc6a655319cbb854731b76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hstspreload-2022.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ffe821b418b4df95f141ee80261a28ba55574d98845738a517fd0209262f2c7
MD5 ec05e9ec1585da4ffd36875f538f13e9
BLAKE2b-256 10a333cc6bbc40b953c5eb74dfeb94c080f7e78b3c8e2ccd87ddfb7965098973

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page