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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sierra_ils_utils-0.0.1a20250126.tar.gz | 6.0 kB | Without provenance | Details for sierra_ils_utils-0.0.1a20250126.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sierra_ils_utils-0.0.1a20250126-py3-none-any.whl | Python 3 | none | any | Details for sierra_ils_utils-0.0.1a20250126-py3-none-any.whl |
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
|
Security for sierra-ils-utils 0.0.1a20250126
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.