GRPC python binding for the ArmoniK orchestrator API
Project description
ArmoniK.Api Python package
This folder contains the necessary scripts to generate the ArmoniK.Api Python package. Please note that while the package generation is platform dependent, the generated package should be compatible with Linux and Windows.
Install the Python Package from PyPI
At each release, we provide a prepackaged version of ArmoniK.Api available on PyPI here : https://pypi.org/project/armonik. To install the package to your current Python environment, you can use pip :
pip install armonik
Linux / WSL
How to generate
Requirements :
- Python >= 3.7
- Python3-venv
- Pip3
- Bash
If the python command doesn't link to python3 on your system, you may be able to install the package python-is-python3, which links python to python3.
To generate the package from sources, run the proto2python.sh script from its folder. You need to specify a directory where the virtual environment used for the build will be located. For example the following command will generate the packages and will create the build environment "pyvenv" in the current user's home directory:
./proto2python.sh ~/pyvenv
3 folders will be created :
- generated : contains the source files used to create the package
- build : contains the source files used to create the wheel package
- pkg : contains the sdist and wheel packages
How to install the generated package
From this directory, use the following command:
pip install pkg/armonik*.whl
The generated package will be installed to your current python environment
Windows
Coming soon
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file armonik-3.14.1.dev1291.tar.gz
.
File metadata
- Download URL: armonik-3.14.1.dev1291.tar.gz
- Upload date:
- Size: 61.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e4f056dbd30471f4b43a66b4476c58fc68d6a1236076540bc52e5ba1ac1a3ed |
|
MD5 | 142155e62bc8fa9b0a3edca5e610e600 |
|
BLAKE2b-256 | c75dc94c4e3eec8f67c42090e607e6f7c1843bc6964355dd20813dd14a1ba4dd |
File details
Details for the file armonik-3.14.1.dev1291-py3-none-any.whl
.
File metadata
- Download URL: armonik-3.14.1.dev1291-py3-none-any.whl
- Upload date:
- Size: 122.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d845f4ef8e5805e0c36ca3474e9914f3a1ce32e667a9e8f4f333df4cc5d0b0f3 |
|
MD5 | 44062c17f3ab50e3a314d512b3cc4738 |
|
BLAKE2b-256 | 8ea3bfd5715e084475aa8c50b972aa4b50a081d1977e76a78a989073c6216ef6 |