Open-source Python projects categorized as REST-API

Top 23 Python REST-API Projects

  • 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: Quarkus : Greener, Better, Faster, Stronger | | 2023-12-22

    If I now starts the application and trigger the endpoint with httpie :

  • HTTP Prompt

    An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • frappe

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

  • django-ninja

    💨 Fast, Async-ready, Openapi, type hints based framework for building APIs

    Project mention: UtilMeta Python Framework VS django-ninja - a user suggested alternative | | 2024-02-03

    Django Ninja is a RESTful wrapper for Django, while UtilMeta Python Framework uses a more concise declarative ORM Schema for Django and other future-supporting ORMs like sqlachemy and Peewee to build RESTful APIs more efficiently, and supports not only Django but all Python mainstream frameworks like Django, Flask, Starlette, FastAPI, Sanic, Tornado, etc.

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

    Project mention: Pretty simple question, could be rewarding if enough people answer. | /r/flask | 2023-06-06

    This one might be interesting as well:

  • flasgger

    Easy OpenAPI specs and Swagger UI for your Flask API

  • drf-yasg

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

    Project mention: Swagger for Django api | /r/django | 2023-04-23

    I believe drf-yasg what you need. You can create a schema manually and define request and response types for your small API.

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • djoser

    REST implementation of Django authentication system.

    Project mention: djoser is dead? | /r/django | 2023-03-12

    That's what I'd usually say too, but this issue does give some "neglected project" vibes - the version on pypi is still quite a bit older than what's in the repo.

  • best-of-web-python

    🏆 A ranked list of awesome python libraries for web development. Updated weekly.

  • mathesar

    Web application providing an intuitive user experience to databases.

    Project mention: A modern, open-source spreadsheet that goes beyond the grid | | 2023-10-30

    This is what we're trying to do with [Mathesar]( We probably don't meet your needs yet because we don't support real-time concurrent editing, but we're actively working on the project and it is early days.

  • drf-spectacular

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

    Project mention: Why I chose django-ninja instead of django-rest-framework to build my project | /r/django | 2023-06-17

    Hi, while that is the case, same can be done with drf using drf-spectacular

  • sandman2

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

  • alpaca-trade-api-python

    Python client for Alpaca's trade API

    Project mention: Simple Martingale Bot (willing to pay) | /r/algotrading | 2023-03-05
  • 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!

  • dj-rest-auth

    Authentication for Django Rest Framework

    Project mention: Can someone help me understand CSRF security? (context inside) | /r/django | 2023-09-25

    I am using dj-rest-auth for authentication. I am using JWT token authentication. All advice on JWT tokens is to not store them in local storage. Instead, using this package I store them in HttpOnly cookie. Now, I am apparently vulnerable to CSRF attack. So I enable JWT_AUTH_COOKIE_USE_CSRF. This checks the CSRF token on authenticated requests. However, there is still the potential vulnerability known as "login CSRF" as detailed by this issue on Github. In order to account for this, there is another setting called JWT_AUTH_COOKIE_ENFORCE_CSRF_ON_UNAUTHENTICATED. This enforces CSRF on unauthenticated views (such as login).

  • cookiecutter-django-rest

    Build best practiced apis fast with Python3

  • apispec

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

  • openapi-python-client

    Generate modern Python clients from OpenAPI

    Project mention: GraphQL is for Backend Engineers | | 2024-02-05

    On the backend, developers either need to manually document the entire API or rely on auto-generation tools that don’t fully meet their needs. Consumers face the same choice, write code by hand or workaround the bugs in their SDK generator (stated, lovingly, as the maintainer of an OpenAPI client generator). On top of this, these solutions result in inconsistent understandings of the API. Reproducing errors becomes time-consuming and frustrating, which feels like a battle instead of a collaboration. What we need is a shared language to describe how the API works—one that doesn’t add unnecessary layers of abstraction or manual work.

  • youtube-dl-server

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

    Project mention: Does this exist? YouTube downloaded web UI | /r/selfhosted | 2023-05-03
  • flask-smorest

    DB agnostic framework to build auto-documented REST APIs with Flask and marshmallow

  • modern-apis-with-fastapi

    Course demos and handouts for our Modern APIs with FastAPI course.

  • steamapi

    An unofficial object-oriented Python library for accessing the Steam Web API.

  • Onboard AI

    ChatGPT with full context of any GitHub repo. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

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 2024-02-05.

Python REST-API related posts


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

Project Stars
1 httpie 31,196
2 HTTP Prompt 8,853
3 frappe 6,244
4 django-ninja 5,894
5 Flask-AppBuilder 4,453
6 flasgger 3,452
7 drf-yasg 3,281
8 djoser 2,432
9 best-of-web-python 2,127
10 mathesar 2,069
11 drf-spectacular 2,012
12 sandman2 1,977
13 alpaca-trade-api-python 1,669
14 coronavirus-tracker-api 1,599
15 dj-rest-auth 1,526
16 cookiecutter-django-rest 1,466
17 apispec 1,117
18 Uplink 1,046
19 openapi-python-client 983
20 youtube-dl-server 828
21 flask-smorest 614
22 modern-apis-with-fastapi 611
23 steamapi 444
ChatGPT with full context of any GitHub repo.
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at