Resoto Python client library
Project description
resotonotebook
Small library for using Resoto with Jupyter Notebooks.
Installation
pip install resotonotebook
Usage
from resotonotebook import ResotoNotebook
rnb = ResotoNotebook("https://localhost:8900", None)
rnb.search("is(instance)").groupby(["kind"])["kind"].count()
kind
aws_ec2_instance 497
digitalocean_droplet 7
example_instance 2
gcp_instance 12
Name: kind, dtype: int64
For more see the notebook in the examples directory.
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
resotonotebook-0.2.2.tar.gz
(9.1 kB
view details)
Built Distribution
File details
Details for the file resotonotebook-0.2.2.tar.gz
.
File metadata
- Download URL: resotonotebook-0.2.2.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.10 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83e57a9ef7fbd1be20c344360ff0634496f9d72f839822dd4865f4ba6cb14781 |
|
MD5 | c2d01f40fba3dd9bc62243b7969b4f15 |
|
BLAKE2b-256 | f6a221d0330ff38f0758e95b2744e10053471e250562cdf5fdae3861cff7534a |
File details
Details for the file resotonotebook-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: resotonotebook-0.2.2-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.10 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 788f815215be79e57ca4efaa0ef35c0fabd5cc8b226c346f2818352d539975fb |
|
MD5 | 5fcc20f04e75a3c2b10a66e0a3a0faba |
|
BLAKE2b-256 | 921b631ddd6d4f32fabb0eed197ed7ba35b77884b3d1c942451866f83995b7a0 |