A pure python rpm reader
Project description
- license:
BSD
PyRPM is a pure python module to extract information from a RPM package.
Usage
>>> from pyrpm.rpm import RPM
>>> frpm pyrpm import rpmdefs
>>> 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.name()
'package'
>>> rpm.package()
'package-1.0'
>>> rpm[rpmdefs.RPMTAG_DESCRIPTION]
'package description'
>>> rpm[rpmdefs.RPMTAG_ARCH]
'i586'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyrpm-0.3.tar.gz
(3.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pyrpm-0.3-py2.6.egg
(9.4 kB
view details)
File details
Details for the file pyrpm-0.3.tar.gz.
File metadata
- Download URL: pyrpm-0.3.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce2ecba04dc5fb7e2168ed33d8ab74b3aabed00627cee5ea39c874a179891627
|
|
| MD5 |
6efdb210f9d8ea3773e9e87197e1dbab
|
|
| BLAKE2b-256 |
0e4212dbdd4ae1d81f40e223ba9d07688cdf74d251fa6d5c043aae94cc0c1a26
|
File details
Details for the file pyrpm-0.3-py2.6.egg.
File metadata
- Download URL: pyrpm-0.3-py2.6.egg
- Upload date:
- Size: 9.4 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60e4c4aa7dd9529d83e8c4032198ff14d505b07eb711e3f7e2c9c6a595d2feaa
|
|
| MD5 |
792e8ae72a3c51ad318c3370583836ba
|
|
| BLAKE2b-256 |
ec7e53fe43338874b044c2fdc7a8e47dcf9cbd9a6cb16276d0dc5049487004c4
|