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
.
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: 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