Skip to main content

This package is for those who need to download a package, with ALL of its dependencies. Not install, download only.

Project description

package-resolver

This package is for those who need to download a package, with ALL of its dependencies. Not install, download only.

The idea is to be able to get all versions, of any package, on all platforms. This includes:

  • Linux distros packages (deb, rpm, apk...)
  • Programming languages packages (Python, Node...)

OS Distributions

At the moment only Ubuntu, Centos and alpine are implemented, all at their latest versions. In the future you will be able to get packages based on the distro version.

Programming languages packages

At the moment only python and node are implemented, But in the future you will be able to download packages based on the language version, and os distro.

Requirements

The problem is that you can't download rpm files with yum if you are on ubuntu. Right? Wrong. This is possible thanks to docker containers. You can build any environment imaginable with containers, and thats what this package does. If you want to download vim for ubuntu, no matter what os you are running, the package will run a container of ubuntu, download the .deb files and zip it to one single file.

To use this package you will need to run docker on your system: Install Docker

Installation

    $ python -m pip install all-package-resolver

Usage

    $ download-package [OPTIONS] COMMAND [ARGS]...

Options

    -v, --verbose                     Show logs
    -o, --output-dir <output-dir>     Output directory
    -c, --no-cleanup                  No cleanup
    -h, --help                        output usage information

Commands

    os <distro> <package>  Download a package for a specific os distro
    lang <language> <lang-version> <package>  Download a package for a specific language

Examples

    $ download-package os ubuntu vim
    $ download-package -v lang python 3.10 boto3
    $ download-package --output-dir="/dst/folder" lang python 3.6 boto3
    # For multiple packages
    $ download-package lang python 3.6 "boto3 requests"

    $ download-package --help

Project details


Download files

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

Source Distribution

all_package_resolver-0.0.8.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

all_package_resolver-0.0.8-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file all_package_resolver-0.0.8.tar.gz.

File metadata

  • Download URL: all_package_resolver-0.0.8.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.13 Linux/5.15.0-1041-azure

File hashes

Hashes for all_package_resolver-0.0.8.tar.gz
Algorithm Hash digest
SHA256 5c1775071485684ae35e1cfc3441262ea20d9eae00b39628584c0a33755ae4e4
MD5 6444d717b40be8b41e081a945ad45a5d
BLAKE2b-256 29c74777f4fe99b3bbcaa8b32526bddb81258a3f7849b8148e7ed0992cd9b43e

See more details on using hashes here.

File details

Details for the file all_package_resolver-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for all_package_resolver-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d164e7037130c33f54b67ab7a2c7d80656d6e8bfe547955d475346b5b885f4c6
MD5 98fbada27f86628820ef18f6fc4d95b0
BLAKE2b-256 1456aec96a2f61991051a57a946fb887f44f199deb359aa99ad308fc1a339864

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page