{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/4"},{"label":"Security","url":"https://skillfed.io/packages/category/security"}],"enrichment":{"capability":"Provides a single function to check whether a hostname is in the Chromium HSTS Preload list, returning True if the host should only be accessed via HTTPS.","skillfed_tags":["hsts","https-enforcement","security-lookup"],"use_cases":["Validate that a user-supplied domain is on the HSTS Preload list before making security decisions about connection requirements.","Build a security audit tool that flags domains not yet on the preload list but should be.","Enforce HTTPS-only policy in a web client or proxy by checking domains against the preload list.","Test or document which of your organization's domains are registered in the Chromium HSTS Preload list."],"what_it_does":"hstspreload is a Python wrapper around the Chromium HSTS Preload list, a curated registry of domains that should only be accessed over HTTPS. The package exposes a single function, `in_hsts_preload()`, that accepts an IDNA-encoded hostname and returns a boolean indicating whether that domain is on the preload list. This is useful for security-conscious applications that need to enforce HTTPS-only access for known high-value targets.\n\nThe package is maintained through an automated monthly release cycle that monitors the upstream Chromium repository for changes to the HSTS Preload list. It has no runtime dependencies, installs cleanly as a pure Python wheel, and supports Python 3.6 through 3.10. The implementation is straightforward: you install it, import the function, and call it with a hostname to get a boolean result.","worth_installing":"Yes, if you need to check HSTS Preload status in your application. The package is lightweight, dependency-free, actively maintained, and permissively licensed. Install it only if you have a specific use case for preload-list lookups; it is not a general-purpose security library."},"id":"hstspreload","links":{"html":"https://skillfed.io/packages/hstspreload","md":"https://skillfed.io/packages/hstspreload.md","pypi":"https://pypi.org/project/hstspreload/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-01-01","license_spdx":null,"license_treatment":"permissive","name":"hstspreload","python_support":"supports_current","summary":"Chromium HSTS Preload list as a Python package"},"popularity":{"monthly_downloads":581131,"position":5909,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2025.1.1"}
