semvec/pypi-packages huggingface dataset:
aiida-sshonly 0.1.0a3
AiiDA plugin adding a sshonly transport option, using only SSH to transfer files, avoiding SFTP, in case it's blocked or non functional on a remote system
License: MIT

[![Build Status](https://github.com/adegomme/aiida-sshonly/workflows/ci/badge.svg?branch=master)](https://github.com/adegomme/aiida-sshonly/actions)
[![Coverage Status](https://coveralls.io/repos/github/adegomme/aiida-sshonly/badge.svg?branch=master)](https://coveralls.io/github/adegomme/aiida-sshonly?branch=master)
[![Docs status](https://readthedocs.org/projects/aiida-sshonly/badge)](http://aiida-sshonly.readthedocs.io/)
[![PyPI version](https://badge.fury.io/py/aiida-sshonly.svg)](https://badge.fury.io/py/aiida-sshonly)

# aiida-sshonly

AiiDA plugin adding a sshonly transport option, using only SSH to transfer files, avoiding SFTP, in case it's blocked or non functional on a remote system


## Features

Provides a new 'sshonly' transport option when configuring a computer in AiiDA.
Uses SSH and shell commands to emulate SFTP commands used in AiiDA.

Known limitation : only works with text files as of 0.1.0

## Installation

```shell
pip install aiida-sshonly
reentry scan
verdi plugin list aiida.transports  # should now show your calclulation plugins
```


## Usage

Here goes a complete example of how to submit a test calculation using this plugin.

A quick demo of how to submit a calculation:
```shell
verdi daemon start     # make sure the daemon is running
cd examples
./example_01.py        # run test calculation
verdi process list -a  # check record of calculation
```

The plugin also includes verdi commands to inspect its data types:
```shell
verdi data sshonly list
verdi data sshonly export <PK>
```

## Development

```shell
git clone https://github.com/adegomme/aiida-sshonly .
cd aiida-sshonly
pip install -e .[pre-commit,testing]  # install extra dependencies
pre-commit install  # install pre-commit hooks
pytest -v  # discover and run all tests
```

See the [developer guide](http://aiida-sshonly.readthedocs.io/en/latest/developer_guide/index.html) for more information.

## License

MIT
eebrightbox 0.0.6
Connector for EE BrightBox routers.
License: MIT

EEBrightBox (unstable)
======================

Connector for EE BrightBox and Smart Hub routers.

.. image:: https://img.shields.io/travis/krygal/eebrightbox/master.svg
    :target: https://travis-ci.org/krygal/eebrightbox
.. image:: https://img.shields.io/librariesio/github/krygal/eebrightbox.svg
.. image:: https://img.shields.io/codeclimate/maintainability-percentage/krygal/eebrightbox.svg
    :target: https://codeclimate.com/github/krygal/eebrightbox
.. image:: https://img.shields.io/codeclimate/coverage/krygal/eebrightbox.svg
    :target: https://codeclimate.com/github/krygal/eebrightbox
.. image:: https://img.shields.io/pypi/v/eebrightbox.svg
    :target: https://pypi.org/project/eebrightbox/
.. image:: https://img.shields.io/pypi/pyversions/eebrightbox.svg
.. image:: https://img.shields.io/pypi/l/eebrightbox.svg


Installation
-------------

 .. code:: bash

    pip install eebrightbox


Example
-------

.. code:: python

    from eebrightbox import EERouter

    config = {
        'version': 2,  # 2 - EE BrightBox 2, 3 - EE Smart Hub
        'host': '192.168.1.1', # optional
        'username': 'admin', # optional
        'password': 'admin_password', # found at the back of the router
    }

    with EERouter(config) as ee:
        active_devices = ee.get_active_devices()

        print(active_devices)
        # Output: [{'mac': '10:AD:E1:2C:68:FE', 'hostname': 'hostname1', 'port': 'wl1', 'ip': '192.168.1.111', 'ipv6': None, 'ipv6_ll': None, 'time_first_seen': datetime.datetime(2018, 12, 9, 14, 46, 28), 'time_last_active': datetime.datetime(2018, 12, 22, 14, 26, 3), 'activity': True, 'activity_ip': True, 'activity_ipv6': False, 'activity_ipv6_ll': True, 'dhcp_option': None, 'name': 'name1', 'os': None, 'device': None, 'device_oui': None, 'device_serial': None, 'device_class': None}, ...]


License
-------

MIT License

Copyright (c) 2018 Krystian Galutowski

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.