Python API

Open-source Python projects categorized as API

Top 23 Python API Projects

  • GitHub repo httpie

    As easy as /aitch-tee-tee-pie/ 🥧 Modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. https://twitter.com/httpie

    Project mention: Pydantic for FastAPI | dev.to | 2021-05-28

    Test it out using httpie:

  • GitHub repo fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

    Project mention: Learn Flask or Django? | reddit.com/r/learnpython | 2021-06-15
  • GitHub repo django-rest-framework

    Web APIs for Django. 🎸

    Project mention: CRUD in Go: equivalent of Django REST framework | reddit.com/r/golang | 2021-06-16

    I've been using the great Django REST framework to easily create CRUD REST Api, and I really love how quickly I can setup a whole API, with GET/POST/PUT/PATCH and list/details routes created automatically for me, with authorizations handled automatically, foreign keys...

  • GitHub repo falcon

    The no-nonsense REST API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale.

    Project mention: Do you know any Python projects on Github that are examples of best practices and good architecture? | reddit.com/r/learnpython | 2021-05-05

    This may not be exactly what you asked for but I found contributing to open source projects really exposed me to different approaches I never would have considered and may not have fully grasped had I not had to actually dive into the code to solve an issue. Falcon is a great place to start and the guys are super friendly there.

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

    Project mention: Show HN: Ht – HTTPie Clone in Rust | news.ycombinator.com | 2021-02-05

    And use http-prompt, because it's awesome: https://github.com/httpie/http-prompt

  • GitHub repo apistar

    The Web API toolkit. 🛠

  • GitHub repo Kinto

    A generic JSON document store with sharing and synchronisation capabilities.

  • GitHub repo python-binance

    Binance Exchange API python implementation for automated trading

    Project mention: Bot binance futures | reddit.com/r/algotrading | 2021-06-06

    I'm sure there already is open source API that you just put in your api key and call functions to send orders. Took me 2 seconds to find this https://github.com/sammchardy/python-binance.

  • GitHub repo toapi

    Every web site provides APIs.

  • GitHub repo CKAN

    CKAN is an open-source DMS (data management system) for powering data hubs and data portals. CKAN makes it easy to publish, share and use data. It powers catalog.data.gov, open.canada.ca/data, data.humdata.org among many other sites.

    Project mention: We are digitisers at the Natural History Museum in London, on a mission to digitise 80 million specimens and free their data to the world. Ask us anything! | reddit.com/r/datasets | 2021-03-08

    We publish all our data on the [Data Portal](https://data.nhm.ac.uk), a Museum project that's been running since 2014. Instead of MediaWiki it runs on an open-source Python framework called [CKAN](https://ckan.org), which is designed for hosting datasets - though we've had to adapt it in various ways so that it can handle such large amounts of data.

  • GitHub repo flasgger

    Easy OpenAPI specs and Swagger UI for your Flask API

  • GitHub repo PRAW

    PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

    Project mention: Hello world | reddit.com/r/klfjlwehjfawjeofiawje | 2021-06-11
  • GitHub repo Flask RestPlus

    Fully featured framework for fast, easy and documented API development with Flask

    Project mention: Need help with flask-restful, application factories and blueprints | reddit.com/r/flask | 2021-04-03

    Nah, it’s flask-restplus - says so right on the GH page https://github.com/noirbizarre/flask-restplus

  • GitHub repo 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!

    Project mention: The agreed upon best practice for combining Python and Docker is clunky and error-prone. Here is a solution. | reddit.com/r/Python | 2021-04-23

    Here is the most popular FastAPI-based project on github: https://github.com/ExpDev07/coronavirus-tracker-api

  • GitHub repo ara

    ARA Records Ansible and makes it easier to understand and troubleshoot.

    Project mention: Intercepting/Logging Ansible Commands | reddit.com/r/ansible | 2021-05-27

    For a unified logs of Ansible runs, I recommend https://ara.recordsansible.org/

  • GitHub repo best-of-web-python

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

    Project mention: [D] Your favourite tool for data extraction from web? | reddit.com/r/MachineLearning | 2021-03-02

    https://github.com/ml-tooling/best-of-web-python#web-scraping--crawling

  • GitHub repo budgetml

    Deploy a ML inference service on a budget in less than 10 lines of code.

    Project mention: Show HN: Deploy ML Models on a Budget | reddit.com/r/patient_hackernews | 2021-02-01
  • GitHub repo flask-restx

    Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask

    Project mention: Why Choose Flask Over FastAPI | reddit.com/r/flask | 2021-04-18

    FALSE. https://github.com/python-restx/flask-restx among many others are mature and have existed for a long time. https://github.com/plangrid/flask-rebar exists.

  • GitHub repo cookiecutter-django-rest

    Build best practiced apis fast with Python3

    Project mention: So is Django cookiecutter really worth it? | reddit.com/r/django | 2021-06-03
  • GitHub repo TikTok-Api

    The Unofficial TikTok API Wrapper In Python

    Project mention: Need some help understanding a TikTok API on Github | reddit.com/r/learnpython | 2021-04-21

    https://github.com/davidteather/TikTok-Api/blob/14ac7b331bad1780d192e79f9fb7cec3982907aa/TikTokApi/browser.py#L119

  • GitHub repo LibreTranslate

    Free and Open Source Machine Translation API. 100% self-hosted, no limits, no ties to proprietary services. Built on top of Argos Translate.

    Project mention: Python bindings for LibreTranslate API | reddit.com/r/opensource | 2021-06-15
  • GitHub repo alpaca-trade-api-python

    Python client for Alpaca's trade API

    Project mention: What do you suggest to someone that's a really good programmer but a mediocre trader? | reddit.com/r/algotrading | 2021-04-29

    I’m using their python module. (https://github.com/alpacahq/alpaca-trade-api-python) Overall I’d say the API is good enough for my types of strategies. For backtesting I use their get_barset() method.

  • GitHub repo whatsapp-framework

    ⚗️Whatsapp python api

    Project mention: Image Scanning using a scanner device in python | reddit.com/r/learnpython | 2021-01-28

    GitHub - danielcardeenas/whatsapp-framework: ⚗️Whatsapp python api

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 2021-06-16.

Index

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

Project Stars
1 httpie 51,034
2 fastapi 32,017
3 django-rest-framework 21,170
4 falcon 8,432
5 HTTP Prompt 8,191
6 apistar 5,569
7 Kinto 4,093
8 python-binance 3,413
9 toapi 3,125
10 CKAN 3,000
11 flasgger 2,625
12 PRAW 2,520
13 Flask RestPlus 2,500
14 coronavirus-tracker-api 1,530
15 ara 1,266
16 best-of-web-python 1,244
17 budgetml 1,194
18 flask-restx 1,179
19 cookiecutter-django-rest 1,157
20 TikTok-Api 1,140
21 LibreTranslate 1,138
22 alpaca-trade-api-python 996
23 whatsapp-framework 947