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.12.1.tar.gz (1.3 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.12.1-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hstspreload-2021.12.1.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for hstspreload-2021.12.1.tar.gz
Algorithm Hash digest
SHA256 d9cd749fbb6ff6ca1a8945c4a48cb6f33d2f6d066cb5f9752a8b64a134ed5260
MD5 d977e3c5f271e8711156d402506ef9b5
BLAKE2b-256 748852c0127c3ecd4f7c249748b80ae1effa4448748b51dd8c22dfc447812249

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hstspreload-2021.12.1-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for hstspreload-2021.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8f03aac620d1947d66e311b706b46cc24a36792b346db7b483f148360843921
MD5 b42958ce905220e844dc9c2d4790e8ba
BLAKE2b-256 0d2ec0dc295f0d4d7977f9516e334015889ce368edfb4cefd9735cb0dee54ffd

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