Armada Python Client
The Armada Python client wraps the gRPC services defined in submit.proto
and events.proto
.
It supports the following Armada features:
- submitting, cancelling, and re-prioritising jobs, and
- watching for job events.
Installation
These instructions are intended for end-users. If you wish to develop against armada_client, please see our documentation on contributing
PyPI
The Armada python client is available from armada_client. It can be installed
with pip install armada-client
. Documentation and examples of how to use the python can be found on the
Armada libraries webpage.
Build from Git
Building from Git is a multi-step process unlike many other Python projects. This project extensively uses generated
code, which is not committed into the repository.
Before beginning, ensure you have:
- A working docker client, or docker-compatible client available under
docker
. - Network access to fetch docker images and go dependencies.
To generate all needed code, and install the python client:
- From the root of the repository, run
mage buildPython
- Install the client using
pip install client/python
. It's strongly recommended you do this inside a virtualenv.