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.3.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.3-py3-none-any.whl (97.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openjd_adaptor_runtime-0.9.3.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.3.tar.gz
Algorithm Hash digest
SHA256 cd3503fb20fc104a66ef71fd7c1fdd36ddf6001e37015319bc1e39b08872da40
MD5 801f86823e459e0054cb25bbf5598089
BLAKE2b-256 9eb04f18bd3f3728d17c6ec3e96957b97d23b1d78dfd4fd2a3af96e3482e78d7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openjd_adaptor_runtime-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 854b2e9212868575d675359bdb59bc356587e5c4404fb5d2ca86bfbdbdb6d54c
MD5 47b104c54f486a7596da5c29ccbe607d
BLAKE2b-256 de1e0ea02d0bddce1fd783e332e05301f2c2cfc0e4488bcf898a77ce6c9f43a1

See more details on using hashes here.

Provenance

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