Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sethmlarson/hstspreload
Chromium HSTS Preload list as a Python package and updated daily.
https://github.com/sethmlarson/hstspreload
chromium hsts http http-client https preload tls
Last synced: 8 days ago
JSON representation
Chromium HSTS Preload list as a Python package and updated daily.
- Host: GitHub
- URL: https://github.com/sethmlarson/hstspreload
- Owner: sethmlarson
- License: bsd-3-clause
- Created: 2019-07-25T15:40:37.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-01T00:27:27.000Z (about 1 month ago)
- Last Synced: 2025-01-16T23:02:50.448Z (16 days ago)
- Topics: chromium, hsts, http, http-client, https, preload, tls
- Language: Python
- Homepage: https://hstspreload.org
- Size: 13.1 MB
- Stars: 10
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# hstspreload
[![Version](https://img.shields.io/pypi/v/hstspreload)](https://pypi.org/project/hstspreload)
[![Downloads](https://pepy.tech/badge/hstspreload)](https://pepy.tech/project/hstspreload)
![CI](https://img.shields.io/github/workflow/status/sethmlarson/hstspreload/CI/master)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](https://chromium.googlesource.com/chromium/src/+/main/net/http/transport_security_state_static.json). Changes to the HSTS Preload list can be seen in the history of that file.## License
BSD-3