Skip to content
Snippets Groups Projects
Name Last commit Last update
srcc
tests
.gitignore
LICENSE
README.md
test.sh
wgcli.py

About

This is the Python library for Stanford Workgroup API that provides RESTful access to the Workgroup manager. It has been developed by Stanford Research Computing for our HPC cluster accounting needs.

Python Version

Python 2.6 or 2.7 are fully supported. Python 3.x support still beta

Third Party Libraries and Dependencies

The following library is required:

Author

Stephane Thiell

Contributors

Marcello Golfieri

Running

python wgcli.py

e.g. to run in UAT space:

./wgcli.py --wg_cert ~/work/secrets/workgroup/iedo_workgroup_api_dev.crt --wg_cert_key ~/work/secrets/workgroup/iedo_workgroup_api_dev.key --base_url=https://aswsuat.stanford.edu/mais/workgroupsvc/v1

Testing

cd tests/
python  -m unittest workgroups_test