Demo client script to trigger aristotle ampfactor service and wait for response.
Create virtual environment
python -m venv envActivate virtual environment, on windows:
.\env\Scripts\activateor on linux:
source env/bin/activateInstall dependencies inside virtual environment
pip install -r requirements.txtConfiguration parameters in the top of the script contain some secrets that
should not be added to source control. These instead contain placeholders
(<REPLACE_ME>). The contents of these need to be provided separately.
Make sure the virtual environment is activated, then run:
python demo_client.py <job_id>
where <job_id> is replaced with the integer job id from HySEA.
The script has been tested with job_id 16761.
When the script finishes, it will print the service response, and construct a URL to the generated report available for download.