Skip to main content

No project description provided

Project description

alpinepkgs Build Status

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"
    }
}

BuyMeCoffee

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
alpinepkgs-1.0.5.tar.gz (3.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page