Granite gramplet is an experimental Gramplets using GObject Introspection, Gtk and Granite widgets.
What is Granite?
Granite is an application framework designed with the intend to build better apps with less efforts.
Granite is a part of ElementaryOS.
The Granite framework is something people have cooking for developers to really make it easy to develop applications on elementary. Right now it's very much a work-in-progress, but in the future they hope it will provide useful libraries for storing settings and communicating with other applications, among other things. Basically, the lead elementary developers noticed a lot of redundancy and unnecessary complications in writing applications for elementary, so Granite is their solution to these issues. Right now it is an amalgamation of some widgets and libraries whipped up by elementary developers, and some taken from the fantastic Docky/Plank projects.
See its API.
We can find some samples of python modules using Granite GObject Introspection, like: https://gist.github.com/zodman/4069349