Skip to main content

pyArchOps/helpers

https://badge.fury.io/py/pyarchops-helpers.svg https://img.shields.io/gitlab/pipeline/pyarchops/helpers/next-release.svg Documentation Status https://pyup.io/repos/github/pyarchops/helpers/shield.svg

Helpers for pyArchOps

Features

  • docker based test helpers

Instalation

$ pip install pyarchops-helpers

Usage

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:

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

$ make up

Credits

  • TODO

History

0.0.1 (2018-12-11)

  • First release on PyPI.

Metadata

Release files for pyarchops-helpers 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyarchops-helpers 0.0.8
File Size Uploaded Provenance Actions
pyarchops_helpers-0.0.8.tar.gz 17.5 kB Without provenance Details for pyarchops_helpers-0.0.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyarchops-helpers 0.0.8
File Interpreter ABI Platform Actions
pyarchops_helpers-0.0.8-py3-none-any.whl Python 3 none any Details for pyarchops_helpers-0.0.8-py3-none-any.whl

Total release size: 22.6 kB

Release files / pyarchops_helpers-0.0.8.tar.gz

Download URL pyarchops_helpers-0.0.8.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3a8a12ef015b4f93ba67a47146e7a3ca75a5641b0e6f21233bc15dea741af764
BLAKE2b-256 checksum
How to use checksums
0712f5764300b0f7bc854e8e60db82d5a5aa5347adc5e7e24588c36a498b1afb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

Release files / pyarchops_helpers-0.0.8-py3-none-any.whl

Download URL pyarchops_helpers-0.0.8-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29c20ea74c3f57cb2773a9a5776fb2d5b84a117f8814b57e1d7caadfd5b7e493
BLAKE2b-256 checksum
How to use checksums
65cca86d88acfaabf8f2cdae5b38ac3dc5e3dd406e382685a8cde6b6a3b9e17e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

Security for pyarchops-helpers 0.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page