As far as I know, nothing like this exists. At least not an open-source library... I take that back. I just looked on sourceforge and found bennu. I'll look at it and make an assessment on whether it's good or not.
UPDATE- 9/25/07 - I have added a google code homepage for this project here: http://code.google.com/p/qcal/
