Skip to main content

Cloudhealth REST Client

This is a Python REST Client for the Cloudhealth service.

Installation

pip install cloudhealth-client

# Clone repo
git clone https://github.com/albertonarro/cloudhealth-client.git

Python Usage

>>> from cloudhealth import client
>>> ch = client.CloudHealth(api_key='Ali23melAS$E#@$Im3lsim1!')

# List all queryable assets
>>> ch.assets.list()
['AwsInstanceType', 'AwsAvailabilityZone', 'AwsAccount', ... ]

# List Reports of Specific Type
>>> ch.reports.list_by_type('cost')
{
  'links': {
    'cost/billing_rules': {'href': 'https://chapi.cloudhealthtech.com/olap_reports/cost/billing_rules'}, 
    'cost/current': {'href': 'https://chapi.cloudhealthtech.com/olap_reports/cost/current'}, 
    ...
    ...
  }
}

Testing

[!WIP]

Contributions..

[!WIP]

Release files for cloudhealth-client 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cloudhealth-client 0.5.0
File Size Uploaded
cloudhealth-client-0.5.0.tar.gz 11.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cloudhealth-client 0.5.0
File Interpreter ABI Platform
cloudhealth_client-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.2 kB

Release files / cloudhealth-client-0.5.0.tar.gz

Download URL cloudhealth-client-0.5.0.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d4aefe10bfb7a4e495c63d521250fdbccd5ac0e75a37b1034881224c50857cfd
BLAKE2b-256 checksum
How to use checksums
a3480ff82666d19f019f248def7470b839c1599026e861f09a7da9badaa89dc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / cloudhealth_client-0.5.0-py3-none-any.whl

Download URL cloudhealth_client-0.5.0-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25c3e733d7bbe37df87b28d3db9ac5e2c7c5758386abb437e154f4800aa887de
BLAKE2b-256 checksum
How to use checksums
5b90e3048fabeb6137ca9891e246d0555767739e7e7c47d7089cbf05f7268d81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page