Skip to main content

Python bindings for Slumber, the source-based REST/HTTP client

Project description

slumber-python

This is not related to, or a replacement of, the slumber package.

Documentation

Python bindings for Slumber, the source-based REST API client. This library makes it easy to take your existing Slumber collection and use it in Python scripts.

This package does not yet support all the same functionality as the Slumber CLI. If you have a specific feature that you'd like to see in it, please open an issue on GitHub.

This is not a general-purpose REST/HTTP client. If you're not already using Slumber as a TUI/CLI client, then there isn't much value provided by this package.

Installation

pip install slumber-python

Usage

from slumber import Collection

collection = Collection()
response = collection.request('get_current_user')
print(response.text)

For more usage examples, see the docs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slumber_python-0.0.3.tar.gz (223.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slumber_python-0.0.3-cp310-cp310-macosx_11_0_arm64.whl (4.1 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file slumber_python-0.0.3.tar.gz.

File metadata

  • Download URL: slumber_python-0.0.3.tar.gz
  • Upload date:
  • Size: 223.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.9.4

File hashes

Hashes for slumber_python-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9a5db7011d9d6abfe92ca11be2cb887df9acf3f74525eafb80739563ee3ec459
MD5 4c9cae51943c14a700122cd8d6de1f46
BLAKE2b-256 23d901e20f50087708546928532559b2937b30b2aaf214139b30f9a70c1db421

See more details on using hashes here.

File details

Details for the file slumber_python-0.0.3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for slumber_python-0.0.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c29260fecf48d9e086679de7fead1eceb5d718f9c502e5c4806fdeafbbb02048
MD5 b57673953efbf9c52f3e93cef9ff2d46
BLAKE2b-256 75dc35f5fbc2b773bad287879d226128ad2a45d8d9eb7012d799e65f2428a7fc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page