Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

sierra-ils-utils

sierra-ils-utils is a Python library / wrapper around HTTPX -- providing largely the same fully featured HTTP client for Python 3).

The library provides convenient synchronous and asynchronous methods for working with the Sierra ILS REST API. The client provided by the library automatically handles the token-based authentication (client-credentials flow) and includes configurable retry and backoff logic.


Installation

# You can install sierra-ils-utils from PyPI:
pip install sierra-ils-utils

Quick Start

from sierra_ils_utils import SierraAPI

client = SierraRESTClient(
    base_url="https://catalog.library.org/iii/sierra-api/v6/",
    client_id="YOUR_CLIENT_ID",
    client_secret="YOUR_CLIENT_SECRET"
)

# Make a synchronous request (returns a httpx.Response)
response = client.request("GET", "info/token")  # <Response [200 200]>
response.raise_for_status()

# Or, make an async request (returns a httpx.Response)
response = await client.async_request("GET", "info/token")  # <Response [200 200]>
response.raise_for_status()

The request() and async_request() client methods will return httpx.Response objects.

License

This project is released under the MIT License.

Authors

Ray Voelker – ray.voelker@gmail.com

Issues and Support

Please open an issue on GitHub if you encounter problems, bugs, or have feature requests. We welcome all contributions and feedback!

Metadata

Release files for sierra-ils-utils 0.0.1a20250126

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

Source distribution (sdist)

Source distribution for sierra-ils-utils 0.0.1a20250126
File Size Uploaded
sierra_ils_utils-0.0.1a20250126.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sierra-ils-utils 0.0.1a20250126
File Interpreter ABI Platform
sierra_ils_utils-0.0.1a20250126-py3-none-any.whl Python 3 none any Details

Total release size: 11.8 kB

Release files / sierra_ils_utils-0.0.1a20250126.tar.gz

Download URL sierra_ils_utils-0.0.1a20250126.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
81e45b2340f4e5d3d84d3ebafd4a36a42bceee07e5394087cfbcb5809b5ee7d0
BLAKE2b-256 checksum
How to use checksums
e4709a189efcd28cf9e16989a6fc11e2ba0630d12051df1f0730545b715dd4c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release files / sierra_ils_utils-0.0.1a20250126-py3-none-any.whl

Download URL sierra_ils_utils-0.0.1a20250126-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1edc72ead9b7b155e02d479419c8ca60cafb2e7068fdedf15878ade71d03f3f7
BLAKE2b-256 checksum
How to use checksums
1424159b991b86436eeb406d09e581c16fc19ec2c7a17e6409f12124cb7e40ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12
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