I'm pleased to announce ZSparklines, a simple Zope product to add sparklines to any Zope application. You can find version 0.1 here:


ZSparklines is basically Joe Gregorio's spark 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 write an adapter to implement the interface.

Any feedback, questions and suggestions for improvement are more than welcome.

ZSparklines requires the Python Imaging Library.

The original cgi version can be found here:


- eric casteleijn
Zope-Announce maillist  -  Zope-Announce@zope.org

 Zope-Announce for Announcements only - no discussions

(Related lists - Users: http://mail.zope.org/mailman/listinfo/zope
Developers: http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to