I’m currently working on a cleaner API for ucplib. I got some pretty good ideas and started merging my work with another library which is doing basically the same.

The current code can be found at launchpad.net