semvec/pypi-packages huggingface dataset:
avocado-framework-plugin-varianter-pict 113.0
Varianter with combinatorial capabilities by PICT

.. _varianter_pict:

PICT Varianter plugin
=====================

`avocado_varianter_pict`

This plugin uses a third-party tool to provide variants created by
"Pair-Wise" algorithms, also known as Combinatorial Independent
Testing.

Installing PICT
---------------

PICT is a free software (MIT licensed) tool that implements
combinatorial testing.  More information about it can be found at
https://github.com/Microsoft/pict/ .

If you're building from sources, make sure you have a C++ compiler
such as GCC or clang, and make.  The included ``Makefile`` should
work out of the box and give you a ``pict`` binary.

Then copy the ``pict`` binary to a location in your ``$PATH``.
Alternatively, you may use the plugin ``--pict-binary`` command line
option to provide a specific location of the pict binary, but that
is not as convenient as having it on your ``$PATH``.

Using the PICT Varianter Plugin
-------------------------------

To install the Avocado PICT plugin from pip, use::

    $ sudo pip install avocado-framework-plugin-varianter-pict

To run the example below, use the test included in the avocado code ::

    $ git clone https://github.com/avocado-framework/avocado.git

The following listing is a sample (simple) PICT file included
at ``avocado/examples/varianter_pict/params.pict`` ::

    arch: intel, amd
    block_driver: scsi, ide, virtio
    net_driver: rtl8139, e1000, virtio
    guest: windows, linux
    host: rhel6, rhel7, rhel8

To list the variants generated with the default combination order (2,
that is, do a pairwise idenpendent combinatorial testing)::

  $ avocado variants --pict-parameter-file=avocado/examples/varianter_pict/params.pict
  Pict Variants (11):
  Variant amd-scsi-rtl8139-windows-rhel6-acff:    /run
  Variant intel-scsi-virtio-linux-rhel8-26df:    /run
  Variant amd-ide-virtio-windows-rhel7-3fe7:    /run
  Variant amd-virtio-e1000-linux-rhel7-bf2d:    /run
  Variant intel-scsi-e1000-windows-rhel8-4808:    /run
  Variant intel-scsi-rtl8139-linux-rhel7-2975:    /run
  Variant intel-virtio-rtl8139-windows-rhel8-6632:    /run
  Variant intel-ide-rtl8139-linux-rhel6-edd2:    /run
  Variant intel-virtio-virtio-windows-rhel6-e95a:    /run
  Variant amd-ide-e1000-linux-rhel8-5fcc:    /run
  Variant amd-ide-e1000-linux-rhel6-eb43:    /run

To list the variants generated with a 3-way combination::

  $ avocado variants --pict-parameter-file=avocado/examples/varianter_pict/params.pict \
    --pict-order-of-combinations=3

  Pict Variants (28):
  Variant intel-ide-virtio-windows-rhel7-aea5:    /run
  ...skip...
  Variant intel-scsi-e1000-linux-rhel7-9f61:    /run

To run tests, just replace the ``variants`` avocado command for ``run``::

  $ avocado run --pict-parameter-file=avocado/examples/varianter_pict/params.pict /bin/true

The tests given in the command line should then be executed with all
variants produced by the combinatorial algorithm implemented by PICT.
avocado-framework-plugin-spawner-remote 113.0
Remote (host) based spawner

=====================
Remote Spawner Plugin
=====================

This plugin makes use of remote `aexpect
<https://github.com/avocado-framework/aexpect/>`__ sessions (to remote
hosts or equivalently remote containers behind remote hosts forwarded
via specific ports) as slots to schedule test runs on.

It mainly draws inspiration and mimics slot and other
code from the LXC spawner with the exception of extra configurable
test timeout that is enforced by aexpect as a dependency and fully
specific to this type of spawner.

To install the Remote Spawner plugin from pip, use::

    $ sudo pip install avocado-framework-plugin-spawner-remote

After it is installed, add a slot (e.g. "board") to your avocado
config file::

    [spawner.remote]
    slots = ['board']

Then you need a JSON file of the same name as the slot. Its contents
are the command line parameters of aexpect's ``remote_login`` function
of module ``remote``, e.g.::

    {
       "client": "telnet",
       "host": "192.168.64.2",
       "port": "23",
       "username": "root",
       "password": "",
       "prompt": "#"
    }

Final important detail: the remote site also needs avocado
installed.
avocado-framework-plugin-robot 113.0
Avocado Plugin for Execution of Robot Framework tests

.. _robot-plugin:

============
Robot Plugin
============

This optional plugin enables Avocado to work with tests originally
written using the `Robot Framework <http://robotframework.org/>`_ API.

To install the Robot plugin from pip, use::

    $ sudo pip install avocado-framework-plugin-robot

