Cross-platform unix-like systems administration wrapper
Project description
system-manager:
System-manager is a wrapper to easily perform administrative tasks on a machine in an interactive CLI. I wrote it so I could more easily do package or service management on Unix-like operating systems from a device like my phone where typing commands is not nearly as convenient. I designed it to be relatively cross-platform, with some opinionated choices on what OS-es or package managers I would support. Feel free to add a PR if you want to add additional package managers or operating systems.
Installation:
sudo pip3 install system-manager
Usage:
Packages:
Install the foo package, upgrade the bar package and remove the cow package:
sudo system-manager packages --install foo --upgrade bar --remove cow
Usage:
$ system-manager packages --help
usage: system-manager packages [-h] [-i PKG [PKG ...]] [-u PKG [PKG ...]]
[-r PKG [PKG ...]]
optional arguments:
-h, --help show this help message and exit
-i PKG [PKG ...], --install PKG [PKG ...]
packages to install
-u PKG [PKG ...], --upgrade PKG [PKG ...]
packages to upgrade
-r PKG [PKG ...], --remove PKG [PKG ...]
packages to uninstall
Services:
Start the foo service, restart the bar service and stop the cow service:
sudo system-manager services --start foo --restart bar --stop cow
Usage:
$ system-manager services --help
usage: system-manager services [-h] [--restart NAME [NAME ...]]
[--stop NAME [NAME ...]]
[--start NAME [NAME ...]]
optional arguments:
-h, --help show this help message and exit
--restart NAME [NAME ...]
service(s) to restart
--stop NAME [NAME ...]
service(s) to stop
--start NAME [NAME ...]
service(s) to start
Supported Operating Systems:
MacOS
Linux:
- Alpine
- Arch
- Debian (and derivatives)
- RHEL (and derivates)
FreeBSD
Supported Package Managers:
MacOS:
Linux:
FreeBSD:
- pkg
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 Distributions
Built Distribution
File details
Details for the file system_manager-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: system_manager-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c11ed7051962576fbbf920294408f92f7e5cbed1aad8098c708b7c1c1801433 |
|
MD5 | 0c88c537d3981116796254874e1d3308 |
|
BLAKE2b-256 | 33f73abad4618bff61dc5c3319eccdb9327700bcf0b9166cb92a7b50a787da90 |