Simple Python interface to Arch Linux package manager (yay)
Project description
# python-yay
Simple Python interface to Arch Linux ‘yay’ package management interface
### Examples
Refresh master package list: yay.refresh()
Install a package: yay.install(“php”)
Remove a package: yay.remove(“php”, purge=True)
Upgrade all packages: yay.upgrade()
List all installed packages: yay.get_installed() (returns dict of id, version, upgradable status)
List all available packages: yay.get_available() (returns dict of id, version, repo name)
Get info for a package: yay.get_info(“php”) (returns dict, info labels as keys)
Get uninstalled dependencies of a package: yay.needs_for(“php”) (returns list of package names)
Get installed packages that depend on this one: yay.depends_for(“php”) (returns list of package names)
Check if a package is installed: yay.is_installed(“php”) (returns bool)
All functions that allow a package name as parameter (except get_info) will accept either a single package name or a list of multiple names.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for yay_digitalsparky-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51850d00bdd94e857cfe1fc5190f59a812a7fdf195141a18e1bc3ba50bf38afe |
|
MD5 | b549c8d737a77a7f0b519568cf544ce5 |
|
BLAKE2b-256 | 47d39aa24bb6f04e435ca4d0a46c5d3a06668bacd73355b34488154e45eeaa83 |