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

Uploaded Source

Built Distribution

hstspreload-2025.1.1-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hstspreload-2025.1.1.tar.gz
Algorithm Hash digest
SHA256 346552a807b3a1762376de8ecce097544e7fcd64fb64231b4652da52f86fa6f1
MD5 7e5103f10d23f11b41450eba8d45394e
BLAKE2b-256 6e8bab15856d5074acc26782994ee35b27a822738d3c8d84995a2ab0a085931a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hstspreload-2025.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 02bd5b0885b62f0d5239ca6c6876ffcad8d9c08dc97cee54292598141a16e9dc
MD5 42851d8e8fc78af60e9e265b970d858a
BLAKE2b-256 76c387beb45b57c9c418d32aa773a9d0adcf3b91422b7ad1fcc46f9d2b691eed

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page