armada-client-0.2.7
توضیحات
Armada gRPC API python client
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | armada-client-0.2.7 |
| نام | armada-client |
| نسخه کتابخانه | 0.2.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | G-Research Open Source Software <armada@armadaproject.io> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/armada-client/ |
| مجوز | Apache Software License |
# Armada Python Client
<hr />
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](CONTRIBUTING.md )**
### PyPI
The Armada python client is available from [armada_client](https://pypi.org/project/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](https://armadaproject.io/libraries).
### 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:
1) From the root of the repository, run `make python`
2) Install the client using `pip install client/python`. It's strongly recommended you do this inside a virtualenv.
نیازمندی
| مقدار | نام |
|---|---|
| >=1.46.3 | grpcio |
| >=1.46.3 | grpcio-tools |
| >=3.2.0 | mypy-protobuf |
| >=3.20.3 | protobuf |
| - | sphinx |
| - | sphinx-jekyll-builder |
| ==3.2.0b1 | sphinx-toolbox |
| >=22.3.0 | black |
| >=4.0.1 | flake8 |
| >=2.13.8 | pylint |
| >=7.1.2 | pytest |
| >=6.5.0 | coverage |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl armada-client-0.2.7:
pip install armada-client-0.2.7.whl
نصب پکیج tar.gz armada-client-0.2.7:
pip install armada-client-0.2.7.tar.gz