Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Kisters REST Client Library

This library allows connections to Kisters servers. It supports authentication with OpenID Connect.

Installation

Install with pip:

> python -m pip install kisters.water.rest_client

Example Usage

from kisters.water.rest_client import RESTClient
from kisters.water.rest_client.auth import OpenIDConnect

# Instantiate the authentication class with credentials
authentication = OpenIDConnect(
    client_id="jesse-test",
    client_secret="c4b0f70d-d2e6-497f-b11c-d49fe806c29b",
)
# Instantiate the client class with the service url and authentication
client = RESTClient(
    url="https://jesse-test.hydraulic-network.kisters.cloud",
    authentication=authentication
)
# Verify the client is set up correctly
# Note: If you have not created any networks yet, this could be an empty list
client.get("rest/networks")
# ['my-network', 'my-other-network', ...]

Metadata

Release files for kisters.water.rest-client 0.0.8

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

Source distribution (sdist)

Source distribution for kisters.water.rest-client 0.0.8
File Size Uploaded Provenance
kisters.water.rest_client-0.0.8.tar.gz 14.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for kisters.water.rest-client 0.0.8
File Interpreter ABI Platform
kisters.water.rest_client-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 27.9 kB

Release files / kisters.water.rest_client-0.0.8.tar.gz

Download URL kisters.water.rest_client-0.0.8.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f96de6a7799e1f34549116521fc3c5d060104005fedfa709992bde87b1268343
BLAKE2b-256 checksum
How to use checksums
283ed76b050443aa63750473d78bb0f27b2d490aba2a1ab1be8bdfa5b1f87253
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.7

Release files / kisters.water.rest_client-0.0.8-py3-none-any.whl

Download URL kisters.water.rest_client-0.0.8-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b09a4a664f099fcb8ef355e9f46dad56f0e17c063221b4d1aa5d19e4063c5120
BLAKE2b-256 checksum
How to use checksums
ae8870e0f2af3a33fb2250f6c778997258b67ffeab6ede9bdcc7031503dc4301
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.7

Security for kisters.water.rest-client 0.0.8

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.

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