Skip to content
Chromium HSTS Preload list as a Python package and updated daily.
Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis Update repository links (#3) Dec 10, 2019
hstspreload
.gitignore Initial commit Jul 25, 2019
.isort.cfg HTTPX no longer supports sync Dec 6, 2019
.travis.yml Tag automated commits as well Aug 27, 2019
LICENSE Initial commit Jul 25, 2019
MANIFEST.in Initial commit Jul 25, 2019
README.md Add information about where to find changes Aug 28, 2019
build.py HTTPX no longer supports sync Dec 6, 2019
noxfile.py HTTPX no longer supports sync Dec 6, 2019
setup.py
test_hstspreload.py

README.md

hstspreload

Chromium HSTS Preload list as a Python package and updated daily.

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 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

You can’t perform that action at this time.