pipeline status

Tools to submit UWS jobs with CLI

Installation

In a directory of your choice, clone this version of uws-client.

git clone https://github.com/aicardi-obspm/uws-client
cd uws-client
git checkout python3-support
pip install .

This installs uws into your systems bin directory and makes the command available on the command line.

Shell sample

The file scripts/job.sh contains a sample shell script to launch a job, wait for its completion et retrieve its results.

Pure REST shell sample

If you don’t want to install uws-client, the file scripts/job-rest.sh contains a sample shell scripts to lauch a job using only cURL and basic shell commands.

Python sample

The file scripts/job.py contains a sample python script to launch a job, wait for its completion et retrieve its results.

PHP REST sample

The file scripts/job-rest.php contains a sample PHP script using the REST interface.