Skip to content
Snippets Groups Projects
README.md 851 B
Newer Older
Stephane Thiell's avatar
Stephane Thiell committed
# About
This is the Python library for [Stanford Workgroup API](https://uit.stanford.edu/node/25176) 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.
Stephane Thiell's avatar
Stephane Thiell committed

# Third Party Libraries and Dependencies
Stephane Thiell's avatar
Stephane Thiell committed
The following library is required:
Stephane Thiell's avatar
Stephane Thiell committed
* [requests](http://docs.python-requests.org/)

# Author
Stephane Thiell

# Contributors
Marcello Golfieri

# Running
```
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
```
cd tests/
python  -m unittest workgroups_test