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.9.tar.gz
(13.7 kB
view hashes)
Built Distribution
Close
Hashes for resotoclient-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0bb2ae97f4e3f01a2147e09f3ec7d40c22bef994ef7c8152bde7d694e546054 |
|
MD5 | 1e542d58ea0ed37428df92385e8bb0f4 |
|
BLAKE2b-256 | c2439307a7a6c8f536ca0a742443c026142e8a9ccd2a2b2c6a255f1cd63c54c9 |