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.1.6.tar.gz (294.8 kB view details)

Uploaded Source

Built Distribution

airavata_python_sdk-2.1.6-py3-none-any.whl (403.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for airavata_python_sdk-2.1.6.tar.gz
Algorithm Hash digest
SHA256 579de6b0dd093746cd311229c119a6b0a96462f3c31b589a030e23cf6739a1a1
MD5 0eb343bacbedeb0b7769c2be6f72f9d9
BLAKE2b-256 aca18c8f15289a2cf1192f5cad7a52050906d2b61519f2333bec6d54b60cf677

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for airavata_python_sdk-2.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 10078ac0dfda0dc48db87d49e7419772779f0e43ceb6db67de249dc71190e8b8
MD5 4421bc9a10a6507bf95c9007b90de44e
BLAKE2b-256 aab67629c79599dbd63e5ef7ff5e4f4b958f0f56603da3936bfa5599a8c809d5

See more details on using hashes here.

Supported by

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