Python HTTP

Open-source Python projects categorized as HTTP | Edit details

Top 23 Python HTTP Projects

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

    Project mention: Simple Client Only REST API tester? | | 2021-07-29

    Httpie is a curl like cli but has features to make it easier to send json payloads or use jwt auth, maybe it’s useful for you :

  • GitHub repo requests

    A simple, yet elegant HTTP library.

    Project mention: 3 Ways to Unit Test REST APIs in Python | | 2021-07-22

    To retrieve the weather data, we'll use requests. We can create a function that receives a city name as parameter and returns a json. The json will contain the temperature, weather description, sunset, sunrise time and so on.

  • SonarSource

    SonarLint Free and Open Source IDE Extension for Python Devs. Find & Fix Code Quality and Code Security issues in your Python codebase today! Discover More →

  • GitHub repo mitmproxy

    An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.

    Project mention: Packet-Editing Games in Golang | | 2021-07-17

    You can use for this.

  • GitHub repo locust

    Scalable user load testing tool written in Python

    Project mention: Performance Testing tools for Appian? | | 2021-07-17

    I'd recommend checking out (a powerful, yet flexible and light-weight load driving tool written in Python) and the open-source appian-locust library. Docs are available here. You'll end up with readable and easily maintainable tests, something along the lines of:

  • GitHub repo requests-html

    Pythonic HTML Parsing for Humans™

    Project mention: The best Python libraries | | 2021-05-19

    I'm not sure what is left to do, it is essentially a lightweight wrapper that consolidates a bunch of other libraries (like parse, requests, chromium, etc). The whole package is basically one file

  • GitHub repo AIOHTTP

    Asynchronous HTTP client/server framework for asyncio and Python

    Project mention: Comparison of Python HTTP clients | | 2021-06-18
  • GitHub repo falcon

    The no-nonsense REST API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale.

    Project mention: Do you know any Python projects on Github that are examples of best practices and good architecture? | | 2021-05-05

    This may not be exactly what you asked for but I found contributing to open source projects really exposed me to different approaches I never would have considered and may not have fully grasped had I not had to actually dive into the code to solve an issue. Falcon is a great place to start and the guys are super friendly there.

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo HTTP Prompt

    An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more.

    Project mention: HTTP-Prompt, httpie turned into a shell | | 2021-07-10
  • GitHub repo gunicorn

    gunicorn 'Green Unicorn' is a WSGI HTTP Server for UNIX, fast clients and sleepy applications.

    Project mention: How to deploy containerized Python and Django application on Heroku | | 2021-07-31

    gunicorn: This will install the gunicorn

  • GitHub repo httpx

    A next generation HTTP client for Python. 🦋

    Project mention: Why Python devs love Requests | | 2021-07-09

    Of course other HTTP clients are available - and depending on your particular use case may well be more suitable. Since requests has come along, other libraries (such as the asynchronous httpx) have adopted the same simple, elegant API.

  • GitHub repo hug

    Embrace the APIs of the future. Hug aims to make developing APIs as simple as possible, but no simpler.

    Project mention: Python Web Frameworks, but not Flask or FastApi | | 2021-07-30


  • GitHub repo starlette

    The little ASGI framework that shines. 🌟

    Project mention: Quick and dirty mock service with Starlette | | 2021-06-07

    Could I solve the problem with async programming? Async programming is much easier in recent versions of Python. The language now has built-in keywords like async and await that makes programming in that style friendlier. I've assessed a few async web frameworks, and I recalled a feature that I saw in the Starlette documentation: Background Tasks

  • GitHub repo Werkzeug

    The comprehensive WSGI web application library.

    Project mention: PEP 661 -- Sentinel Values | | 2021-06-06

    Werkzeug (library used by Flask) had a repr for its sentinel long before getting type annotations.

  • GitHub repo vibora

    Fast, asynchronous and elegant Python web framework.

  • GitHub repo httpstat

    curl statistics made simple (by reorx)

  • GitHub repo Twisted

    Event-driven networking engine written in Python.

    Project mention: Kleine, dumme Frage - KW 03 | | 2021-01-19

    Und um es hier zu implementieren fehlen mir einfach die Skills in pyhton. Und der IssueTracker ist leider auch deaktiviert.

  • GitHub repo uvicorn

    The lightning-fast ASGI server. 🦄

    Project mention: Does an ASGI(Asynchronous Server Gateway Interface) provide any benefit in Rust? | | 2021-06-26

    It also enables easily changing part of the server's stack. Typically in python you'll use one module to write your server (e.g. fastapi) then another to actually serve it (e.g. uvicorn). If you decide to change either of those out, you can, without effecting the other.

  • GitHub repo Kinto

    A generic JSON document store with sharing and synchronisation capabilities.

  • GitHub repo grequests

    Requests + Gevent = <3

    Project mention: Scraping info from multiple links (from inside each link) that are listed on a webpage? | | 2021-06-20

    I'd use an asynchronous programming package like grequests or Scrapy. Basically, store all the links you want to visit in a list then prepare them, send the requests, and then iterate over the content of the response. If the website needs JavaScript to then you can use requests-html with AsyncHTMLSession to render the JavaScript. ``` import grequests

  • GitHub repo urllib3

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

    Project mention: HTTP Calls in Python Without requests or Other External Dependencies | | 2021-03-07

    urllib3 is the dependency for many other tools, including requests. By itself, urllib3 is quite usable. It may be all you need.

  • GitHub repo

    Automatically mock your HTTP interactions to simplify and speed up testing

    Project mention: 3 Ways to Unit Test REST APIs in Python | | 2021-07-22

    Now it’s finally the time to discuss our last option. I have only found about it quite recently, frankly. I’ve been using mocks for a long time and always had some problem with them. is a library that simplifies a lot the tests that make HTTP requests.

  • GitHub repo httpretty

    HTTP client mocking tool for Python - inspired by Fakeweb for Ruby (by gabrielfalcao)

  • GitHub repo requests-futures

    Asynchronous Python HTTP Requests for Humans using Futures

    Project mention: What are some good online FREE python interpreters that have their own processing power, RAM and Storage? | | 2021-05-02

    I would suggest using a session in requests if you're not already but also to look at asyncio/aiohttp , requests-futures or requests-html which can be used asynchronously and is written by the author of the requests library.

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 2021-07-31.


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

Project Stars
1 httpie 51,499
2 requests 45,724
3 mitmproxy 23,055
4 locust 16,709
5 requests-html 11,985
6 AIOHTTP 11,459
7 falcon 8,497
8 HTTP Prompt 8,222
9 gunicorn 7,738
10 httpx 7,255
11 hug 6,524
12 starlette 5,854
13 Werkzeug 5,781
14 vibora 5,718
15 httpstat 4,843
16 Twisted 4,308
17 uvicorn 4,174
18 Kinto 4,103
19 grequests 3,796
20 urllib3 2,735
21 2,032
22 httpretty 1,897
23 requests-futures 1,801
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives