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: What’s new in HTTPie 2.6.0 | dev.to | 2021-10-23

    Silence warnings through using --quiet, -q twice (e.g. -qq) (#1175).

  • GitHub repo requests

    A simple, yet elegant, HTTP library.

    Project mention: ImportError: No module named requests | reddit.com/r/codehunter | 2021-10-20

    Whenever I try to import requests, I get an error saying No module Named requests.

  • Activeloop.ai

    Optimize your datasets for ML. Goodbye, boilerplate code - the fastest dataset optimization and management tool for computer vision.

  • GitHub repo mitmproxy

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

    Project mention: Pearson Education blocking Linux is just awful | reddit.com/r/linux | 2021-10-15

    Yeah you can spoof any part of a request, I recommend mitmproxy for full control.

  • GitHub repo locust

    Scalable user load testing tool written in Python

    Project mention: load testing fastapi | reddit.com/r/FastAPI | 2021-09-20

    I use https://locust.io/ for load testing since it's also Python and it's pretty simple to spin up quick API tests.

  • GitHub repo requests-html

    Pythonic HTML Parsing for Humans™

    Project mention: Requests html: Directly downloading pyppeteer chrome, not by script run | reddit.com/r/learnpython | 2021-08-18

    This issue is asking for the same thing. Seems like they've implemented a simple fix in this Pull Request. But it looks like it never made it to the Master branch. Maybe you can extend the class and make necessary changes if you know what you're doing, otherwise you're out of luck.

  • GitHub repo AIOHTTP

    Asynchronous HTTP client/server framework for asyncio and Python

    Project mention: Help wth Asyncio/aiohttp on Windows | reddit.com/r/learnpython | 2021-10-06

    Try the other comments, if nothing works, you can maybe submit a bug to aiohttp repo. I feel like they may be better prepared to deal with this than us. The example you gave is great BTW

  • GitHub repo httpbin

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

    Project mention: Free Customer Identity Access Management with Azure AD B2C | dev.to | 2021-10-08

    You can use any valid https URL instead, it doesn't matter for purpose of this tutorial because that URL is only here for legal reasons. For instance you could use https://httpbin.org/.

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

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

    Project mention: 2 Questions to Ask Before Choosing a Python Framework | dev.to | 2021-09-07

    To help with the above two cases I would consider using a microframework, and the Python community provides many solutions. In my professional career I’ve had the opportunity to work with three very good alternatives to Django: Flask, Falcon, and Fast API. Flask is designed to be easy to use and extend. It follows the principles of minimalism and gives more control over the app. Choosing it, developers can use multiple types of databases, which is not easy to do in Django. We can also plug in our favorite ORM and use it without any risk of unpredictable app behavior. In contrast to Django, it’s easy to integrate NoSQL databases with Flask.

  • 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, httpie turned into a shell | news.ycombinator.com | 2021-07-10
  • GitHub repo gunicorn

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

    Project mention: Why not multiprocessing | dev.to | 2021-10-14

    I found that some discussion in the gc.freeze() PR. It looks that the untouched data should be able to share among processes. Also, it has been 4 years for Gunicorn to process this support for gc.freeze() for apps that use preloading. I cannot found a good example to demonstrate that this method works well.

  • GitHub repo httpx

    A next generation HTTP client for Python. 🦋

    Project mention: Httpx – fully featured HTTP client for Python3, with sync and async APIs | news.ycombinator.com | 2021-09-14
  • 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: Building a realtime ticket booking solution with Kafka, FastAPI, and Ably | dev.to | 2021-10-12

    FastAPI is built on top of two key libraries: Starlette and Pydantic. Starlette was developed by one of the creators of the Django REST framework in an attempt to simplify and speed up the process of building REST APIs in Python. Starlette is fast and asynchronous by design, giving FastAPI runtime speed, and a simple, extensible foundation.

  • GitHub repo Werkzeug

    The comprehensive WSGI web application library.

    Project mention: PEP 661 -- Sentinel Values | reddit.com/r/Python | 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 uvicorn

    The lightning-fast ASGI server. 🦄

    Project mention: Building a realtime ticket booking solution with Kafka, FastAPI, and Ably | dev.to | 2021-10-12

    FastAPI requires an Asynchronous Server Gateway Interface (ASGI) server to power it. Popular choices include Uvicorn, Gunicorn, and Hypercorn. In production, it's probably worth using Hypercorn,  which comes with HTTP/2 support, increasing performance (this is especially useful for outbound webhooks received from Ably). However, for this demo we are going to use Uvicorn, since it has a friendly debugging setup.

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

  • 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: HTTP Calls in Python Without requests or Other External Dependencies | dev.to | 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 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

    HTTP client mocking tool for Python - inspired by Fakeweb for Ruby (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 2021-10-23.

Index

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

Project Stars
1 httpie 52,441
2 requests 46,222
3 mitmproxy 24,950
4 locust 17,349
5 requests-html 12,166
6 AIOHTTP 11,785
7 httpbin 10,262
8 falcon 8,596
9 HTTP Prompt 8,293
10 gunicorn 7,899
11 httpx 7,808
12 hug 6,561
13 starlette 6,147
14 Werkzeug 5,857
15 vibora 5,721
16 httpstat 4,938
17 uvicorn 4,443
18 Twisted 4,398
19 Kinto 4,133
20 grequests 3,882
21 urllib3 2,793
22 VCR.py 2,107
23 httpretty 1,913
Find remote jobs at our new job board 99remotejobs.com. There are 37 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.