Resoto Python client library
Project description
resotoclient-python
Python client for Resoto
Installation
pip install resotoclient
Usage
from resotoclient import ResotoClient
client = ResotoClient(url="https://localhost:8900", psk="changeme")
instances_csv = client.cli_execute("search is(instance) | tail 5 | list --csv")
for instance in instances_csv:
print(instance)
For more examples see the examples directory.
Publish
- bump the version number in pyproject.toml
poetry build
poetry publish
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
resotoclient-0.1.8.tar.gz
(12.8 kB
view hashes)
Built Distribution
Close
Hashes for resotoclient-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24239804cbb23a6fb5630ea571114dfd668e17acdd0967e625bcb333894ca424 |
|
MD5 | 73cebd3e840b704e9817572651a3fb62 |
|
BLAKE2b-256 | 6a1ffa559283a7c6ae6f8b18a4247925c1caf8f0ed874e34d03f247f65223285 |