Metadata-Version: 2.1
Name: yay-digitalsparky
Version: 0.0.1
Summary: Simple Python interface to Arch Linux package manager (yay)
Home-page: https://github.com/digitalsparky/python-yay
Download-URL: https://github.com/digitalsparky/python-yay/archive/0.0.1.tar.gz
Author: Matt Spurrier
Author-email: matthew@spurrier.com.au
License: GPLv3
Keywords: yay,arch linux
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: Unix
Classifier: Topic :: System :: Software Distribution
Requires-Python: >=3.6

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


