Skip to main content

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

Release files for hstspreload 2025.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hstspreload 2025.1.1
File Size Uploaded
hstspreload-2025.1.1.tar.gz 1.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for hstspreload 2025.1.1
File Interpreter ABI Platform
hstspreload-2025.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 2.6 MB

Release files / hstspreload-2025.1.1.tar.gz

Download URL hstspreload-2025.1.1.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
346552a807b3a1762376de8ecce097544e7fcd64fb64231b4652da52f86fa6f1
BLAKE2b-256 checksum
How to use checksums
6e8bab15856d5074acc26782994ee35b27a822738d3c8d84995a2ab0a085931a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.8

Release files / hstspreload-2025.1.1-py3-none-any.whl

Download URL hstspreload-2025.1.1-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
02bd5b0885b62f0d5239ca6c6876ffcad8d9c08dc97cee54292598141a16e9dc
BLAKE2b-256 checksum
How to use checksums
76c387beb45b57c9c418d32aa773a9d0adcf3b91422b7ad1fcc46f9d2b691eed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.8

Release history Release notifications | RSS feed

This release

2025.1.1 This release

2 release files

2016.9.5

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page