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.10.tar.gz
(13.8 kB
view hashes)
Built Distribution
Close
Hashes for resotoclient-0.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b2c613c889d1eee0bba20e2e8319252631957d89f96b0799819196d9f66d880 |
|
MD5 | f17a3ef1af758de295dbe74390863ffa |
|
BLAKE2b-256 | d124d8f8680424f27724863ed3d4e5966272ba2ce4cdf2e1126da63147de4be5 |