Looking under the hood? Interested in a job? Send a mail....


Download packages


ZSparklines is basically Joe Gregorio’s excellent spark.py cgi script (1.0.0), where the cgi layer was replaced with a Zope layer, so it can be used as a Zope product. 

It defines two simple views, sparkline_smooth and sparkline_discrete, and an interface, ISparklinedata, which you need to implement in your classes to use the sparkline views on them. 

If you want to use sparklines for classes you have no control over, you can just write an adapter to implement the interface.

You can download ZSparklines here:


ZSparklines requires the Python Imaging Library.

The original cgi version is here: