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
Metadata
Release files for system-manager 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| system_manager-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / system_manager-0.1.0-py3-none-any.whl
| Download URL | system_manager-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c11ed7051962576fbbf920294408f92f7e5cbed1aad8098c708b7c1c1801433
|
|
BLAKE2b-256 checksum How to use checksums |
33f73abad4618bff61dc5c3319eccdb9327700bcf0b9166cb92a7b50a787da90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for system-manager 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.