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.

Files for alpinepkgs, version 1.1.3
Filename, size File type Python version Upload date Hashes
Filename, size alpinepkgs-1.1.3-py3-none-any.whl (4.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size alpinepkgs-1.1.3.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page