used to analyse rpm info
Project description
python3-rpm
安装
pip3 install python3-rpm
设置变量
修改 env.sh 中变量的值,然后执行如下命令使变量生效
source env.sh
用法
rpm_ai 命令用法
rpm 库用法
获取软件包提供的服务列表
from rpm.rpm import RpmService
rpm=RpmService()
service_list=rpm.get_service("mysql-server")
print(service_list)
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
python3_rpm-0.0.4.tar.gz
(4.3 kB
view details)
File details
Details for the file python3_rpm-0.0.4.tar.gz
.
File metadata
- Download URL: python3_rpm-0.0.4.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc9205bf179325b812597b5209bdd50be01aafb1206c2048a513ef96a1ec67b4 |
|
MD5 | 4c64d8fca9dbf2b15b4803b438ac527c |
|
BLAKE2b-256 | 3ca129a2612ea3dc46cfa37cc04d60dc8e39d4659ba358ab9fe8b378c4382703 |