For more information try the following first:
rpm-list
rpm-python-list
#rpm on freenode
Recommended Reading:
RPM API docs
Maximum RPM
yum source code
anaconda source code
up2date source code