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 β
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: The Ultimate Guide to Offline API Testing: 10 Tools That Work Without Internet | dev.to | 2025-10-22For 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.
-
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.
-
I haven't tried it but there is Posting in a TUI: https://github.com/darrenburns/posting
-
-
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
-
If you're looking for a mixture of the two, there's Django Ninja: 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/
-
-
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.
-
LitServe
Build custom inference engines for models, agents, multi-modal systems, RAG, pipelines and more.
-
Third-Party Packages: OpenAPI support via packages like drf-yasg (OpenAPI 2.x / Swagger) and drf-spectacular (OpenAPI 3.x).
-
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.
-
djoser β REST implementation of Django authentication system
-
best-of-web-python
π A ranked list of awesome python libraries for web development. Updated weekly.
-
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.
-
-
-
Project mention: openapi-python-client VS lapidary-render - a user suggested alternative | libhunt.com/r/openapi-python-client | 2025-03-16
-
-
apispec
A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
-
Project mention: Uplink VS lapidary - a user suggested alternative | libhunt.com/r/uplink | 2025-03-16
-
-
-
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-11Hi 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/
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python REST-API discussion
Python REST-API related posts
-
Django 5.2 Released
-
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
-
Guide to Postman and its alternatives: Hoppscotch, Insomnia and HTTPie
-
Django Ninja
-
AIM Weekly from 30 September 2024
-
A note from our sponsor - InfluxDB
www.influxdata.com | 16 Nov 2025
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,831 |
| 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 |