[PR #1124] [CLOSED] Add Uplink to HTTP Section #1006

Closed
opened 2025-11-06 13:07:16 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/1124
Author: @prkumar
Created: 9/14/2018
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 22d076c Add uplink to HTTP section

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

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 👍 to it, and usually, the maintainer will merge it when votes reach 20.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/1124 **Author:** [@prkumar](https://github.com/prkumar) **Created:** 9/14/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`22d076c`](https://github.com/vinta/awesome-python/commit/22d076cd0a5b605ccfcac3b34b5dfea1d781ba0d) Add `uplink` to HTTP section ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description ## What is this Python project? [Uplink](https://github.com/prkumar/uplink) turns your HTTP API into a Python class. ```python 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](http://square.github.io/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 :+1: to it, and usually, the maintainer will merge it when votes reach **20**. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 13:07:16 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#1006