I'm going to show you the basics of how to write a widget yourself, but if enough people would like the source code to mine, I'll happily open source it.
Coding Library: Python