Thanks to visit codestin.com
Credit goes to www.libhunt.com

Python REST-API

Open-source Python projects categorized as REST-API

Top 23 Python REST-API Projects

  1. httpie

    πŸ₯§ HTTPie CLI β€” modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. (by httpie)

    Project mention: The Ultimate Guide to Offline API Testing: 10 Tools That Work Without Internet | dev.to | 2025-10-22

    For developers who prefer command-line interfaces, HTTPie offers an elegant alternative to curl with superior offline capabilities. The --offline flag enables request construction and validation without network transmission.

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. posting

    The modern API client that lives in your terminal.

    Project mention: Open source alternative to Postman / Insomnia | news.ycombinator.com | 2025-01-31

    I haven't tried it but there is Posting in a TUI: https://github.com/darrenburns/posting

  4. frappe

    Low code web framework for real world applications, in Python and Javascript

    Project mention: Kan.bn – An open-source alterative to Trello | news.ycombinator.com | 2025-06-02
  5. 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

  6. django-ninja

    πŸ’¨ Fast, Async-ready, Openapi, type hints based framework for building APIs

    Project mention: Django 5.2 Released | news.ycombinator.com | 2025-04-02

    If you're looking for a mixture of the two, there's Django Ninja: https://django-ninja.dev

  7. Flask-AppBuilder

    Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more. Demo (login with guest/welcome) - http://flaskappbuilder.pythonanywhere.com/

  8. flasgger

    Easy OpenAPI specs and Swagger UI for your Flask API

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. LitServe

    Build custom inference engines for models, agents, multi-modal systems, RAG, pipelines and more.

    Project mention: LitServe: Build custom AI inference engines | news.ycombinator.com | 2025-10-31
  11. drf-yasg

    Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.

    Project mention: Top 20 Python API Frameworks with OpenAPI Support | dev.to | 2024-12-19

    Third-Party Packages: OpenAPI support via packages like drf-yasg (OpenAPI 2.x / Swagger) and drf-spectacular (OpenAPI 3.x).

  12. drf-spectacular

    Sane and flexible OpenAPI 3 schema generation for Django REST framework.

    Project mention: Automated Documentation for APIs | dev.to | 2025-04-07

    Solutions to this problem generate API documentation automatically. Libraries such as drf-spectacular use code structure and semantics in back-end frameworks to infer API contracts. API frameworks such as FastAPI and Huma generate OpenAPI specifications as a built-in feature. Tools like mitmproxy2swagger generate documentation from HAR files. Finally, companies such as Akita Software/Postman use network traffic metadata.

  13. djoser

    REST implementation of Django authentication system.

    Project mention: This Week In Python | dev.to | 2025-03-21

    djoser – REST implementation of Django authentication system

  14. best-of-web-python

    πŸ† A ranked list of awesome python libraries for web development. Updated weekly.

  15. sandman2

    Automatically generate a RESTful API service for your legacy database. No code required!

    Project mention: Automatically Generate REST and GraphQL APIs From Your Database | dev.to | 2024-12-19

    Some solutions are flexible to handle multiple types of databases. Often allowing you to combine them into a single API. We already mentioned Dreamfactory, but others include Apinizer, Directus, and sandman2.

  16. alpaca-trade-api-python

    Python client for Alpaca's trade API

  17. dj-rest-auth

    Authentication for Django Rest Framework

  18. openapi-python-client

    Generate modern Python clients from OpenAPI

    Project mention: openapi-python-client VS lapidary-render - a user suggested alternative | libhunt.com/r/openapi-python-client | 2025-03-16
  19. cookiecutter-django-rest

    Build best practiced apis fast with Python3

  20. coronavirus-tracker-api

    🦠 A simple and fast (< 200ms) API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak. It's written in python using the πŸ”₯ FastAPI framework. Supports multiple sources!

  21. apispec

    A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..

  22. langcorn

    ⛓️ Serving LangChain LLM apps and agents automagically with FastApi. LLMops

  23. youtube-dl-server

    Web / REST interface for downloading youtube videos onto a server.

  24. httpdbg

    A tool for Python developers to easily debug the HTTP(S) client and server requests in a Python program.

    Project mention: Show HN: Pytest-httpdbg – a simple way to include HTTP traces in Allure reports | news.ycombinator.com | 2025-11-11

    Hi HN,

    I recently updated my pytest plugin based on httpdbg to include the HTTP traces directly in the Allure reports. As with httpdbg, the idea is to have nothing more to do than to add an argument to your command line: --httpdbg-allure.

    For example:

    pytest examples/pytest_demo.py --alluredir=./allure-results --httpdbg-allure

    For each test, all HTTP requests will be recorded and saved in the Allure report under a step named httpdbg.

    You can check the README in the repository to see how it looks: https://github.com/cle-b/pytest-httpdbg?tab=readme-ov-file#c... (the compact mode is quite simple, but the full mode is identical to the httpdbg UI).

    I hope this will be helpful for some of you :) Any feedback is welcome.

    If you enjoy using httpdbg, don’t hesitate to check out the Git repository to discover new features β€” and give it a star to help make it more visible.

    httpdbg: https://github.com/cle-b/httpdbg -- https://pypi.org/project/httpdbg/

  25. SaaSHub

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

    SaaSHub logo
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).

Python REST-API discussion

Log in or Post with

Python REST-API related posts

  • Django 5.2 Released

    1 project | news.ycombinator.com | 2 Apr 2025
  • openapi-python-client VS lapidary-render - a user suggested alternative

    2 projects | 16 Mar 2025
  • Uplink VS lapidary - a user suggested alternative

    2 projects | 16 Mar 2025
  • The filesystem - a quick & dirty way to store temp data in your API

    1 project | dev.to | 14 Mar 2025
  • Guide to Postman and its alternatives: Hoppscotch, Insomnia and HTTPie

    3 projects | dev.to | 19 Feb 2025
  • Django Ninja

    1 project | news.ycombinator.com | 1 Feb 2025
  • AIM Weekly from 30 September 2024

    8 projects | dev.to | 30 Sep 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 16 Nov 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more β†’

Index

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

# Project Stars
1 httpie 37,000
2 posting 10,680
3 frappe 9,320
4 HTTP Prompt 9,056
5 django-ninja 8,696
6 Flask-AppBuilder 4,918
7 flasgger 3,716
8 LitServe 3,692
9 drf-yasg 3,539
10 drf-spectacular 2,739
11 djoser 2,675
12 best-of-web-python 2,638
13 sandman2 2,039
14 alpaca-trade-api-python 1,842
15 dj-rest-auth 1,830
16 openapi-python-client 1,749
17 cookiecutter-django-rest 1,602
18 coronavirus-tracker-api 1,574
19 apispec 1,213
20 Uplink 1,111
21 langcorn 933
22 youtube-dl-server 923
23 httpdbg 885

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that Python is
the 2nd most popular programming language
based on number of references?