Skip to main content

Helpful utility to download Ubuntu debian packages

Project description

https://img.shields.io/pypi/v/ubuntu_package_download.svg Documentation Status

Helpful utility to download Ubuntu debian packages

Process/Order of finding the package and fallback logic:

  1. Attempt to find the package in the specified series and architecture

  2. If the package is not found in the specified series and architecture attempt to find the package in the all architecture (amd64)

  3. If the package is not found in the all architecture attempt to find the package in a previous series if the fallback_series flag is set to True

  4. If the package is not found in a previous series attempt to find the previous version of the package in the same series if the fallback_version flag is set to True

If not found in any of the above steps log an error message to the console.

Usage: poetry install will setup the tool to be used locally. You should then be able to use the tool by invoking poetry run ubuntu-package-download [args] or ubuntu-package-download [args].

Features

  • TODO

Development

This project uses poetry for dependency management.

To make sure dev dependencies are installed use poetry install --with dev. If you are a developer of this tool use poetry run ubuntu-package-download [args] or ubuntu-package-download inside poetry shell as this will pickup any changes you make to the code.

For more information see: Poetry Basic Usage

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

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

ubuntu_package_download-0.0.9.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ubuntu_package_download-0.0.9-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file ubuntu_package_download-0.0.9.tar.gz.

File metadata

  • Download URL: ubuntu_package_download-0.0.9.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for ubuntu_package_download-0.0.9.tar.gz
Algorithm Hash digest
SHA256 c3cac4f64fd8f49ddc21c9dc2c8e0f777dfd6fdf7c8818c7fea838ca013a652d
MD5 3e76c62ae20dd034e2264d8d84af0c88
BLAKE2b-256 7a05cf43753692aff69874daa3c3b7f7eff39d9a258c5bda1735ea19fad9c78d

See more details on using hashes here.

File details

Details for the file ubuntu_package_download-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for ubuntu_package_download-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6d51881cbe5db2737c50a18f50e82a5469e6108d0d20fff122db2826cbeb1285
MD5 466caeabb8795ee1e23828b0ef22e680
BLAKE2b-256 4070145af4d6763eeedde03257d807977756a3447c44e6b76e69aebce3f09cbc

See more details on using hashes here.

Supported by

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