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.4.tar.gz (67.8 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.4-py3-none-any.whl (97.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for openjd_adaptor_runtime-0.9.4.tar.gz
Algorithm Hash digest
SHA256 e92b99b600e9cdcc9c47e231654c00ed91b80f4bf92b6479f9061bc020c1667c
MD5 6fc2ea1087e8fe6095b9db9a494b05c8
BLAKE2b-256 0690a6af5712d3f4b65c5ae89fba23417c4f49a2fbb18f24491f001965e8dc69

See more details on using hashes here.

Provenance

The following attestation bundles were made for openjd_adaptor_runtime-0.9.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for openjd_adaptor_runtime-0.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fa80d6e0dd87ab33dcf66ca976c72db451cf5b2b171037a20fe1a81c506f10cf
MD5 e94577de5465f5dc75ba4b620e9b732e
BLAKE2b-256 8ac3bac3d406d09d341ad3ea47e4e9df248297dc3c69c326dfe8f1bba52c80d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for openjd_adaptor_runtime-0.9.4-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