Python HTTP

Open-source Python projects categorized as HTTP

Top 23 Python HTTP Projects

  • requests

    A simple, yet elegant, HTTP library.

    Project mention: Urllib3 raised $26,000 and shipped v2.0 in 2022 | news.ycombinator.com | 2023-01-04

    https://github.com/psf/requests/issues/2424

  • mitmproxy

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

    Project mention: Deleting HTML elements from the router level? | reddit.com/r/selfhosted | 2023-01-21

    I'm pretty sure it was this one I used for my project. https://mitmproxy.org/

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • httpie

    🥧 HTTPie for Terminal — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.

    Project mention: Need a fully local web alternative to Postman | reddit.com/r/selfhosted | 2023-02-02

    I'm not an pro. Look at httpie maybe it is what you are looking for.

  • locust

    Scalable load testing tool written in Python

    Project mention: Simple, open-source, lightweight stress tool | reddit.com/r/devops | 2023-01-23

    If, like me, AGPL isn't your cup of tea, you can look at vegeta or locust which are both MIT.

  • AIOHTTP

    Asynchronous HTTP client/server framework for asyncio and Python

    Project mention: How to Stream Bytes Uploaded so far in Python like XMLHttpRequest: progress event | reddit.com/r/learnpython | 2022-09-08
  • requests-html

    Pythonic HTML Parsing for Humans™

    Project mention: 8 Most Popular Python HTML Web Scraping Packages with Benchmarks | dev.to | 2023-02-01

    requests-html

  • httpbin

    HTTP Request & Response Service, written in Python + Flask.

    Project mention: Web.Contents based on information in columns (each row) iteration | reddit.com/r/PowerQuery | 2023-01-22

    let response = try Web.Contents( "https://httpbin.org", [ RelativePath = "/status/codes/418", ManualStatusHandling = {401, 402, 404} & {405..500} ] ) catch (e) => "Error, but we caught it" meta e in response

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • httpx

    A next generation HTTP client for Python. 🦋

    Project mention: Trying to have two for loops running simultaneously using Ayncio (or other)? | reddit.com/r/learnpython | 2023-01-05

    I also like httpx, and asyncio version of requests. https://www.python-httpx.org/

  • falcon

    The no-magic web data plane API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale.

    Project mention: A Look on Python Web Performance at the end of 2022 | dev.to | 2022-11-14

    Sanic is very very popular with 16.6k stars, 1.5k forks, opencollective sponsors and a very active github. Falcon is more popular than japronto with 8.9k stars, 898 forks, opencollective sponsors and a very active github too. Despite Japronto been keeped as first place by TechEmPower, Falcon is a way better solution in general with performance similar to fastify an very fast node.js framework that hits 575k requests per second in this benchmark.

  • gunicorn

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

    Project mention: 3 cool project ideas for Python programmers | dev.to | 2022-08-29

    For building your API, I recommend using the Flask library. It is very beginner-friendly, and you will be able to build a simple API in a matter of minutes! Keep in mind that, for a more serious project, you should definitely use something like gunicorn to run you API as a production server.

  • 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: REST Clients for the terminal (TUI) | reddit.com/r/commandline | 2022-05-28
  • starlette

    The little ASGI framework that shines. 🌟

    Project mention: How to use FastAPI for microservices in Python | dev.to | 2023-01-29

    The framework's official website mentions a number of pros of FastAPI. In my opinion, the most useful features from a microservice perspective are: the simplicity of code (easy to use and avoid boilerplate), high operational capacity thanks to Starlette and Pydantic and compatibility with industry standards - OpenAPI and JSON Schema.

  • hug

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

  • Werkzeug

    The comprehensive WSGI web application library.

    Project mention: Flask like web framework under 100 lines of code | reddit.com/r/Python | 2022-07-03

    The angle brackets on their own should be a sign that this is not the case, because that's not regular expression syntax. Flask uses werkzeug.routing instead. In fact, the module docs specifically call out the difference:

  • uvicorn

    An ASGI web server, for Python. 🦄

    Project mention: Deploy a dockerized FastAPI application to AWS | dev.to | 2023-02-03

    So now we test if the application is working by running the application with uvicorn. Command has this format: uvicorn .:

  • vibora

    Fast, asynchronous and elegant Python web framework.

    Project mention: A Look on Python Web Performance at the end of 2022 | dev.to | 2022-11-14

    After year of japronto dominance as the firsy place of TechEmPower PlaintText for Python, a new library called vibora appears... and it's another project without any updates since 2019. Ok let's filter vibora and japronto and go for the next one that is active, a new library called socketify.py and also another new library called robyn arrives on the millions req/s in the live results.

  • httpstat

    curl statistics made simple (by reorx)

    Project mention: Show HN: A Swiss army knife for testing HTTP from the terminal | news.ycombinator.com | 2022-05-10

    thank you! we just grab the timings info for the request from the underlying HTTP library, and sprinkle some ASCII art on top. That part was inspired by httpstat [1]

    We want to extend those with support for Server-Timing next, and also Core Web Vitals [3] (via Playwright) for web pages.

    1. https://github.com/reorx/httpstat

  • Twisted

    Event-driven networking engine written in Python.

    Project mention: Using a src directory for a Python package | reddit.com/r/learnpython | 2022-08-16
  • Kinto

    A generic JSON document store with sharing and synchronisation capabilities.

  • grequests

    Requests + Gevent = <3

    Project mention: Is MQ needed for sending many texts? | reddit.com/r/djangolearning | 2023-01-16

    I was thinking just an async request like this https://github.com/spyoungtech/grequests along with Twilio's built in monitoring on success/not success could do?

  • urllib3

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

    Project mention: Requests Library in Python | dev.to | 2022-07-18

    Requests allows you to send HTTP/1.1 requests extremely easily. There’s no need to manually add query strings to your URLs, or to form-encode your POST data. Keep-alive and HTTP connection pooling are 100% automatic, thanks to urllib3.

  • VCR.py

    Automatically mock your HTTP interactions to simplify and speed up testing

  • httpretty

    Intercept HTTP requests at the Python socket level. Fakes the whole socket module (by gabrielfalcao)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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 2023-02-03.

Python HTTP related posts

Index

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

Project Stars
1 requests 48,973
2 mitmproxy 29,965
3 httpie 26,200
4 locust 20,611
5 AIOHTTP 13,203
6 requests-html 12,923
7 httpbin 11,422
8 httpx 9,950
9 falcon 9,005
10 gunicorn 8,755
11 HTTP Prompt 8,660
12 starlette 7,820
13 hug 6,696
14 Werkzeug 6,260
15 uvicorn 6,100
16 vibora 5,708
17 httpstat 5,317
18 Twisted 4,921
19 Kinto 4,237
20 grequests 4,182
21 urllib3 3,267
22 VCR.py 2,362
23 httpretty 2,007
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com