A pure python rpm reader and YUM metadata generator
Project description
- authors:
Stefan Richter, Mário Morgado
- license:
BSD
PyRPM is a pure python module to extract information from a RPM package and to create YUM metadata. Supports generation/editing YUM repositories.
Usage
>>> from pyrpm.rpm import RPM >>> rpm = RPM(file('package-1.0-r1.i586.rpm') >>> rpm.binary # this means that the package is a rpm and not a src.rpm True >>> rpm.header.name 'package' >>> rpm.header.architecture 'i586' >>> rpm.header.description 'package description'
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyrpm-02strich-0.5.4.tar.gz
(9.2 kB
view hashes)
Built Distributions
pyrpm_02strich-0.5.4-py3.3.egg
(26.3 kB
view hashes)
pyrpm_02strich-0.5.4-py2.6.egg
(25.4 kB
view hashes)