No project description provided
Project description
alpinepkgs
Give you information about packages from pkgs.alpinelinux.org.
NB!: This package uses web scraping to gather the information.
Install
pip install alpinepkgs
Example
from alpinepkgs.packages import get_package
print(get_package('nginx'))
> {'x86_64': {'date': '2018-12-11', 'licence': 'BSD-2-Clause', 'url': 'http://www.nginx.org/en', 'version': '1.14.2-r0', 'maintainer': 'Jakub Jirutka'}, 'armhf': {'date': '2018-12-11', 'licence': 'BSD-2-Clause', 'url': 'http://www.nginx.org/en', 'version': '1.14.2-r0', 'maintainer': 'Jakub Jirutka'}, 's390x': {'date': '2018-12-11', 'licence': 'BSD-2-Clause', 'url': 'http://www.nginx.org/en', 'version': '1.14.2-r0', 'maintainer': 'Jakub Jirutka'}, 'x86': {'date': '2018-12-11', 'licence': 'BSD-2-Clause', 'url': 'http://www.nginx.org/en', 'version': '1.14.2-r0', 'maintainer': 'Jakub Jirutka'}, 'aarch64': {'date': '2018-12-11', 'licence': 'BSD-2-Clause', 'url': 'http://www.nginx.org/en', 'version': '1.14.2-r0', 'maintainer': 'Jakub Jirutka'}, 'ppc64le': {'date': '2018-12-11', 'licence': 'BSD-2-Clause', 'url': 'http://www.nginx.org/en', 'version': '1.14.2-r0', 'maintainer': 'Jakub Jirutka'}, 'package': 'nginx', 'branch': 'v3.8'}
CLI Example
alpinepkgs --package nginx --branch v3.8
{
"aarch64": {
"date": "2018-12-11",
"licence": "BSD-2-Clause",
"maintainer": "Jakub Jirutka",
"url": "http://www.nginx.org/en",
"version": "1.14.2-r0"
},
"armhf": {
"date": "2018-12-11",
"licence": "BSD-2-Clause",
"maintainer": "Jakub Jirutka",
"url": "http://www.nginx.org/en",
"version": "1.14.2-r0"
},
"branch": "v3.8",
"package": "nginx",
"ppc64le": {
"date": "2018-12-11",
"licence": "BSD-2-Clause",
"maintainer": "Jakub Jirutka",
"url": "http://www.nginx.org/en",
"version": "1.14.2-r0"
},
"s390x": {
"date": "2018-12-11",
"licence": "BSD-2-Clause",
"maintainer": "Jakub Jirutka",
"url": "http://www.nginx.org/en",
"version": "1.14.2-r0"
},
"x86": {
"date": "2018-12-11",
"licence": "BSD-2-Clause",
"maintainer": "Jakub Jirutka",
"url": "http://www.nginx.org/en",
"version": "1.14.2-r0"
},
"x86_64": {
"date": "2018-12-11",
"licence": "BSD-2-Clause",
"maintainer": "Jakub Jirutka",
"url": "http://www.nginx.org/en",
"version": "1.14.2-r0"
}
}
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
alpinepkgs-1.1.2.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for alpinepkgs-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb55fb19c9f90a11b3282ff926c4cee9727aa9c6ef9a8acbc3bf00b4c6034678 |
|
MD5 | 269f98142458f467ec496991f6764127 |
|
BLAKE2b-256 | e78523d435ce5e7f991c3fce281c267b56e92c207e84a787ff5cce8c7e44259c |