After installed, you can list/run Robot tests the same way you do with
other types of tests.

For example, use the test included in the avocado code ::

    $ git clone https://github.com/avocado-framework/avocado.git

To list the tests, execute::

    $ avocado list avocado/optional_plugins/robot/tests/avocado.robot
    robot $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.NoSleep
    robot $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.Sleep

Directories are also accepted. To run the tests, execute::

    $ avocado run avocado/optional_plugins/robot/tests/avocado.robot
    JOB ID     : 1501f546890024f2af8e26ab49ba511154bebab9
    JOB LOG    : $HOME/avocado/job-results/job-2021-09-30T21.48-1501f54/job.log
     (2/2) $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.Sleep: STARTED
     (1/2) $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.NoSleep: STARTED
     (1/2) $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.NoSleep: PASS (0.06 s)
     (2/2) $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.Sleep: PASS (0.07 s)
    RESULTS    : PASS 2 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
    JOB HTML   : $HOME/avocado/job-results/job-2021-09-30T21.48-1501f54/results.html
    JOB TIME   : 0.99 s
avocado-framework-plugin-resultsdb 113.0
Avocado Plugin to propagate Job results to Resultsdb

ResultsDB Plugin
================

This optional plugin is intended to propagate the Avocado Job results to
a given ResultsDB API URL.

To install the ResultsDB plugin from pip, use::

    pip install avocado-framework-plugin-resultsdb

Usage::

    $ avocado run avocado/examples/tests/passtest.py --resultsdb-api http://resultsdb.example.com/api/v2.0/

Optionally, you can provide the URL where the Avocado logs are published::

    $ avocado run avocado/examples/tests/passtest.py --resultsdb-api http://resultsdb.example.com/api/v2.0/ --resultsdb-logs http://avocadologs.example.com/

The ``--resultsdb-logs`` is a convenience option that will create links
to the logs in the ResultsDB records. The links will then have the
following formats:

- ResultDB group (Avocado Job)::

    http://avocadologs.example.com/job-2021-09-30T22.16-f40403c/

- ResultDB result (Avocado Test)::

    http://avocadologs.example.com/job-2021-09-30T22.16-f40403c/test-results/1-passtest.py:PassTest.test/

You can also set the ResultsDB API URL and logs URL using a config file::

    [plugins.resultsdb]
    api_url = http://resultsdb.example.com/api/v2.0/
    logs_url = http://avocadologs.example.com/

And then run the Avocado command without the ``--resultsdb-api`` and
``--resultsdb-logs`` options. Notice that the command line options will
have precedence over the configuration file.
avocado-framework-plugin-result-upload 113.0
Avocado Plugin to propagate Job results to remote host

.. _results-upload-plugin:

Results Upload Plugin
=====================

This optional plugin is intended to upload the Avocado Job results to
a dedicated sever.

To install the Result Upload plugin from pip, use::

    pip install avocado-framework-plugin-result-upload

Usage::

    $ avocado run avocado/examples/tests/passtest.py --result-upload-url www@avocadologs.example.com:/var/www/html
    JOB ID     : f40403c7409ef998f293a7c83ee456c32cb6547a
    JOB LOG    : $HOME/avocado/job-results/job-2021-09-30T22.16-f40403c/job.log
     (1/1) avocado/examples/tests/passtest.py:PassTest.test: STARTED
     (1/1) avocado/examples/tests/passtest.py:PassTest.test: PASS (0.01 s)
    RESULTS    : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
    JOB HTML   : $HOME/avocado/job-results/job-2021-09-30T22.16-f40403c/results.html


Avocado logs will be available at following URL:

- ssh

    www@avocadologs.example.com:/var/www/html/job-2021-09-30T22.16-f40403c

- html (If web server is enabled)

    http://avocadologs.example.com/job-2021-09-30T22.16-f40403c/

Such links may be referred by other plugins, such as the ResultsDB plugin.

By default upload will be handled by following command ::

    rsync -arz -e 'ssh -o LogLevel=error -o stricthostkeychecking=no -o userknownhostsfile=/dev/null -o batchmode=yes -o passwordauthentication=no'

Optionally, you can customize uploader command, for example following command upload logs to Google storage: ::

    $ avocado run avocado/examples/tests/passtest.py --result-upload-url='gs://avocadolog' --result-upload-cmd='gsutil -m cp -r'

You can also set the ResultUpload URL and command using a config file::

    [plugins.result_upload]
    url = www@avocadologs.example.com:/var/www/htmlavocado/job-results
    command='rsync -arzq'

And then run the Avocado command without the explicit command options. Notice
that the command line options will have precedence over the configuration file.
avocado-framework-plugin-result-html 113.0
Avocado HTML Report for Jobs

HTML results Plugin
===================

This optional plugin creates beautiful human readable results.

To install the HTML plugin from pip, use::

    $ pip install avocado-framework-plugin-result-html

