Created by: prkumar
What is this Python project?
Uplink turns your HTTP API into a Python class.
from uplink import Consumer, get, headers, Path, Query
class GitHub(Consumer):
"""A Python Client for the GitHub API."""
@get("users/{user}/repos")
def get_repos(self, user: Path, sort_by: Query("sort")):
"""Retrieves the user's public repositories."""
Uplink is a Declarative HTTP Client for Python:
- Builds Reusable Objects for Consuming Web APIs.
- Works with Requests, asyncio, and Twisted.
- Inspired by Retrofit
What's the difference between this Python project and similar ones?
- Quickly Define Structured API Clients
- Bring Your Own HTTP Library
- Easy and Transparent Deserialization/Serialization
- Extendable
- Authentication
--
Anyone who agrees with this pull request could vote for it by adding a