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.5.tar.gz (68.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.5-py3-none-any.whl (98.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openjd_adaptor_runtime-0.9.5.tar.gz
  • Upload date:
  • Size: 68.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.5.tar.gz
Algorithm Hash digest
SHA256 049b7b4404cb325711f094ea6e48a75e5c3a4582d334bc0872c03d6ed7f00e80
MD5 ecc05dcec41ad252c8ed50ca9d560fd5
BLAKE2b-256 bc0a5c524ad26d0940d81161e6eae96a90bc108da66d6898470bf3dc30a0adf7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openjd_adaptor_runtime-0.9.5-py3-none-any.whl
Algorithm Hash digest
SHA256 308c213b0e2da6a06d2bac034e735d4399c2cfa0640d356bfb546acd2285f2b9
MD5 e934b66b3f3d2a18e95ac9e8991082f6
BLAKE2b-256 df4415cee3e6f92337f3953988809b2c4ff8b5a2092338a67dffab7f3a967aeb

See more details on using hashes here.

Provenance

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