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.10.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

resotoclient-0.1.10-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

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

Hashes for resotoclient-0.1.10.tar.gz
Algorithm Hash digest
SHA256 722986bab4a49d293a37c38f6b61c97c3ed2e33d1393fa386bd21f8f7fcd9c57
MD5 c77cd7806ed9cff5afd84a9dbe04cdd3
BLAKE2b-256 cecd23558400c57b4a82b135dcdf24a690f5215bc1823d8e3d5f876b81a0dc25

See more details on using hashes here.

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

Hashes for resotoclient-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 4b2c613c889d1eee0bba20e2e8319252631957d89f96b0799819196d9f66d880
MD5 f17a3ef1af758de295dbe74390863ffa
BLAKE2b-256 d124d8f8680424f27724863ed3d4e5966272ba2ce4cdf2e1126da63147de4be5

See more details on using hashes here.

Supported by

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