/+junk/pygooglechart-py3k

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/pygooglechart-py3k
64 by Gerald Kaszuba
added readme for github
1
Python Google Chart
2
===================
3
4
pygooglechart is a complete Python wrapper for the Google Chart API.
5
6
pygooglechart works with Linux, Windows and Mac OS X.
7
8
Example
9
-------
10
11
    from pygooglechart import PieChart3D
12
13
    # Create a chart object of 250x100 pixels
14
    chart = PieChart3D(250, 100)
15
16
    # Add some data
17
    chart.add_data([20, 10])
18
19
    # Assign the labels to the pie data
20
    chart.set_pie_labels(['Hello', 'World'])
21
22
    # Print the chart URL
23
    print chart.get_url()
24
25
    # Download the chart
26
    chart.download('pie-hello-world.png')
27
28
Installation
29
------------
30
There are a few ways of installing it from source:
31
32
If you have setuptools installed, simply run the following:
33
34
    easy_install pygooglechart
35
36
Or get the sources and run:
37
38
    python setup.py install
39
40