Python REST-API

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: Bruno | news.ycombinator.com | 2024-03-09

    There is also HTTPie which I've mostly been using for its excellent `http` CLI as a modern replacement for curl.

    However I recently learned that it also has web and desktop client apps which are pretty great too!

    https://httpie.io/

  • 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

  • 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: Ask HN: What Underrated Open Source Project Deserves More Recognition? | news.ycombinator.com | 2024-03-07

    Django Ninja [1], it forever changed how I write Django project, in a way so elegant and productive.

    [1]: https://django-ninja.dev/

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

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

    This one might be interesting as well: https://github.com/dpgaspar/Flask-AppBuilder

  • 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 identity platform for B2B SaaS. 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.

  • mathesar

    Web application providing an intuitive user experience to databases.

    Project mention: Show HN: Teable – Open-Source No-Code Database Fusion of Postgres and Airtable | news.ycombinator.com | 2024-03-11

    Congratulations on launching, it's nice to see more open source products in this area (I work on https://mathesar.org/). Feel free to reach out if you'd like to talk and compare notes.

  • best-of-web-python

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

  • 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

  • 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 | dev.to | 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
  • server-client-python

    A Python library for the Tableau Server REST API

    Project mention: Any way to get deprecated Tableau Desktop version install files? | /r/tableau | 2023-07-08
  • modern-apis-with-fastapi

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

  • flask-smorest

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

  • 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 2024-03-11.

Python REST-API related posts

Index

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

Project Stars
1 httpie 31,560
2 HTTP Prompt 8,861
3 frappe 6,392
4 django-ninja 6,066
5 Flask-AppBuilder 4,483
6 flasgger 3,478
7 drf-yasg 3,304
8 djoser 2,450
9 mathesar 2,156
10 best-of-web-python 2,143
11 drf-spectacular 2,081
12 sandman2 1,983
13 alpaca-trade-api-python 1,680
14 coronavirus-tracker-api 1,599
15 dj-rest-auth 1,549
16 cookiecutter-django-rest 1,468
17 apispec 1,128
18 Uplink 1,047
19 openapi-python-client 1,033
20 youtube-dl-server 839
21 server-client-python 627
22 modern-apis-with-fastapi 618
23 flask-smorest 615
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com