Blog Logo
  • Home
  • About

pyawschart

by Drew Engelson — 10 Nov 2011

What?

pyawschart is a Python library for generating charts for Amazon Web Services based on Amazon CloudWatch data.

Why?

Amazon's cloud services provide infrastructure metrics data via it's CloudWatch data API. This library aims to render this data more accessible by creating powerful (and pretty) data visualizations.

Download

Get the source code from GitHub.

Usage

import boto
from pyawschart import RANGES
from pyawschart.rds import CPUUtilizationChart

# Connect with boto
conn = boto.connect_cloudwatch(AWS_ACCESS_KEY AWS_SECRET_ACCCES_KEY)
chart = CPUUtilizationChart(conn, 'my-rds-instance', RANGES['hour'])

# Display chart url
print chart.get_url()

# Download chart image
chart.download('/tmp/my-rds-instance-cpu-hourly.png')

Known issues

| Please see the GitHub project for known issues and to submit bugs and other feedback:

https://github.com/tomatohater/pyawschart/issues

Credit where credit is due

This project makes extensive use of boto and Python Google Chart. Thanks!

Drew Engelson
Author

Drew Engelson

https://tomatohater.com

I currently lead the Cloud Foundation Services team at Starbucks. We are building the Starbucks PaaS to allow digital platforms to be deployed globally with a focus on automation, scalability, performance, security, and developer experience.

Prior to Starbucks, I led Celerity's Technology Innovation and Architecture practice and founded Zoombit and served in technology leadership at Huge and PBS.

Yes. I seriously hate tomatoes.

All content copyright Tomatohater © 2006-2021 • All rights reserved.
No ResultWebsite Carbon