tjakway / pyppasearch

Simple python script for searching PPA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyppasearch

Simple python script for searching PPA

To use it one should install Python 3 packages using sudo apt-get install python3-requests python3-bs4 python3-launchpadlib.

Description

This script will search from https://launchpad.net/ubuntu/+ppas, and then get packages information from each PPA, including package name, version and Ubuntu codename and CPU architecture.

Usage

usage: pyppasearch.py [-h] [-c CODENAME] [-a ARCH] [--noexact] package

positional arguments:
  package               exact name of the package you want to search

options:
  -h, --help            show this help message and exit
  -c CODENAME, --codename CODENAME
                        First word of Ubuntu code name, e.g. Focal
  -a ARCH, --arch ARCH  CPU architecture, one of amd64, i386, armhf, arm64,
                        etc.
  --noexact             also search for not exact match

About

Simple python script for searching PPA

License:GNU Affero General Public License v3.0


Languages

Language:Python 100.0%