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 buildpoetry 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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file resotoclient-0.1.10.tar.gz.
File metadata
- Download URL: resotoclient-0.1.10.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.10 Darwin/21.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
722986bab4a49d293a37c38f6b61c97c3ed2e33d1393fa386bd21f8f7fcd9c57
|
|
| MD5 |
c77cd7806ed9cff5afd84a9dbe04cdd3
|
|
| BLAKE2b-256 |
cecd23558400c57b4a82b135dcdf24a690f5215bc1823d8e3d5f876b81a0dc25
|
File details
Details for the file resotoclient-0.1.10-py3-none-any.whl.
File metadata
- Download URL: resotoclient-0.1.10-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.10 Darwin/21.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b2c613c889d1eee0bba20e2e8319252631957d89f96b0799819196d9f66d880
|
|
| MD5 |
f17a3ef1af758de295dbe74390863ffa
|
|
| BLAKE2b-256 |
d124d8f8680424f27724863ed3d4e5966272ba2ce4cdf2e1126da63147de4be5
|