Skip to main content

A python library for building adaptors that integrate applications with Open Job Description jobs.

Project description

Open Job Description - Adaptor Runtime Library

pypi python license

This package provides a runtime library to help build application interfaces that simplify Open Job Description job templates. When implemented by a third party on behalf of an application, the result is a CLI command that acts as an adaptor. Application developers can also implement support for these CLI patterns directly in their applications, potentially using this library to simplify the work.

Interface features that this library can assist with include:

  1. Run as a background daemon to amortize application startup and scene load time.
    • Tasks run in the context of Open Job Description Sessions, and this pattern lets a scheduling engine sequentially dispatch tasks to a single process that retains the application, loaded scene, and any acceleration data structures in memory.
  2. Report progress and status messages.
    • Applications write progress information and status messages in many different ways. An adaptor can scan the output of an application and report it in the format specified for Open Job Description Stdout Messages.
  3. Map file system paths in input data.
    • When running tasks on a different operating system, or when files are located at different locations compared to where they were at creation, an adaptor can take path mapping rules and perform Open Job Description Path Mapping.
  4. Transform signals like cancelation requests from the Open Job Description runtime into the signal needed by the application.
    • Applications may require different mechanisms to receive these messages, an adaptor can handle any differences with what Open Job Description provides to give full feature support.
  5. Adjust application default behaviors for batch processing.
    • When running applications that were built for interactive use within a batch processing system, some default behaviors may lead to unreliability of workload completion, such as using watermarks when a license could not be acquired or returning a success exit code when an input data file could not be read. The adaptor can monitor and detect these cases.

Read the Library Documentation to learn more.

Compatibility

This library requires:

  1. Python 3.9 or higher; and
  2. Linux, MacOS, or Windows operating system.

Versioning

This package's version follows Semantic Versioning 2.0, but is still considered to be in its initial development, thus backwards incompatible versions are denoted by minor version bumps. To help illustrate how versions will increment during this initial development stage, they are described below:

  1. The MAJOR version is currently 0, indicating initial development.
  2. The MINOR version is currently incremented when backwards incompatible changes are introduced to the public API.
  3. The PATCH version is currently incremented when bug fixes or backwards compatible changes are introduced to the public API.

Downloading

You can download this package from:

Verifying GitHub Releases

See Verifying GitHub Releases for more information.

Security

We take all security reports seriously. When we receive such reports, we will investigate and subsequently address any potential vulnerabilities as quickly as possible. If you discover a potential security issue in this project, please notify AWS/Amazon Security via our vulnerability reporting page or directly via email to AWS Security. Please do not create a public GitHub issue in this project.

License

This project is licensed under the Apache-2.0 License.

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

openjd_adaptor_runtime-0.9.2.tar.gz (67.9 kB view details)

Uploaded Source

Built Distribution

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

openjd_adaptor_runtime-0.9.2-py3-none-any.whl (97.7 kB view details)

Uploaded Python 3

File details

Details for the file openjd_adaptor_runtime-0.9.2.tar.gz.

File metadata

  • Download URL: openjd_adaptor_runtime-0.9.2.tar.gz
  • Upload date:
  • Size: 67.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openjd_adaptor_runtime-0.9.2.tar.gz
Algorithm Hash digest
SHA256 93ff859c2b1840f5f9551f8aede9db7dba4e1349eb718fad1d3451607eca91cc
MD5 ca76faff6bbf33fbd1114e8122b99abe
BLAKE2b-256 bfe073b9b763f52a55af2eb382ebde89cb2b3506d6ac0d310e61d1849cd17787

See more details on using hashes here.

Provenance

The following attestation bundles were made for openjd_adaptor_runtime-0.9.2.tar.gz:

Publisher: release_publish.yml on OpenJobDescription/openjd-adaptor-runtime-for-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openjd_adaptor_runtime-0.9.2-py3-none-any.whl.

File metadata

File hashes

Hashes for openjd_adaptor_runtime-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d9cfac4926198c9319492f0594aee2d86487a458c3f4707e52927a7de38d9134
MD5 a4b986ee7c8a1f9b20207ca89d4865ea
BLAKE2b-256 71d0100cc4e0696818f56f2bcf8f1f6e0b8cb19c36459c0e8ed66abb9765fc0e

See more details on using hashes here.

Provenance

The following attestation bundles were made for openjd_adaptor_runtime-0.9.2-py3-none-any.whl:

Publisher: release_publish.yml on OpenJobDescription/openjd-adaptor-runtime-for-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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