Skip to main content

Command-line interface for installing Debian packages via GitHub releases

Project description

https://img.shields.io/pypi/v/debi.svg https://img.shields.io/pypi/l/debi.svg https://img.shields.io/pypi/wheel/debi.svg https://img.shields.io/pypi/pyversions/debi.svg

Debi provides a quick and easy way to install Debian packages provided via GitHub releases.

Here’s some programs you can install using Debi:

  • Atom
  • Brave
  • Keeweb
  • Webtorrent Desktop

Features

  • Finds the latest release of project and install it.
  • Caches every downloaded releases so you don’t have to download them twice.
  • Supports multiple release channels: stable (by default) and beta (--beta).
  • Supports multiple architectures: 32-bits (--thirtytwo) and 64-bits (by default).

Usage

$ debi --help
Usage: debi [OPTIONS] OWNER REPO

  Installing Debian packages via GitHub releases.

Options:
  --beta        Install the beta version of the package
  --thirtytwo   Install the 32-bits version (instead of the 64-bits)
  --help        Show this message and exit.
$ debi atom atom
Finding the latest release for atom/atom
Fetching https://github.com/atom/atom/releases/download/v1.18.0/atom-amd64.deb
Installing atom v1.18.0
✔ Successfully installed!
$ debi atom atom --beta
Finding the latest release for atom/atom
Fetching https://github.com/atom/atom/releases/download/v1.19.0-beta4/atom-amd64.deb
Installing atom v1.19.0-beta4
✔ Successfully installed!

By default, Debi will look for the 64-bits version (based on the name of the release). If you want to install the 32-bits version instead, add the flag --thirtytwo.

$ debi webtorrent webtorrent-desktop --thirtytwo
Finding the latest release for webtorrent/webtorrent-desktop
Fetching https://github.com/webtorrent/webtorrent-desktop/releases/download/v0.18.0/webtorrent-desktop_0.18.0-1_i386.deb
Installing webtorrent-desktop v0.18.0
✔ Successfully installed!

Install

$ pip install debi

Enjoy!

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
debi-0.2.3-py3-none-any.whl (5.5 kB) Copy SHA256 hash SHA256 Wheel py3

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