{"adoption": {"forks": 33, "observed_at": "2026-08-28T04:03:22.580091+00:00", "stars": 1049}, "canonical_url": "https://ross.abutalabs.com/products/typeerror-secure", "card": {"archived": false, "artifact_type": "library", "description": "Modern Python library for HTTP security headers with safe defaults, configurable presets, and first-class ASGI/WSGI middleware (FastAPI, Django, Flask, Shiny, and more).", "domain": ["security", "web-development", "backend"], "enriched": true, "function": ["security", "middleware", "http-server"], "health_score": 94, "homepage": "https://typeerror.com/secure/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["TypeError/secure"], "name": "TypeError/secure", "platform": ["python"], "pushed_at": "2026-07-23T00:33:38+00:00", "repo": "TypeError/secure", "stars": 1049, "tags": ["security-headers", "content-security-policy", "asgi", "wsgi", "fastapi", "django", "flask", "strict-transport-security", "http-headers", "web-server"], "topics": ["fastapi", "flask", "django", "content-security-policy", "http-headers", "python", "security", "security-headers", "strict-transport-security", "web-security", "shiny", "asgi", "wsgi"], "urls": [], "use_cases": ["add security headers to a FastAPI app", "set Content-Security-Policy in Django", "apply HSTS headers across a Flask application", "centralize security header configuration instead of copy-pasting header strings", "add security headers via ASGI or WSGI middleware", "configure Permissions-Policy and Cross-Origin headers in Python web apps"], "what_it_is": "A lightweight, dependency-free Python library for defining and applying HTTP security headers across Python web frameworks via ASGI/WSGI middleware or response hooks. It offers safe default presets, builders for complex headers like Content-Security-Policy, and integrations for FastAPI, Django, Flask, and Shiny.", "when_to_avoid": ["you need a full web application firewall or request-level attack detection", "headers are already managed centrally by your reverse proxy or CDN", "you need security tooling beyond HTTP response headers"], "when_to_choose": ["you want one reusable security-header policy across multiple Python frameworks", "you prefer safe defaults with presets you can customize", "you need CSP or Permissions-Policy builders rather than hand-written header strings"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/typeerror-secure", "repo": "TypeError/secure", "role": "main", "score": 79}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.580091+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:00:27.713521+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33ae88be81d906736243de19de9dcd5ebcbaecc470026f0320e9840cdc40d204", "fetched_at": "2026-08-28T04:03:22.580091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TypeError/secure"}, {"content_hash": "8981d6176506eb222fc443ac5341afe7111017d2819d43c057198cd44f0ddc38", "fetched_at": "2026-08-29T13:02:06.760789+00:00", "kind": "homepage", "missing": false, "url": "https://typeerror.com/secure/"}, {"content_hash": "4458cfa53f5595bf2f71b1635cf6f1e5381cbd58b56d03b95c83606af504e1b3", "fetched_at": "2026-08-29T13:02:06.772728+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/secure/json"}, {"content_hash": "d1d1400eaddd173c8c1bb9d093e2b9e189051218a4e8b34a1ae0e2e113e465af", "fetched_at": "2026-08-29T13:02:06.770251+00:00", "kind": "site_page", "missing": false, "url": "https://typeerror.com/secure/changelog.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.580091+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:00:27.713521+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33ae88be81d906736243de19de9dcd5ebcbaecc470026f0320e9840cdc40d204", "fetched_at": "2026-08-28T04:03:22.580091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TypeError/secure"}, {"content_hash": "8981d6176506eb222fc443ac5341afe7111017d2819d43c057198cd44f0ddc38", "fetched_at": "2026-08-29T13:02:06.760789+00:00", "kind": "homepage", "missing": false, "url": "https://typeerror.com/secure/"}, {"content_hash": "4458cfa53f5595bf2f71b1635cf6f1e5381cbd58b56d03b95c83606af504e1b3", "fetched_at": "2026-08-29T13:02:06.772728+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/secure/json"}, {"content_hash": "d1d1400eaddd173c8c1bb9d093e2b9e189051218a4e8b34a1ae0e2e113e465af", "fetched_at": "2026-08-29T13:02:06.770251+00:00", "kind": "site_page", "missing": false, "url": "https://typeerror.com/secure/changelog.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:00:27.713521+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33ae88be81d906736243de19de9dcd5ebcbaecc470026f0320e9840cdc40d204", "fetched_at": "2026-08-28T04:03:22.580091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TypeError/secure"}, {"content_hash": "8981d6176506eb222fc443ac5341afe7111017d2819d43c057198cd44f0ddc38", "fetched_at": "2026-08-29T13:02:06.760789+00:00", "kind": "homepage", "missing": false, "url": "https://typeerror.com/secure/"}, {"content_hash": "4458cfa53f5595bf2f71b1635cf6f1e5381cbd58b56d03b95c83606af504e1b3", "fetched_at": "2026-08-29T13:02:06.772728+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/secure/json"}, {"content_hash": "d1d1400eaddd173c8c1bb9d093e2b9e189051218a4e8b34a1ae0e2e113e465af", "fetched_at": "2026-08-29T13:02:06.770251+00:00", "kind": "site_page", "missing": false, "url": "https://typeerror.com/secure/changelog.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.580091+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.580091+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.580091+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:00:27.713521+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33ae88be81d906736243de19de9dcd5ebcbaecc470026f0320e9840cdc40d204", "fetched_at": "2026-08-28T04:03:22.580091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TypeError/secure"}, {"content_hash": "8981d6176506eb222fc443ac5341afe7111017d2819d43c057198cd44f0ddc38", "fetched_at": "2026-08-29T13:02:06.760789+00:00", "kind": "homepage", "missing": false, "url": "https://typeerror.com/secure/"}, {"content_hash": "4458cfa53f5595bf2f71b1635cf6f1e5381cbd58b56d03b95c83606af504e1b3", "fetched_at": "2026-08-29T13:02:06.772728+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/secure/json"}, {"content_hash": "d1d1400eaddd173c8c1bb9d093e2b9e189051218a4e8b34a1ae0e2e113e465af", "fetched_at": "2026-08-29T13:02:06.770251+00:00", "kind": "site_page", "missing": false, "url": "https://typeerror.com/secure/changelog.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.580091+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.580091+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:00:27.713521+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33ae88be81d906736243de19de9dcd5ebcbaecc470026f0320e9840cdc40d204", "fetched_at": "2026-08-28T04:03:22.580091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TypeError/secure"}, {"content_hash": "8981d6176506eb222fc443ac5341afe7111017d2819d43c057198cd44f0ddc38", "fetched_at": "2026-08-29T13:02:06.760789+00:00", "kind": "homepage", "missing": false, "url": "https://typeerror.com/secure/"}, {"content_hash": "4458cfa53f5595bf2f71b1635cf6f1e5381cbd58b56d03b95c83606af504e1b3", "fetched_at": "2026-08-29T13:02:06.772728+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/secure/json"}, {"content_hash": "d1d1400eaddd173c8c1bb9d093e2b9e189051218a4e8b34a1ae0e2e113e465af", "fetched_at": "2026-08-29T13:02:06.770251+00:00", "kind": "site_page", "missing": false, "url": "https://typeerror.com/secure/changelog.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.580091+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.580091+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.580091+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:00:27.713521+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33ae88be81d906736243de19de9dcd5ebcbaecc470026f0320e9840cdc40d204", "fetched_at": "2026-08-28T04:03:22.580091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TypeError/secure"}, {"content_hash": "8981d6176506eb222fc443ac5341afe7111017d2819d43c057198cd44f0ddc38", "fetched_at": "2026-08-29T13:02:06.760789+00:00", "kind": "homepage", "missing": false, "url": "https://typeerror.com/secure/"}, {"content_hash": "4458cfa53f5595bf2f71b1635cf6f1e5381cbd58b56d03b95c83606af504e1b3", "fetched_at": "2026-08-29T13:02:06.772728+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/secure/json"}, {"content_hash": "d1d1400eaddd173c8c1bb9d093e2b9e189051218a4e8b34a1ae0e2e113e465af", "fetched_at": "2026-08-29T13:02:06.770251+00:00", "kind": "site_page", "missing": false, "url": "https://typeerror.com/secure/changelog.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.580091+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.580091+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:00:27.713521+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33ae88be81d906736243de19de9dcd5ebcbaecc470026f0320e9840cdc40d204", "fetched_at": "2026-08-28T04:03:22.580091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TypeError/secure"}, {"content_hash": "8981d6176506eb222fc443ac5341afe7111017d2819d43c057198cd44f0ddc38", "fetched_at": "2026-08-29T13:02:06.760789+00:00", "kind": "homepage", "missing": false, "url": "https://typeerror.com/secure/"}, {"content_hash": "4458cfa53f5595bf2f71b1635cf6f1e5381cbd58b56d03b95c83606af504e1b3", "fetched_at": "2026-08-29T13:02:06.772728+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/secure/json"}, {"content_hash": "d1d1400eaddd173c8c1bb9d093e2b9e189051218a4e8b34a1ae0e2e113e465af", "fetched_at": "2026-08-29T13:02:06.770251+00:00", "kind": "site_page", "missing": false, "url": "https://typeerror.com/secure/changelog.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:00:27.713521+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33ae88be81d906736243de19de9dcd5ebcbaecc470026f0320e9840cdc40d204", "fetched_at": "2026-08-28T04:03:22.580091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TypeError/secure"}, {"content_hash": "8981d6176506eb222fc443ac5341afe7111017d2819d43c057198cd44f0ddc38", "fetched_at": "2026-08-29T13:02:06.760789+00:00", "kind": "homepage", "missing": false, "url": "https://typeerror.com/secure/"}, {"content_hash": "4458cfa53f5595bf2f71b1635cf6f1e5381cbd58b56d03b95c83606af504e1b3", "fetched_at": "2026-08-29T13:02:06.772728+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/secure/json"}, {"content_hash": "d1d1400eaddd173c8c1bb9d093e2b9e189051218a4e8b34a1ae0e2e113e465af", "fetched_at": "2026-08-29T13:02:06.770251+00:00", "kind": "site_page", "missing": false, "url": "https://typeerror.com/secure/changelog.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:00:27.713521+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33ae88be81d906736243de19de9dcd5ebcbaecc470026f0320e9840cdc40d204", "fetched_at": "2026-08-28T04:03:22.580091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TypeError/secure"}, {"content_hash": "8981d6176506eb222fc443ac5341afe7111017d2819d43c057198cd44f0ddc38", "fetched_at": "2026-08-29T13:02:06.760789+00:00", "kind": "homepage", "missing": false, "url": "https://typeerror.com/secure/"}, {"content_hash": "4458cfa53f5595bf2f71b1635cf6f1e5381cbd58b56d03b95c83606af504e1b3", "fetched_at": "2026-08-29T13:02:06.772728+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/secure/json"}, {"content_hash": "d1d1400eaddd173c8c1bb9d093e2b9e189051218a4e8b34a1ae0e2e113e465af", "fetched_at": "2026-08-29T13:02:06.770251+00:00", "kind": "site_page", "missing": false, "url": "https://typeerror.com/secure/changelog.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:00:27.713521+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33ae88be81d906736243de19de9dcd5ebcbaecc470026f0320e9840cdc40d204", "fetched_at": "2026-08-28T04:03:22.580091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TypeError/secure"}, {"content_hash": "8981d6176506eb222fc443ac5341afe7111017d2819d43c057198cd44f0ddc38", "fetched_at": "2026-08-29T13:02:06.760789+00:00", "kind": "homepage", "missing": false, "url": "https://typeerror.com/secure/"}, {"content_hash": "4458cfa53f5595bf2f71b1635cf6f1e5381cbd58b56d03b95c83606af504e1b3", "fetched_at": "2026-08-29T13:02:06.772728+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/secure/json"}, {"content_hash": "d1d1400eaddd173c8c1bb9d093e2b9e189051218a4e8b34a1ae0e2e113e465af", "fetched_at": "2026-08-29T13:02:06.770251+00:00", "kind": "site_page", "missing": false, "url": "https://typeerror.com/secure/changelog.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 93, "longevity": 100, "rhythm": 48}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2837, "days_push": 42, "days_rel": 133, "gap_med": 286.0, "n_releases_24m": 3}, "score": 79, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}