Python HTTP Server

Open-source Python projects categorized as HTTP Server

Top 19 Python HTTP Server Projects

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

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

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

  • hug

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

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

  • updog

    Updog is a replacement for Python's SimpleHTTPServer. It allows uploading and downloading via HTTP/S, can set ad hoc SSL certificates and use http basic auth.

    Project mention: What online cyber security tools do you wish existed? | reddit.com/r/netsecstudents | 2023-01-27
  • proxy.py

    ⚡ Fast • 🪶 Lightweight • 0️⃣ Dependency • 🔌 Pluggable • 😈 TLS interception • 🔒 DNS-over-HTTPS • 🔥 Poor Man's VPN • ⏪ Reverse & ⏩ Forward • 👮🏿 "Proxy Server" framework • 🌐 "Web Server" framework • ➵ ➶ ➷ ➠ "PubSub" framework • 👷 "Work" acceptor & executor framework

    Project mention: Show HN: Proxy.py | news.ycombinator.com | 2022-08-11

    [Not my project]

    A very well features proxy server (Forward & Reverse + lots of other features).

    https://github.com/abhinavsingh/proxy.py

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

  • CherryPy

    CherryPy is a pythonic, object-oriented HTTP framework. https://cherrypy.dev

    Project mention: Tautulli won't start with Fedora 37 (Python 3.11) | reddit.com/r/Tautulli | 2022-10-22
  • quart

    An async Python micro framework for building web applications.

    Project mention: Ask HN: What have you created that deserves a second chance on HN? | news.ycombinator.com | 2023-01-26

    I've three things :),

    1. Quart, https://quart.palletsprojects.com, an ASGI (async/await) re-implementation of the Python web MicroFramework Flask. It is now maintained alongside, by the same people, as Flask.

    2. Hypercorn, https://hypercorn.readthedocs.io, an ASGI/WSGI server that supports HTTP/1, HTTP/2, and HTTP/3.

    3. My book "A Blueprint for Production-Ready Web Applications", which uses both of the above and shows a beginner how to build a full stack app (React frontend) running on AWS. See https://pgjones.dev/tozo/ for details, code, and link to the example app.

  • waitress

    Waitress - A WSGI server for Python 3

    Project mention: How to exit cleanly from flask and waitress running as a windows pywin32 service | reddit.com/r/codehunter | 2022-03-27

    I have spent hours reviewing and testing ways of making waitress exit cleanly (like this and this) but the best I can do so far is a kind of suicidal SIGINT which makes Windows complain "the pipe has been ended" when stopping through the Services control panel, but at least it stops :-/ I guess the pythonservice.exe which pywin32 starts, should not terminate, just the waitress treads?

  • BlackSheep

    Fast ASGI web framework for Python

    Project mention: Starlite development updates January ’23 | reddit.com/r/Python | 2023-01-10

    As you can see, in this benchmark Starlite handily beats even blakchseep, a notoriously fast ASGI framework written in Cython

  • hypercorn

    Hypercorn is an ASGI and WSGI Server based on Hyper libraries and inspired by Gunicorn.

    Project mention: Granian – a Rust HTTP server for Python applications | news.ycombinator.com | 2023-01-16

    for those wishing to use http3 with a Python web framework, the ASGI hypercorn[1] currently supports it.

    made a Django example last week with a sample client based on the examples from aioquic[2]: https://github.com/djstein/django-http3-example

    this example also includes the first pass at async Django REST Framework using adrift[3] based on these GitHub issues:

    - https://github.com/encode/django-rest-framework/pull/8617

    - https://github.com/encode/django-rest-framework/issues/8496

    sources

    [1]: https://github.com/pgjones/hypercorn

    [2]: https://github.com/aiortc/aioquic

    [2]: https://github.com/em1208/adrf

  • instant_api

    Instantly create an HTTP API with automatic type conversions, JSON RPC, and a Swagger UI. Just add methods!

  • BCA-Phantom

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

  • ampule

    A tiny HTTP server made for CircuitPython WiFi devices (like the ESP32)

    Project mention: Issue With CircuitPython HTTP Server | reddit.com/r/raspberrypipico | 2022-11-09

    Use ampule, another HTTP server library for CircuitPython that does allow response headers

  • flask-discord-interactions

    A Flask extension to enable declarative definitions for Discord slash commands.

  • stream_video_server

    demonstrates how to create video streaming server with the help of aiohttp and opencv

  • easyhttp

    👩‍💻 Simple Python HTTP server (by luisbrandino)

  • endrpi-server

    Endpoints for Raspberry Pi (Endrpi) is a web API server for the Raspberry Pi that provides basic statuses and GPIO controls through a collection of HTTP endpoints.

  • 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 Server related posts

Index

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

Project Stars
1 AIOHTTP 13,203
2 httpbin 11,422
3 gunicorn 8,755
4 hug 6,696
5 uvicorn 6,100
6 updog 2,406
7 proxy.py 2,282
8 CherryPy 1,644
9 quart 1,589
10 waitress 1,181
11 BlackSheep 1,148
12 hypercorn 449
13 instant_api 118
14 BCA-Phantom 85
15 ampule 48
16 flask-discord-interactions 40
17 stream_video_server 16
18 easyhttp 5
19 endrpi-server 3
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com