Skip to main content

Apache Airavata Python SDK

Project description

Apache Airavata Python SDK

The Apache Airavata Python SDK for third party clients to integrate with Airavata middleware

Folder Structure

  • airavata Includes 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_sdk
    • clients Includes integration clients, which you want to import and integrate with your code to access airavata middleware.
    • samples Includes set of sample implementation of integration clients to demonastrate the integration with airavata middleware
    • transport Includes connection handling classes and connection pool implementations
  • airavata_experiments Python APIs to run experiments from anywhere. Handles uploading data, running experiments, tracking progress, and fetching data from past runs.
  • airavata_jupyter_magic Jupyter 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 build and setuptools installed
    python3 -m pip install --upgrade build setuptools
    
  • Now run this command from the same directory where pyproject.toml is located
    python3 -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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airavata_python_sdk-2.2.7.tar.gz (299.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airavata_python_sdk-2.2.7-py3-none-any.whl (405.1 kB view details)

Uploaded Python 3

File details

Details for the file airavata_python_sdk-2.2.7.tar.gz.

File metadata

  • Download URL: airavata_python_sdk-2.2.7.tar.gz
  • Upload date:
  • Size: 299.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for airavata_python_sdk-2.2.7.tar.gz
Algorithm Hash digest
SHA256 d1ef6ae997fd3827c79849ccf475500f6c34f00429dce02949afe259f9fa1008
MD5 ba5348b45629d4642a71c247101818e8
BLAKE2b-256 f1654786b2b8f918479b5aa6442422dc372cb6a469fcb24e4ca6b9f7ad27f299

See more details on using hashes here.

File details

Details for the file airavata_python_sdk-2.2.7-py3-none-any.whl.

File metadata

File hashes

Hashes for airavata_python_sdk-2.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ec28db3524a0d30d1720002502f598284497afb3f2a6c483d2a8f415755f1286
MD5 fd80b38fd64596a1baad3f2e87ed2973
BLAKE2b-256 7278c37c7de56fc7bd4f0b94dee5ab3fe7bac251277cc9281a2b2b02d5771010

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page