Once installed it produces the results in job results dir::

    $ avocado run avocado/examples/tests/sleeptest.py avocado/examples/tests/failtest.py
    JOB ID     : 480461f676fcf2a8c1c449ca1252be9521ffcceb
    JOB LOG    : $HOME/avocado/job-results/job-2021-09-30T16.02-480461f/job.log
    (2/2) avocado/examples/tests/failtest.py:FailTest.test: STARTED
    (1/2) avocado/examples/tests/sleeptest.py:SleepTest.test: STARTED
    (2/2) avocado/examples/tests/failtest.py:FailTest.test: FAIL: This test is supposed to fail (0.04 s)
    (1/2) avocado/examples/tests/sleeptest.py:SleepTest.test: PASS (1.01 s)
    RESULTS    : PASS 1 | ERROR 0 | FAIL 1 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
    JOB HTML   : $HOME/avocado/job-results/job-2021-09-30T16.02-480461f/results.html
    JOB TIME   : 2.76 s


This can be disabled via ``--disable-html-job-result``. One can also specify a
custom location via ``--html`` . Last but not least ``--open-browser`` can be used to
start browser automatically once the job finishes.
ryft-sdk 1.4.0
Python SDK for Ryft API
Requires Python: >=3.6
Keywords: ryft, api, sdk

# Ryft Python SDK

[![Python - Build & Test](https://github.com/RyftPay/ryft-python/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/RyftPay/ryft-python/actions/workflows/build-and-test.yml)
[![PyPI version](https://badge.fury.io/py/ryft-sdk.svg)](https://badge.fury.io/py/ryft-sdk)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

The Ryft Python SDK allows you to quickly integrate our API into your Python-powered backend services.

## Installation

## Usage

The SDK must be configured with your account's secret key in the Ryft Dashboard. The SDK will automatically determine the environment based on the provided key. For example, `sk_sandbox...` will point to `sandbox`, while `sk_live...` will point to `production`.

### Importing the SDK

You can access the SDK and all of the methods and types by importing it as follows:

```python
from ryft_sdk import Ryft
```

### Initialising with a secret key

You can pass your secret key via the constructor in the `Ryft` package. For example:

```python
ryft = Ryft(secret_key="sk_live_123")
```

### Initialising with environment variables

You can set the following environment variable, and the SDK will automatically pick it up:

* `RYFT_SECRET_KEY`

> [!NOTE]
> Using env variables, you don't have to pass your secret key to the config. This is handled for you by the SDK

## Basic Example

```python
ryft = Ryft(secret_key="sk_live_123")

try:
  resp = await ryft.accounts.get('acc_123456789')
except RyftException as e:
  print(e)
```
pq-cose 0.0.1
CBOR Object Signing with PQ
Requires Python: >=3.8
Keywords: cryptography, post-quantum, pqc

# pq-cose

CBOR Object Signing with PQ

## Installation

```bash
pip install pq-cose
```

## Usage

```python
import pq_cose

# Coming soon
```

## License

MIT
pq-xmldsig 0.0.1
XML Digital Signatures with ML-DSA
Requires Python: >=3.8
Keywords: cryptography, post-quantum, pqc

# pq-xmldsig

XML Digital Signatures with ML-DSA

## Installation

```bash
pip install pq-xmldsig
```

## Usage

```python
import pq_xmldsig

# Coming soon
```

## License

MIT
pq-quic-crypto 0.0.1
QUIC crypto layer with PQ
Requires Python: >=3.8
Keywords: cryptography, post-quantum, pqc

# pq-quic-crypto

QUIC crypto layer with PQ

## Installation

```bash
pip install pq-quic-crypto
```

## Usage

```python
import pq_quic_crypto

# Coming soon
```

## License

MIT
pq-dtls 0.0.1
DTLS with PQ for UDP applications
Requires Python: >=3.8
Keywords: cryptography, post-quantum, pqc

# pq-dtls

DTLS with PQ for UDP applications

## Installation

```bash
pip install pq-dtls
```

## Usage

```python
import pq_dtls

# Coming soon
```

## License

MIT
pq-tls-client 0.0.1
TLS 1.3 client with PQ support
Requires Python: >=3.8
Keywords: cryptography, post-quantum, pqc

# pq-tls-client

TLS 1.3 client with PQ support

## Installation

```bash
pip install pq-tls-client
```

## Usage

```python
import pq_tls_client

# Coming soon
```

## License

MIT
pq-kerberos 0.0.1
Kerberos ticket handling with PQ
Requires Python: >=3.8
Keywords: cryptography, post-quantum, pqc

# pq-kerberos

Kerberos ticket handling with PQ

## Installation

```bash
pip install pq-kerberos
```

## Usage

```python
import pq_kerberos

# Coming soon
```

## License

MIT