{"id":23860,"library":"httplib2shim","title":"httplib2shim","description":"A wrapper over urllib3 that matches httplib2's interface, allowing users to replace httplib2 with urllib3 for better performance and compatibility. Version 0.0.3 is current; no longer actively maintained.","status":"maintenance","version":"0.0.3","language":"python","source_language":"en","source_url":"https://github.com/GoogleCloudPlatform/httplib2shim","tags":["httplib2","urllib3","compatibility"],"install":[{"cmd":"pip install httplib2shim","lang":"bash","label":"Default install"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"httplib2shim","correct":"import httplib2shim"},{"note":"","wrong":"","symbol":"Http","correct":"from httplib2shim import Http"}],"quickstart":{"code":"import httplib2shim\n\n# Replace httplib2's Http with shim\nhttp = httplib2shim.Http()\nresponse, content = http.request('https://www.google.com', 'GET')\nprint(response.status)","lang":"python","description":"Basic usage: instantiate Http and make a request."},"warnings":[{"fix":"Test your specific httplib2 usage; fall back to httplib2 if needed.","message":"The shim does not fully implement all httplib2 features (e.g., caching, proxy authentication).","severity":"gotcha","affected_versions":"all"},{"fix":"Consider migrating to urllib3 directly or using httplib2 with its own patches.","message":"This library is no longer actively maintained. Last release was 2021.","severity":"deprecated","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.0.3':24 'activ':29 'allow':11 'better':19 'compat':22,33 'current':26 'httplib2':8,15,31 'httplib2shim':1 'interfac':10 'longer':28 'maintain':30 'match':7 'perform':20 'replac':14 'urllib3':5,17,32 'user':12 'version':23 'wrapper':3","created_at":"2026-05-01T08:10:01.209073+00:00","updated_at":"2026-05-01T08:10:01.209073+00:00","problems":[{"fix":"Use `from httplib2shim import Http` or `httplib2shim.Http()` directly – but import works.","cause":"Incorrect import: tried to access Http as attribute of module after `import httplib2shim`.","error":"AttributeError: module 'httplib2shim' has no attribute 'Http'"},{"fix":"Only pass positional args (uri, method) and body; avoid httplib2 extras like headers as keyword args.","cause":"The shim's request method does not accept some httplib2-specific parameters.","error":"TypeError: request() got an unexpected keyword argument '**kwargs'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.0.3","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/GoogleCloudPlatform/httplib2shim","docs":null,"changelog":null,"pypi":"https://pypi.org/project/httplib2shim/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-29","install_tag":null}}