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.3.tar.gz
(4.2 kB
view details)
File details
Details for the file python3_rpm-0.0.3.tar.gz
.
File metadata
- Download URL: python3_rpm-0.0.3.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60ee4790bff168d07312c9b5a29b5026302c76d3d474d32783ef0dd735d33e17 |
|
MD5 | 2d783385e6cdbf9bee67625129b17ae4 |
|
BLAKE2b-256 | 717c2665d122f216594f60c397558a162bab6bd34dfae87d84d3c4f82f1c6d6f |