Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/archetypum/theunixmanager

theUnixManager - ultimate package manager && init system handling library made by Archetypum that simplifies interaction with UNIX systems and creation of system-related python scripts.
https://github.com/archetypum/theunixmanager

bsd gnu gnu-linux linux package-management python python-library python-module python-package python3 service-management system-management unix

Last synced: about 4 hours ago
JSON representation

theUnixManager - ultimate package manager && init system handling library made by Archetypum that simplifies interaction with UNIX systems and creation of system-related python scripts.

Awesome Lists containing this project

README

        

# theUnixManager
![theUnixManagerEdited](https://github.com/user-attachments/assets/6c0b3fbc-1d09-4d35-9dde-33b22a468c45)

**theUnixManager** - ultimate package manager && init system handling library made by Archetypum
that simplifies interaction with UNIX systems and creation of system-related python scripts.

## Installation (as root):

```bash
pip install theUnixManager
```

And then use it in your python scripts:

```python3
#!/usr/bin/python3

import the_unix_manager as tum

distro = tum.get_user_distro()
init_system = tum.get_init_system()

tum.package_handling(distro, package_list=["git", "vim", "htop", "emacs"], command="install")
tum.init_system_handling(init_system, command="start", service="ssh")
```

## License

_theUnixManager_ uses **GNU Lesser General Public License v3**.

More information in:

- _LICENSE.md_
- _https://www.fsf.org_
- _https://www.gnu.org_

![gnu](https://github.com/user-attachments/assets/66935a97-374f-4dbc-9f1c-428070fda139)