semvec/pypi-packages huggingface dataset:
pyarchops 0.0.5
Install All pyarchops
License: MIT license
Keywords: pyarchops

=====================
pyArchOps
=====================


.. image:: https://badge.fury.io/py/pyarchops-pyarchops.svg
        :target: https://pypi.python.org/pypi/pyarchops

.. image:: https://img.shields.io/gitlab/pipeline/pyarchops/pyarchops/next-release.svg
        :target: https://gitlab.com/pyarchops/pyarchops/pipelines

.. image:: https://readthedocs.org/projects/pyarchops/badge/?version=latest
        :target: https://pyarchops.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status

.. image:: https://pyup.io/repos/github/pyarchops/pyarchops/shield.svg
     :target: https://pyup.io/repos/github/pyarchops/pyarchops/
          :alt: Updates


pyarchops


* Free software: MIT license
* Documentation: https://pyarchops.readthedocs.io.


Features
--------

* pyarchops

Instalation
--------------

.. code-block:: console

    $ pip install pyarchops


Usage
--------

.. code-block:: python

    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:

.. code-block:: console

    $ sudo pacman -S tmux python-virtualenv python-pip libjpeg-turbo gcc make vim git tk tcl

Git clone this repository

.. code-block:: console

    $ git clone https://github.com/pyarchops/pyarchops.git pyarchops.pyarchops
    $ cd pyarchops.pyarchops


2. See the `Makefile`, to get started simply execute:

.. code-block:: console

    $ make up


Credits
-------

* TODO



=======
History
=======

0.0.1 (2018-12-11)
------------------

* First release on PyPI.
pyarchops-os-updates 0.0.4
Install All OS updates
License: MIT license
Keywords: pyarchops_os_updates

=====================
pyArchOps/OS updates
=====================


.. image:: https://img.shields.io/pypi/v/pyarchops_os_updates.svg
        :target: https://pypi.python.org/pypi/pyarchops_os_updates

.. image:: https://img.shields.io/gitlab/pipeline/gitlab-org/gitlab-ce/master.svg
        :target: https://gitlab.com/pyarchops/os-updates/pipelines

.. image:: https://readthedocs.org/projects/os-updates/badge/?version=latest
        :target: https://os-updates.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status

.. image:: https://pyup.io/repos/github/pyarchops/os-updates/shield.svg
     :target: https://pyup.io/repos/github/pyarchops/os-updates/
          :alt: Updates


Install All OS updates


* Free software: MIT license
* Documentation: https://pyarchops-os-updates.readthedocs.io.


Features
--------

* Applies the latest packages on the OS.

Usage
--------

.. code-block:: python

    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:

.. code-block:: console

    $ sudo pacman -S tmux python-virtualenv python-pip libjpeg-turbo gcc make vim git tk tcl

Git clone this repository

.. code-block:: console

    $ git clone https://github.com/pyarchops/os-updates.git pyarchops.os-updates
    $ cd pyarchops.os-updates


2. See the `Makefile`, to get started simply execute:

.. code-block:: console

    $ make up


Credits
-------

* TODO



=======
History
=======

0.0.1 (2018-12-11)
------------------

* First release on PyPI.
pyarchops-helpers 0.0.8
Install All helpers
License: MIT license
Keywords: pyarchops_helpers

=====================
pyArchOps/helpers
=====================


.. image:: https://badge.fury.io/py/pyarchops-helpers.svg
        :target: https://pypi.python.org/pypi/pyarchops-helpers

.. image:: https://img.shields.io/gitlab/pipeline/pyarchops/helpers/next-release.svg
        :target: https://gitlab.com/pyarchops/helpers/pipelines

.. image:: https://readthedocs.org/projects/pyarchops-helpers/badge/?version=latest
        :target: https://pyarchops-helpers.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status

.. image:: https://pyup.io/repos/github/pyarchops/helpers/shield.svg
     :target: https://pyup.io/repos/github/pyarchops/helpers/
          :alt: Updates


