Skip to main content

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


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)

Uploaded Source

Built Distribution

resotoclient-0.1.8-py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page