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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yay-digitalsparky-0.0.1.tar.gz.
File metadata
- Download URL: yay-digitalsparky-0.0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c3272e6aedaf4ecc1aaa631760e781ee353b8ae2f5faca7712e0de6537f4f46
|
|
| MD5 |
5950fe89adadc52b326f151c082950dd
|
|
| BLAKE2b-256 |
34fe6e69698517f15a2b08b3bb465aad34fbd3b4650fb876c6fc4e68ab315455
|
File details
Details for the file yay_digitalsparky-0.0.1-py3-none-any.whl.
File metadata
- Download URL: yay_digitalsparky-0.0.1-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51850d00bdd94e857cfe1fc5190f59a812a7fdf195141a18e1bc3ba50bf38afe
|
|
| MD5 |
b549c8d737a77a7f0b519568cf544ce5
|
|
| BLAKE2b-256 |
47d39aa24bb6f04e435ca4d0a46c5d3a06668bacd73355b34488154e45eeaa83
|