My favorites | Sign in
Logo
                
Code license: New BSD License
Labels: python, api, chart, web, django

Python Google Chart Wrapper

Easily create Google charts using Python syntax and data objects.

Python wrapper for the Google Chart API. The wrapper can render the URL of the Google chart, based on your parameters, or it can render an HTML img tag to insert into webpages on the fly. Made for dynamic python websites (Django,Zope,CGI,etc.) that need on the fly chart generation without any extra modules. Works for Python 2 and 3

>>> from GChartWrapper import Pie
>>> Pie([5,10]).title('Hello Pie').color('red','lime').label('hello', 'world')

Generates an object that can render/save the chart in many ways. The most useful is display on a website

Simply install the package from PyPI

$ sudo easy_install -U GChartWrapper

The documentation and demos are available in the extras package, or up live at chartography.net

WhatsNew

WhoUsesTheWrapper

WrapperFeatures

ChartExamples

PilExtension

TemplatingLanguages

Any problems/questions/comments send to justquick@gmail.com









Hosted by Google Code