Skip to main content

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

Project description

slumber-python

Documentation

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

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.2.tar.gz (224.3 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.2-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.2.tar.gz.

File metadata

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

File hashes

Hashes for slumber_python-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5242455973a16dc15fe3de4a9e532eaa198c6a33849616f49cf54481c92f6a6e
MD5 08b22570c9ec0c94ca0b3bcb44b27862
BLAKE2b-256 9eece56ddea22471e400a3463a38b216e1eec3800613d27e372dbea6784d4324

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for slumber_python-0.0.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 20623b41eb1235f54e09837f4f0e2cacdd6767fae1a9518dc890b4539392a126
MD5 b13fc152b69ffde049dd57505e11c1a1
BLAKE2b-256 ce83cb63e36d111e49ffda88326c2cd10bc55557b3240a94d99401ffd126a6a2

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