[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Any SMALL examples of rpm-python code?


Does anyone have a real basic python-based "query the RPM database and
return the fields I ask for in a list"?

I'm familiar enough with Python and Postgresql to get the two of them
talking, but don't know squat about whatever RPM's database is. (db?
db2? db3? Doesn't matter since I don't know any of them.)  Several
years ago, I was able to get something simple going in C, but I've
misplaced that code.

I've been looking through the doxygen documentation (from rpm-devel)
and am completely lost.  (Was there better documentation when I did it
in C or did I just get lucky?)


 Kevin Cole                    |  Key ID: 0xE6F332C7
 Gallaudet University          |     WWW: http://gri.gallaudet.edu/~kjcole/
 Hall Memorial Bldg  S-419     |   V/TTY: (202) 651-5135
 Washington, D.C.  20002-3695  |     FAX: (202) 651-5746

Attachment: pgp00006.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []