Skip to main content

Install All OS updates

Project description

pyArchOps/OS updates

https://img.shields.io/pypi/v/pyarchops_os_updates.svg https://img.shields.io/gitlab/pipeline/gitlab-org/gitlab-ce/master.svg Documentation Status https://pyup.io/repos/github/pyarchops/os-updates/shield.svg

Install All OS updates

Features

  • Applies the latest packages on the OS.

Usage

import os
import pyarchops_os_updates

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)

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/os-updates.git pyarchops.os-updates
$ cd pyarchops.os-updates
  1. See the Makefile, to get started simply execute:
$ make up

Credits

  • TODO

History

0.0.1 (2018-12-11)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyarchops-os-updates, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size pyarchops_os_updates-0.0.4-py3-none-any.whl (3.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pyarchops_os_updates-0.0.4.tar.gz (16.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page