Skip to main content
gchart
======

A flexible Google Chart API wrapper.

Example
-------

```python
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:

```python
from gchart.gchart.corechart import PieChartFactory
```

Instead, you may do something like:

```python
import gchart
PieChartFactory = gchart.gchart.corechart.PieChartFactory
```

Release files for gchart 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gchart 0.0.2
File Size Uploaded
gchart-0.0.2.tar.gz 2.9 kB Details

Release files / gchart-0.0.2.tar.gz

Download URL gchart-0.0.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
33ec37fa6e2f43f64024b487dfd97542705900f6642770f9024341d0b02fb5f0
BLAKE2b-256 checksum
How to use checksums
f81df30176f2e0a75a62d4e04e36f20e3e3cf884bedab412cc7240ff2f4d221c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

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