httplib2 VS requests

Compare httplib2 vs requests and see what are their differences.

httplib2

Small, fast HTTP client library for Python. Features persistent connections, cache, and Google App Engine support. Originally written by Joe Gregorio, now supported by community. (by httplib2)
Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
httplib2 requests
1 38
433 46,711
1.2% 0.6%
6.5 7.5
10 days ago 4 days ago
Python Python
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

httplib2

Posts with mentions or reviews of httplib2. We have used some of these posts to build our list of alternatives and similar projects.
  • Faster python app
    1 project | reddit.com/r/Python | 1 May 2021
    Thatโ€™s a terrible way to cache a http request. It completely ignores any cache information that the server sends and just blindly stores the result. If you want http caching httplib2 will do it properly.

requests

Posts with mentions or reviews of requests. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-05.

What are some alternatives?

When comparing httplib2 and requests you can also consider the following projects:

urllib3 - Python HTTP library with thread-safe connection pooling, file post support, user friendly, and more.

grequests - Requests + Gevent = <3

treq - Python requests like API built on top of Twisted's HTTP client.

AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python

Uplink - A Declarative HTTP Client for Python

Tapioca-Wrapper - Python API client generator

requests-futures - Asynchronous Python HTTP Requests for Humans using Futures

txrequests - Asynchronous Python HTTP Requests for Humans using twisted

pyppeteer - Headless chrome/chromium automation library (unofficial port of puppeteer)

AnyAPI - AnyAPI is a library that helps you to write any API wrapper with ease and in pythonic way.

jasmin - Jasmin - Open source SMS gateway