Popular recipes tagged "rpm"http://code.activestate.com/recipes/tags/rpm/2009-05-20T15:25:06-07:00ActiveState Code RecipesIntrospect RPM module in Python so we can work out how to use the headers (Python)
2009-05-20T15:25:06-07:00Jonathan Cervidaehttp://code.activestate.com/recipes/users/4170395/http://code.activestate.com/recipes/576767-introspect-rpm-module-in-python-so-we-can-work-out/
<p style="color: grey">
Python
recipe 576767
by <a href="/recipes/users/4170395/">Jonathan Cervidae</a>
(<a href="/recipes/tags/rpm/">rpm</a>).
Revision 2.
</p>
<p>It will show you all the attributes of the first package you have installed and their named keys in the RPM module.</p>
Query a rpm file and return a dict with of various rpm tags (Python)
2004-10-23T12:48:45-07:00Shekhar Tiwatnehttp://code.activestate.com/recipes/users/2071240/http://code.activestate.com/recipes/306705-query-a-rpm-file-and-return-a-dict-with-of-various/
<p style="color: grey">
Python
recipe 306705
by <a href="/recipes/users/2071240/">Shekhar Tiwatne</a>
(<a href="/recipes/tags/administration/">administration</a>, <a href="/recipes/tags/packaging/">packaging</a>, <a href="/recipes/tags/rpm/">rpm</a>).
Revision 4.
</p>
<p>A simple script which queries a rpm package and prints few important rpm tags.</p>