Skip to main content

cloudhealth-fluent

Overview

This is a fluent API that allows users to export CloudHealth data to Excel.

#Quickstart

$ pip install cloudhealth-fluent

Here's a quick example that shows all the features of the fluent API.

from cloudhealth import CloudHealth
c = CloudHealth(ApiKey='CLOUDHEALTH API KEY')
data = c.new().with_measures(['cost', 'ec2_cost_compute', 'ec2_cost_transfer']) \
         .with_select_filter(('AWS-Account',
                              ['012345678901'])) \
         .with_report('olap_reports/cost/current/instance') \
         .with_time('daily') \
         .with_dimension('time') \
         .with_dimension('EC2-Instance-Types') \
         .get_report()
    c.build_data(data)
    c.write_excel('report.xlsx')

Metadata

Release files for cloudhealth-fluent 0.0.2

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-fluent 0.0.2
File Size Uploaded
cloudhealth-fluent-0.0.2.tar.gz 2.9 kB Details

Release files / cloudhealth-fluent-0.0.2.tar.gz

Download URL cloudhealth-fluent-0.0.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b679501329111d6f426ed60480e17036a0a5b62f48c0210cce30a4caebc2be2e
BLAKE2b-256 checksum
How to use checksums
a32994d136b60f46223312d4539918619ced5eaf0f9f823f479e97f031bfde68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release history Release notifications | RSS feed

0.0.12

1 release file

0.0.11

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.6

1 release file

0.0.5

1 release file

This release

0.0.2 This release

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