pyArchOps
pyarchops
- Free software: MIT license
- Documentation: https://pyarchops.readthedocs.io.
Features
- pyarchops
Instalation
$ pip install pyarchops
Usage
import os
import pyarchops
from suitable import Api
api = Api(
'127.0.0.1:22',
connection='smart',
remote_user='root',
private_key_file=os.getenv('HOME') + '/.ssh/id_rsa',
become=True,
become_user='root',
sudo=True,
ssh_extra_args='-o StrictHostKeyChecking=no'
)
result = pyarchops.os_updates.apply(api)
print(result)
See the different README pages for the different modules:
- https://github.com/pyarchops/dnsmasq
- https://github.com/pyarchops/helpers
- https://github.com/pyarchops/os-updates
- https://github.com/pyarchops/tinc
Development
Install requirements:
$ sudo pacman -S tmux python-virtualenv python-pip libjpeg-turbo gcc make vim git tk tcl
Git clone this repository
$ git clone https://github.com/pyarchops/pyarchops.git pyarchops.pyarchops
$ cd pyarchops.pyarchops
- See the Makefile, to get started simply execute:
$ make up
Credits
- TODO