Helpers for pyArchOps


* Free software: MIT license
* Documentation: https://pyarchops-helpers.readthedocs.io.


Features
--------

* docker based test helpers


Instalation
--------------

.. code-block:: console

    $ pip install pyarchops-helpers


Usage
--------

.. code-block:: python

    from suitable import Api
    from pyarchops_helpers import helpers

    with helpers.ephemeral_docker_container(
            image='registry.gitlab.com/pyarchops/pyarchops-base'
    ) as container:
        connection_string = "{}:{}".format(
            container['ip'], container['port']
        )
        print('connection strings is ' + connection_string)
        api = Api(connection_string,
                  connection='smart',
                  remote_user=container['user'],
                  private_key_file=container['pkey'],
                  become=True,
                  become_user='root',
                  sudo=True,
                  ssh_extra_args='-o StrictHostKeyChecking=no')

        try:
            result = api.setup()['contacted'][connection_string]
        except Exception as error:
            raise error

        assert result['ansible_facts']


Development
-----------

Install requirements:

.. code-block:: console

    $ sudo pacman -S tmux python-virtualenv python-pip libjpeg-turbo gcc make vim git tk tcl

Git clone this repository

.. code-block:: console

    $ git clone https://github.com/pyarchops/helpers.git pyarchops.helpers
    $ cd pyarchops.helpers


2. See the `Makefile`, to get started simply execute:

.. code-block:: console

    $ make up


Credits
-------

* TODO



=======
History
=======

0.0.1 (2018-12-11)
------------------

* First release on PyPI.
pyarchops-dnsmasq 0.0.2
Install All dnsmasq
License: MIT license
Keywords: pyarchops_dnsmasq

=====================
pyArchOps/dnsmasq
=====================

.. image:: https://badge.fury.io/py/pyarchops-dnsmasq.svg
        :target: https://pypi.python.org/pypi/pyarchops-dnsmasq

.. image:: https://img.shields.io/gitlab/pipeline/pyarchops/dnsmasq/next-release.svg
        :target: https://gitlab.com/pyarchops/dnsmasq/pipelines

.. image:: https://readthedocs.org/projects/dnsmasq/badge/?version=latest
        :target: https://dnsmasq.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status

.. image:: https://pyup.io/repos/github/pyarchops/dnsmasq/shield.svg
     :target: https://pyup.io/repos/github/pyarchops/dnsmasq/
          :alt: Updates


dnsmasq


* Free software: MIT license
* Documentation: https://pyarchops-dnsmasq.readthedocs.io.


Features
--------

* dnsmasq

Instalation
--------------

.. code-block:: console

    $ pip install pyarchops-dnsmasq


Usage
--------

.. code-block:: python

    impor os
    import textwrap
    from suitable import Api
    from pyarchops import helpers
    from pyarchops_dnsmasq import dnsmasq

    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'
    )

    dnsmasq_conf = textwrap.dedent('''
        no-poll
        no-resolv
        cache-size=1500
        no-negcache
        server=/core-vpn/10.16.254.1
        server=/core-vpn/10.16.254.2
        server=/core-vpn/10.16.254.3
        server=8.8.4.4
        server=8.8.8.8
    ''')

    resolve_conf = 'nameserver 127.0.0.1'

    config = {
        'dnmasq_conf': dnsmasq_conf,
        'resolv_conf': resolve_conf
    }

    result = dnsmasq.apply(api, config=config)
    print(result)

Development
-----------

Install requirements:

.. code-block:: console

    $ sudo pacman -S tmux python-virtualenv python-pip libjpeg-turbo gcc make vim git tk tcl

Git clone this repository

.. code-block:: console

    $ git clone https://github.com/pyarchops/dnsmasq.git pyarchops.dnsmasq
    $ cd pyarchops.dnsmasq


2. See the `Makefile`, to get started simply execute:

.. code-block:: console

    $ make up


Credits
-------

* TODO



=======
History
=======

0.0.1 (2018-12-11)
------------------

* First release on PyPI.