{"adoption": {"forks": 285, "observed_at": "2026-08-28T04:06:20.753031+00:00", "stars": 2159}, "canonical_url": "https://ross.abutalabs.com/products/httpretty", "card": {"archived": false, "artifact_type": "library", "description": "Intercept HTTP requests at the Python socket level. Fakes the whole socket module", "domain": ["testing", "developer-tools", "apis", "web-development"], "enriched": true, "function": ["mocking", "testing", "http-client"], "health_score": 20, "homepage": "https://httpretty.readthedocs.org", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["gabrielfalcao/HTTPretty"], "name": "gabrielfalcao/HTTPretty", "platform": ["python", "cross-platform"], "pushed_at": "2024-06-09T14:37:11+00:00", "repo": "gabrielfalcao/HTTPretty", "stars": 2159, "tags": ["http-mocking", "socket-level-interception", "tdd", "fake-socket", "record-and-playback"], "topics": ["http", "mock", "fakeweb", "python", "httpretty", "python2", "streaming-response", "decorators", "testing", "testing-tools", "tdd", "mocking"], "urls": [], "use_cases": ["mock http requests in python tests", "fake responses from external apis", "test api integrations without network access", "record and playback http requests", "unit test code that uses requests or urllib", "disable network access during tests"], "what_it_is": "HTTPretty is a Python library that mocks HTTP clients by intercepting requests at the socket level, faking the entire socket module. It lets tests register fake URI responses, stream responses, and record/replay HTTP traffic without real network access.", "when_to_avoid": ["you only use the requests library and prefer a higher-level mock like responses", "you need mocking for modern Python versions beyond 3.9", "you need an actively developed alternative like responses or pytest-httpserver"], "when_to_choose": ["you need socket-level interception that works regardless of the HTTP client library", "you want decorator-based activation in tests", "you need to fake streaming responses or record/replay traffic"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/httpretty", "repo": "gabrielfalcao/HTTPretty", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:20.753031+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:50:19.973323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "974dbb88f60c4f6889c295340efa9371e7be19fb3e820786e0d7e426ada05a47", "fetched_at": "2026-08-28T04:06:20.753031+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gabrielfalcao/HTTPretty"}, {"content_hash": "89a9789b6dcc0b41e273dfd033cd30faec46a43cba0d2774e444e09fa48a727d", "fetched_at": "2026-08-29T10:30:42.355974+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/httpretty/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:20.753031+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:50:19.973323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "974dbb88f60c4f6889c295340efa9371e7be19fb3e820786e0d7e426ada05a47", "fetched_at": "2026-08-28T04:06:20.753031+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gabrielfalcao/HTTPretty"}, {"content_hash": "89a9789b6dcc0b41e273dfd033cd30faec46a43cba0d2774e444e09fa48a727d", "fetched_at": "2026-08-29T10:30:42.355974+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/httpretty/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:50:19.973323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "974dbb88f60c4f6889c295340efa9371e7be19fb3e820786e0d7e426ada05a47", "fetched_at": "2026-08-28T04:06:20.753031+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gabrielfalcao/HTTPretty"}, {"content_hash": "89a9789b6dcc0b41e273dfd033cd30faec46a43cba0d2774e444e09fa48a727d", "fetched_at": "2026-08-29T10:30:42.355974+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/httpretty/json"}], "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:06:20.753031+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:20.753031+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:20.753031+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:50:19.973323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "974dbb88f60c4f6889c295340efa9371e7be19fb3e820786e0d7e426ada05a47", "fetched_at": "2026-08-28T04:06:20.753031+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gabrielfalcao/HTTPretty"}, {"content_hash": "89a9789b6dcc0b41e273dfd033cd30faec46a43cba0d2774e444e09fa48a727d", "fetched_at": "2026-08-29T10:30:42.355974+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/httpretty/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:20.753031+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:20.753031+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:50:19.973323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "974dbb88f60c4f6889c295340efa9371e7be19fb3e820786e0d7e426ada05a47", "fetched_at": "2026-08-28T04:06:20.753031+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gabrielfalcao/HTTPretty"}, {"content_hash": "89a9789b6dcc0b41e273dfd033cd30faec46a43cba0d2774e444e09fa48a727d", "fetched_at": "2026-08-29T10:30:42.355974+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/httpretty/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:20.753031+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:20.753031+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:20.753031+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:50:19.973323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "974dbb88f60c4f6889c295340efa9371e7be19fb3e820786e0d7e426ada05a47", "fetched_at": "2026-08-28T04:06:20.753031+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gabrielfalcao/HTTPretty"}, {"content_hash": "89a9789b6dcc0b41e273dfd033cd30faec46a43cba0d2774e444e09fa48a727d", "fetched_at": "2026-08-29T10:30:42.355974+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/httpretty/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:20.753031+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:20.753031+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:50:19.973323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "974dbb88f60c4f6889c295340efa9371e7be19fb3e820786e0d7e426ada05a47", "fetched_at": "2026-08-28T04:06:20.753031+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gabrielfalcao/HTTPretty"}, {"content_hash": "89a9789b6dcc0b41e273dfd033cd30faec46a43cba0d2774e444e09fa48a727d", "fetched_at": "2026-08-29T10:30:42.355974+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/httpretty/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:50:19.973323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "974dbb88f60c4f6889c295340efa9371e7be19fb3e820786e0d7e426ada05a47", "fetched_at": "2026-08-28T04:06:20.753031+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gabrielfalcao/HTTPretty"}, {"content_hash": "89a9789b6dcc0b41e273dfd033cd30faec46a43cba0d2774e444e09fa48a727d", "fetched_at": "2026-08-29T10:30:42.355974+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/httpretty/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:50:19.973323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "974dbb88f60c4f6889c295340efa9371e7be19fb3e820786e0d7e426ada05a47", "fetched_at": "2026-08-28T04:06:20.753031+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gabrielfalcao/HTTPretty"}, {"content_hash": "89a9789b6dcc0b41e273dfd033cd30faec46a43cba0d2774e444e09fa48a727d", "fetched_at": "2026-08-29T10:30:42.355974+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/httpretty/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:50:19.973323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "974dbb88f60c4f6889c295340efa9371e7be19fb3e820786e0d7e426ada05a47", "fetched_at": "2026-08-28T04:06:20.753031+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gabrielfalcao/HTTPretty"}, {"content_hash": "89a9789b6dcc0b41e273dfd033cd30faec46a43cba0d2774e444e09fa48a727d", "fetched_at": "2026-08-29T10:30:42.355974+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/httpretty/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5696, "days_push": 815, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}