Python HTTP Client

Open-source Python projects categorized as HTTP Client | Edit details

Top 15 Python HTTP Client Projects

  • httpie

    As easy as /aitch-tee-tee-pie/ 🥧 Modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. https://twitter.com/httpie

    Project mention: go-doudou series 01: How to develop a monolithic RESTful service with go-doudou | dev.to | 2022-01-24

    When you see Http server is listening on :6060, it means service has been started and we also have a mock server. For example, we can send a request to /user api, to see what will be sent back(I use httpie):

  • requests

    A simple, yet elegant, HTTP library.

    Project mention: How to write a Python module/package? | reddit.com/r/codehunter | 2022-01-05

    (Just want to be specific as possible) I have the virtualenv ready, it's also up in github, the .gitignore file for python is there as well, plus, the requests library for interacting with the REST API. That's it.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • AIOHTTP

    Asynchronous HTTP client/server framework for asyncio and Python

    Project mention: theHarvest will not run, it just gives me this instead. Does anyone know how to fix this? | reddit.com/r/Pentesting | 2021-12-29

    The error calls to a file that has been through multiple recent revisions. The most likely cause is an issue was introduced.

  • HTTP Prompt

    An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more. https://twitter.com/httpie

    Project mention: HTTP Prompt | reddit.com/r/devopskhan | 2021-11-05
  • httpx

    A next generation HTTP client for Python. 🦋

    Project mention: Flask - Noob Question | reddit.com/r/flask | 2022-01-19

    I like the answers that u/NoDadYouShutUp and u/boutiflet gave. I would say at least understanding a little about web API will help you. Knowing/learning how to test them without a UI is helpful as well. OpenAPI (formerly Swagger) helps to test it and helps understand ease of integration with front-ends and other systems. Flask has a couple OpenAPI package options; but, I prefer FastAPI's and Quart's (related to Flask) myself. Though, using requests or httpx make it fairly easy to test your API as well.

  • grequests

    Requests + Gevent = <3

    Project mention: Best way to run parallel async http requests | reddit.com/r/learnpython | 2021-08-23

    I found examples of running parallel async http requests using grequests, but in its GitHub page it recommends using requests-threads or requests-futures instead. Which of them would be the most straightforward tool for optimizing a sequence of GET requests against an API. Case scenario: API endpoint provides paginated responses. With first response, I get the total of itens, which allow me to prepare all the remaining urls. The API allows for 25 simultaneous requests from a single user session (JWT token).

  • urllib3

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

    Project mention: Open source package urllib3 raised $15,000 in 2021 | reddit.com/r/programming | 2021-12-30

    Some context on David Lord's entry, he was our first attempt to pay a community member to contribute a PR and get paid for the contribution. Here's the PR we merged and paid him for: https://github.com/urllib3/urllib3/pull/2257

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • Grab

    Web Scraping Framework

  • nba_api

    An API Client package to access the APIs for NBA.com

    Project mention: Where do fantasy sites get their live stats from? | reddit.com/r/fantasybball | 2021-12-13

    I found this so it appears so https://github.com/swar/nba_api although it seems kinda unreliable

  • 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.

    Project mention: Faster python app | reddit.com/r/Python | 2021-05-01

    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.

  • roast.vim

    An HTTP client for Vim, that can also be used as a REST client.

    Project mention: Show HN: Prestige, a text based HTTP client, for working with HTTP APIs | news.ycombinator.com | 2021-06-06

    Ah! Yes, thanks for sharing. I should've guessed this existed for Emacs as well. I played around with implementing a similar concept like this in Vim, in 2019 (link: https://github.com/sharat87/roast.vim). Unfortunately, while I love Vim as an editor, I couldn't do a lot of features that I wanted. So I moved to the browser and built Prestige :)

  • quiz

    🎱 Capable GraphQL client for Python (by ariebovenberg)

    Project mention: Zeep but for GraphQL | reddit.com/r/Python | 2022-01-18

    Like you, I too created a GraphQL client a while ago. It's interesting to see the different approaches everyone uses!

  • domhttpx

    domhttpx is a google search engine dorker with HTTP toolkit built with python, can make it easier for you to find many URLs/IPs at once with fast time.

    Project mention: About me | #FirstPost | dev.to | 2021-08-28

    domhttpx - google search engine dorker with HTTP toolkit built with python, can make it easier for you to find many URLs/IPs at once with fast time.

  • BCA-Phantom

    A multi-platform HTTP(S) Reverse Shell Server and Client in Python 3

    Project mention: Phantom - A multi-platform HTTP(S) Reverse Shell Server and Client in Python 3 | reddit.com/r/HowToHack | 2021-11-26

    Check it out on GitHub at https://github.com/EONRaider/BCA-Phantom

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-01-24.

Python HTTP Client related posts

Index

What are some of the best open-source HTTP Client projects in Python? This list will help you:

Project Stars
1 httpie 53,411
2 requests 46,711
3 AIOHTTP 12,068
4 HTTP Prompt 8,347
5 httpx 8,208
6 grequests 3,925
7 urllib3 2,881
8 Grab 2,151
9 nba_api 1,100
10 Uplink 869
11 httplib2 433
12 roast.vim 78
13 quiz 66
14 domhttpx 56
15 BCA-Phantom 49
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
www.sonarlint.org