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.

Source Distribution

pyarchops_os_updates-0.0.4.tar.gz (16.2 kB view hashes)

Uploaded Source

Built Distribution

pyarchops_os_updates-0.0.4-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page