Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A flexible Google Chart API wrapper

Project Description


A flexible Google Chart API wrapper.


from gchart import gchart
chart_class = gchart.corechart.PieChartFactory(some_piechart_option='foo')
chart = chart_class(
[("name", "string"), ("no. of donuts eaten", "number")],
[("Joe", 3), ("Bob", 5), ("Helen", 9)],
another_piechart_option = "bar"

The you can call `chart.initialize_html()` and `chart.render_html()`...

Note that because `corechart` and `PieChartFactory` are created dynamically, you cannot write:

from gchart.gchart.corechart import PieChartFactory

Instead, you may do something like:

import gchart
PieChartFactory = gchart.gchart.corechart.PieChartFactory

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(2.9 kB) Copy SHA256 Hash SHA256
Source Aug 14, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting