Skip to main content

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

Project description

Build Status Coverage Status Docs status PyPI version

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

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:

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:

verdi data sshonly list
verdi data sshonly export <PK>

Development

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 for more information.

License

MIT

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

aiida-sshonly-0.1.0a3.tar.gz (19.3 kB view hashes)

Uploaded Source

Built Distribution

aiida_sshonly-0.1.0a3-py2-none-any.whl (21.2 kB view hashes)

Uploaded Python 2

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