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. https://twitter.com/httpie

    Project mention: cURL to add native JSON support | reddit.com/r/programming | 2022-01-20

    https://github.com/httpie/httpie has stuff like that built in, it's a great tool

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

  • GitHub repo mitmproxy

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

    Project mention: QUIC (aka HTTP/3, RFC 900X) is made for tracking! Change my mind! | reddit.com/r/privacy | 2022-01-16
  • GitHub repo locust

    Scalable user load testing tool written in Python

    Project mention: Understand Django: Go Fast With Django | dev.to | 2022-01-19

    The previous load generator tools that I mentioned act as somewhat crude measurements because you're limited to testing a single URL at a time. What should you do if you need to simulate traffic that matches real user usage patterns? Enter Locust. Locust is not a tool that I would reach for casually, but it is super cool and worth knowing about.

  • GitHub repo requests-html

    Pythonic HTML Parsing for Humans™

    Project mention: How to make all https traffic in program go through a specific proxy? | reddit.com/r/learnpython | 2021-12-24
  • GitHub repo 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.

  • GitHub repo httpbin

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

    Project mention: Use dio in Flutter / Dart | dev.to | 2021-12-16

    import 'package:dio/dio.dart'; void main() async { BaseOptions options = BaseOptions( baseUrl: "https://httpbin.org", connectTimeout: 3000, receiveTimeout: 3000, ); Dio dio = Dio(options); try { Response resp = await dio.get( "/get", queryParameters: {"search": "dio"}, ); print("Response:"); print("Status:\n${resp.statusCode}"); print("Header:\n${resp.headers}"); print("Data:\n${resp.data}"); } catch (e) { print("Exception: $e"); } }

  • SonarLint

    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.

  • 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: Pyjion – A Python JIT Compiler | news.ycombinator.com | 2021-11-09

    And here's a project that's mostly Python, and optionally uses Cython https://github.com/falconry/falcon

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

  • GitHub repo gunicorn

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

    Project mention: gunicorn - a WSGI HTTP Server for UNIX, fast clients and sleepy applications. | reddit.com/r/programming | 2022-01-11
  • 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 | dev.to | 2021-07-30

    Hug

  • GitHub repo starlette

    The little ASGI framework that shines. 🌟

    Project mention: I just launched a webapp in Python, a JSON pastebin service called WST! | reddit.com/r/Python | 2022-01-15

    The entire app is written in Python, specifically in the ASGI webapp library Starlette, which is amazing for writing tiny API services like this. I also used SlowAPI as a rate limiter, just so my server doesn't explode.

  • GitHub repo Werkzeug

    The comprehensive WSGI web application library.

    Project mention: I found (and fixed) a vulnerability in Python | news.ycombinator.com | 2021-12-26

    > In this case, he initially presumed that the problem would be with Flask, Bottle, and Tornado still honoring a semi-colon as a separator in a uri

    Flask (or rather Werkzeug what it's based on) removed implicit semicolon support for URL 13 years ago: https://github.com/pallets/werkzeug/commit/0ea28bbc6f5f05eef...

  • GitHub repo vibora

    Fast, asynchronous and elegant Python web framework.

  • GitHub repo httpstat

    curl statistics made simple (by reorx)

  • GitHub repo uvicorn

    The lightning-fast ASGI server. 🦄

    Project mention: How to change FastAPI's swagger favicon? | dev.to | 2022-01-18

    Let's run our uvicorn server: python -m uvicorn main:app --reload, and use a HTTP client to see what we get from it. I'll be using httpie, but feel free to use curl or any other HTTP client of your choice.

  • GitHub repo Twisted

    Event-driven networking engine written in Python.

    Project mention: Kleine, dumme Frage - KW 03 | reddit.com/r/de_EDV | 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 Kinto

    A generic JSON document store with sharing and synchronisation capabilities.

    Project mention: Is the Pyramid framework dead? | reddit.com/r/Python | 2021-12-06

    Mozilla team to https://github.com/Cornices/cornice , https://github.com/Kinto/kinto etc

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

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

  • GitHub repo VCR.py

    Automatically mock your HTTP interactions to simplify and speed up testing

    Project mention: 3 Ways to Unit Test REST APIs in Python | dev.to | 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. VCR.py is a library that simplifies a lot the tests that make HTTP requests.

  • GitHub repo httpretty

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

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

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 httpie 53,411
2 requests 46,711
3 mitmproxy 25,759
4 locust 17,993
5 requests-html 12,322
6 AIOHTTP 12,056
7 httpbin 10,505
8 falcon 8,676
9 HTTP Prompt 8,347
10 httpx 8,187
11 gunicorn 8,080
12 hug 6,581
13 starlette 6,490
14 Werkzeug 5,946
15 vibora 5,734
16 httpstat 4,991
17 uvicorn 4,760
18 Twisted 4,465
19 Kinto 4,157
20 grequests 3,925
21 urllib3 2,879
22 VCR.py 2,165
23 httpretty 1,938
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.
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.
scoutapm.com