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-cli 0.0.1

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-cli 0.0.1
File Size Uploaded Provenance Actions
cloudhealth-cli-0.0.1.tar.gz 2.9 kB Without provenance Details for cloudhealth-cli-0.0.1.tar.gz

Release files / cloudhealth-cli-0.0.1.tar.gz

Download URL cloudhealth-cli-0.0.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
87f41186ca1dcdc514f41793278803bf4f1aebc3c2ebf606aeb2df6f5d781b1f
BLAKE2b-256 checksum
How to use checksums
60280d9a30d2d47b8ff12f174fa458b4315f676607350a4ae2d9084f4c915280
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

Security for cloudhealth-cli 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

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