# 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
Raw data
{
"_id": null,
"home_page": "https://github.com/sethmlarson/hstspreload",
"name": "hstspreload",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Seth Michael Larson",
"author_email": "sethmichaellarson@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/08/40/3c8c20fe46dc54616404043bff1a2879b0b27f7495009b0bd1e488d6556e/hstspreload-2024.11.1.tar.gz",
"platform": null,
"description": "# hstspreload\n\n\n[![Version](https://img.shields.io/pypi/v/hstspreload)](https://pypi.org/project/hstspreload)\n[![Downloads](https://pepy.tech/badge/hstspreload)](https://pepy.tech/project/hstspreload)\n![CI](https://img.shields.io/github/workflow/status/sethmlarson/hstspreload/CI/master)\n\nChromium HSTS Preload list as a Python package.\n\nInstall via `python -m pip install hstspreload`\n\nSee https://hstspreload.org for more information regarding the list itself.\n\n## API\n\nThe package provides a single function: `in_hsts_preload()` which takes an\nIDNA-encoded host and returns either `True` or `False` regarding whether\nthat host should be only accessed via HTTPS.\n\n## Changelog\n\nThis package is built entirely by an automated script running once a month.\nIf you need a release sooner of the package please reach out and I'll trigger a release manually.\n\nThis script gathers the HSTS Preload list by monitoring\n[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.\n\n## License\n\nBSD-3\n",
"bugtrack_url": null,
"license": "BSD-3",
"summary": "Chromium HSTS Preload list as a Python package",
"version": "2024.11.1",
"project_urls": {
"Homepage": "https://github.com/sethmlarson/hstspreload"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8d5d3aeaf9b2559ffbd8f9e1a47756d5ecc1c4bf0d8accb381859b62457f3294",
"md5": "167f4b33e51b3ca59802bf7ebd491f6d",
"sha256": "e0b18112e122e1cac8ca59c8972079f7c688912205f8c81f5ba7cb6c66e05dda"
},
"downloads": -1,
"filename": "hstspreload-2024.11.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "167f4b33e51b3ca59802bf7ebd491f6d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 1218607,
"upload_time": "2024-11-01T00:27:47",
"upload_time_iso_8601": "2024-11-01T00:27:47.731647Z",
"url": "https://files.pythonhosted.org/packages/8d/5d/3aeaf9b2559ffbd8f9e1a47756d5ecc1c4bf0d8accb381859b62457f3294/hstspreload-2024.11.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "08403c8c20fe46dc54616404043bff1a2879b0b27f7495009b0bd1e488d6556e",
"md5": "8c623bc596945241b30968b1bbd60c45",
"sha256": "1dc00fd6517284ec32ca0e0955bd5de9d1b1475c2ad196cb9e2933dc05a51d6e"
},
"downloads": -1,
"filename": "hstspreload-2024.11.1.tar.gz",
"has_sig": false,
"md5_digest": "8c623bc596945241b30968b1bbd60c45",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 1217024,
"upload_time": "2024-11-01T00:27:50",
"upload_time_iso_8601": "2024-11-01T00:27:50.162288Z",
"url": "https://files.pythonhosted.org/packages/08/40/3c8c20fe46dc54616404043bff1a2879b0b27f7495009b0bd1e488d6556e/hstspreload-2024.11.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-01 00:27:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sethmlarson",
"github_project": "hstspreload",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "hstspreload"
}