Skip to main content

Helpful utility to download Ubuntu debian packages

Project description

https://img.shields.io/pypi/v/ubuntu_package_download.svg https://img.shields.io/travis/philroche/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.8.tar.gz (6.1 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for ubuntu_package_download-0.0.8.tar.gz
Algorithm Hash digest
SHA256 8dc9bd2c67552c0cdbfaa7620310cf767e636b630892f46f6d638e6783fd55cd
MD5 cb60376b3b81ba36d02f1764943c4394
BLAKE2b-256 4938db2c806e4e0554c820d26faf12e2f7db7e2cda63dcb77ceeccb84dd71225

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