# 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/4c/80/41e1ff2e06e00c6c27ddc642c1db461fb7afd0ae2788071b0606124070f6/hstspreload-2024.5.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.5.1",
"project_urls": {
"Homepage": "https://github.com/sethmlarson/hstspreload"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "39fdfaadcac67dbeeb0c85faf64ce6481e88cfa1f60643f246d1326c13934466",
"md5": "12d237dddd855e4e62462689d67c89fb",
"sha256": "937520fa094804c2e66cffab7eb33ae543edb2e05db845bcbb4ac578ce7cddb8"
},
"downloads": -1,
"filename": "hstspreload-2024.5.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "12d237dddd855e4e62462689d67c89fb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 1147375,
"upload_time": "2024-05-01T00:22:57",
"upload_time_iso_8601": "2024-05-01T00:22:57.431970Z",
"url": "https://files.pythonhosted.org/packages/39/fd/faadcac67dbeeb0c85faf64ce6481e88cfa1f60643f246d1326c13934466/hstspreload-2024.5.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4c8041e1ff2e06e00c6c27ddc642c1db461fb7afd0ae2788071b0606124070f6",
"md5": "b43e7f49a89f77789dadda322ca51f9f",
"sha256": "b16c79acc0bd1dc345e4e70c975591ff1ad8ebda3da4356af571b86810c7e0dd"
},
"downloads": -1,
"filename": "hstspreload-2024.5.1.tar.gz",
"has_sig": false,
"md5_digest": "b43e7f49a89f77789dadda322ca51f9f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 1145337,
"upload_time": "2024-05-01T00:23:02",
"upload_time_iso_8601": "2024-05-01T00:23:02.583742Z",
"url": "https://files.pythonhosted.org/packages/4c/80/41e1ff2e06e00c6c27ddc642c1db461fb7afd0ae2788071b0606124070f6/hstspreload-2024.5.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-01 00:23:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sethmlarson",
"github_project": "hstspreload",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "hstspreload"
}