Skip to main content

REST on shelf

Simple and universal async REST API client library.

Install

$ pip install shelf

Usage

import shelf
import asyncio

github = shelf.Client('https://api.github.com/')

async def find_user_name(login: str):
    user = await github.users[login]()
    return user.name

asyncio.run(find_user_name('hanula'))

Features

  • Dot notation URL path traversal.
  • Dot notation access of the response data.

Metadata

Release files for shelf 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shelf 0.2.0
File Size Uploaded Provenance Actions
shelf-0.2.0.tar.gz 1.9 kB Without provenance Details for shelf-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for shelf 0.2.0
File Interpreter ABI Platform Actions
shelf-0.2.0-py3-none-any.whl Python 3 none any Details for shelf-0.2.0-py3-none-any.whl

Total release size: 4.0 kB

Release files / shelf-0.2.0.tar.gz

Download URL shelf-0.2.0.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
948d2f85926ec6c807a7641ee438081e0885ed6942a05bbabe286076b2509dfa
BLAKE2b-256 checksum
How to use checksums
cce4ef65f1c42524472b89ef2c37009b0b30623465cb950310a622b4918ce698
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.9

Release files / shelf-0.2.0-py3-none-any.whl

Download URL shelf-0.2.0-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82d6dae20d1caf6b3a6be6ea6a6fafcbf1d273c9b26876f0d17b7782067f2c6d
BLAKE2b-256 checksum
How to use checksums
ea631a8b36397bc2da3febdf83477dda9a71bdbd756f0b19ab356c51203bb5e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.9

Security for shelf 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page