Apache Airavata Python SDK
The Apache Airavata Python SDK for third party clients to integrate with Airavata middleware
Folder Structure
airavataIncludes thrift stubs generated by a thrift compiler. Mainly contains data model and functions. You may need to import data model packages to integrate with clients.airavata_sdkclientsIncludes integration clients, which you want to import and integrate with your code to access airavata middleware.samplesIncludes set of sample implementation of integration clients to demonastrate the integration with airavata middlewaretransportIncludes connection handling classes and connection pool implementations
airavata_experimentsPython APIs to run experiments from anywhere. Handles uploading data, running experiments, tracking progress, and fetching data from past runs.airavata_jupyter_magicJupyter Plugin providing magic annotations (%) to shift notebook runtimes between resources (local/remote).
Before Integration
- Create a virtual environment
python3 -m venv venv
- Activate the virtual environment
source venv/bin/activate
- Install dependencies
pip install -e .
- Create a INI file containing server configuration details. For more information refer to default settings file settings.ini
Generating Distribution Archives (Optional)
You can generate a *.tar.gz distribution and install to any external project.
- Make sure you have the latest versions of
buildandsetuptoolsinstalledpython3 -m pip install --upgrade build setuptools
- Now run this command from the same directory where
pyproject.tomlis locatedpython3 -m build .
- This command should output a lot of text and once completed should generate two files in the dist directory
dist/ airavata_python_sdk-2.0.0-py2.py3-none-any.whl airavata-python-sdk-2.0.0.tar.gz
Now, you should be able to install those packages into your project.
Metadata
Release files for airavata-python-sdk 2.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| airavata_python_sdk-2.2.7.tar.gz | 299.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| airavata_python_sdk-2.2.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 704.4 kB
Release files / airavata_python_sdk-2.2.7.tar.gz
| Download URL | airavata_python_sdk-2.2.7.tar.gz |
|---|---|
| Size | 299.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1ef6ae997fd3827c79849ccf475500f6c34f00429dce02949afe259f9fa1008
|
|
BLAKE2b-256 checksum How to use checksums |
f1654786b2b8f918479b5aa6442422dc372cb6a469fcb24e4ca6b9f7ad27f299
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.18
|
Release files / airavata_python_sdk-2.2.7-py3-none-any.whl
| Download URL | airavata_python_sdk-2.2.7-py3-none-any.whl |
|---|---|
| Size | 405.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec28db3524a0d30d1720002502f598284497afb3f2a6c483d2a8f415755f1286
|
|
BLAKE2b-256 checksum How to use checksums |
7278c37c7de56fc7bd4f0b94dee5ab3fe7bac251277cc9281a2b2b02d5771010
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.18
|