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

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hstspreload-2021.10.1.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for hstspreload-2021.10.1.tar.gz
Algorithm Hash digest
SHA256 5bb90f438bec40faf320170ee48cf1978f40423ee1ba39a57bb686f3f9c061c7
MD5 28920f2b125b68068e930ad9fcda668e
BLAKE2b-256 91dab40f2c26de2fc866e4297c2861d3e7f4372d18cd9bba0a814ae7a16f9283

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hstspreload-2021.10.1-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for hstspreload-2021.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4115ea63e87b4bea3c01a5a4e5d74993485811e0ed16d9a71dec453e2c731b65
MD5 08dd7592a53a521608bf2502495f81c9
BLAKE2b-256 620bf02c28c4104eb6f9579116a1188ff9ff1ac5c0b06aec34aeef4b5cab259a

See more details on using hashes here.

Supported by

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