Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.60.10 instead.
Reason given by maintainers: https://github.com/aws-deadline/deadline-cloud/issues/376

AWS Deadline Cloud client

pypi python license

AWS Deadline Cloud client is a multi-purpose python library and command line tool for interacting with and submitting Open Job Description (OpenJD) jobs to AWS Deadline Cloud.

To support building workflows on top of AWS Deadline Cloud it implements its own user interaction, job creation, file upload/download, and other useful helpers around the service's api. It can function as a pipeline tool, a standalone gui application, or even be embedded within other applications' runtimes.

Compatibility

This library requires:

  1. Python 3.8 or higher; and
  2. Linux, Windows, or macOS operating system.

Getting Started

The AWS Deadline Cloud client can be installed by the standard python packaging mechanisms:

$ pip install deadline

or if you want the optional gui dependencies:

$ pip install "deadline[gui]"

Usage

After installation it can then be used as a command line tool:

$ deadline farm list
- farmId: farm-1234567890abcdefg
  displayName: my-first-farm

or as a python library:

from deadline.client import api
api.list_farms()
# {'farms': [{'farmId': 'farm-1234567890abcdefg', 'displayName': 'my-first-farm', ...},]}

Job attachments

Job attachments enable you to transfer files between your workstations and AWS Deadline Cloud, by using Amazon S3 buckets as content-addressed storage in your AWS account.

See job attachments for a more in-depth look at how files are uploaded, stored, and retrieved.

Job bundles

At minimum a job bundle is a folder that contains an OpenJD template as a file named template.json or template.yaml, however it can optionally include:

  1. an asset_references.yaml - lists file inputs and outputs,
  2. a parameter_values.yaml - contains the selected values for the job template's parameters,
  3. and any number of additional files required for the job.

For example job bundles, visit the samples repository.

To submit a job bundle, you can run

$ deadline bundle submit <path/to/bundle>

or if you have the optional GUI components installed, you can load up a job bundle for submission by running:

$ deadline bundle gui-submit --browse

On submission a job bundle will be created in the job history directory (default: ~/.deadline/job_history).

For more information on jobs and job bundles, see AWS Deadline Cloud jobs.

Configuration

You can see the current configuration by running:

$ deadline config show

and change the settings by running the associated get and set commands.

To see a list of settings that can be configured, run:

$ deadline config --help

Or you can manage settings by a graphical interface if you have the optional gui dependencies:

$ deadline config gui

By default, configuration of AWS Deadline Cloud is provided at ~/.deadline/config, however this can be overridden by the DEADLINE_CONFIG_FILE_PATH environment variable.

Authentication

In addition to the standard AWS credential mechanisms (AWS Profiles, instance profiles, and environment variables), AWS Deadline Cloud monitor credentials are also supported.

To view the currently configured credentials authentication status, run:

$ deadline auth status
    Profile Name: (default)
          Source: HOST_PROVIDED
          Status: AUTHENTICATED
API Availability: True

If the currently selected AWS Profile is set-up to use AWS Deadline Cloud monitor credentials, you can authenticate by logging in:

$ deadline auth login

and removing them by logging out:

$ deadline auth logout

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.

Contributing

See CONTRIBUTING for information on reporting issues, requesting features, and developer information.

Security

See security issue notifications for more information.

Telemetry

See telemetry for more information.

Optional third party dependencies - GUI

N.B.: Although this repository is released under the Apache-2.0 license, its optional GUI feature uses the third party Qt and PySide projects. The Qt and PySide projects' licensing includes the LGPL-3.0 license.

License

This project is licensed under the Apache-2.0 License.

Metadata

Release files for deadline 0.48.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deadline 0.48.5
File Size Uploaded
deadline-0.48.5.tar.gz 179.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for deadline 0.48.5
File Interpreter ABI Platform
deadline-0.48.5-py3-none-any.whl Python 3 none any Details

Total release size: 401.8 kB

Release files / deadline-0.48.5.tar.gz

Download URL deadline-0.48.5.tar.gz
Size 179.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d1b2e8a29e47748701e6b8a2d1d3de7cc91d52f783813fd56af732313f43dc4d
BLAKE2b-256 checksum
How to use checksums
2be35d4d343a8d084e9121f817d060ef96fb05018cbdad2496486c27cfc5f554
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / deadline-0.48.5-py3-none-any.whl

Download URL deadline-0.48.5-py3-none-any.whl
Size 221.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ef881c768f35b03fa163d87422e1b84cd0d2683d3f37aed2bab91c9e313aa9b
BLAKE2b-256 checksum
How to use checksums
a7cdd0000f99f5fca1147979007aa3620aaf8c1cb98dcfabe6706407797c47ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

0.60.7

2 release files

0.60.5

2 release files

0.60.4

2 release files

0.60.3

2 release files

0.60.2

2 release files

0.60.1

2 release files

0.59.1

2 release files

0.59.0

2 release files

0.58.0

2 release files

0.57.2

2 release files

0.57.1

2 release files

0.57.0

2 release files

0.56.1

2 release files

0.56.0

2 release files

0.54.3

2 release files

0.54.1

2 release files

0.54.0

2 release files

0.53.2

2 release files

0.53.1

2 release files

0.53.0

2 release files

0.52.1

2 release files

0.52.0

2 release files

0.51.0

2 release files

0.49.8

2 release files

0.49.7

2 release files

0.49.5

2 release files

0.49.4

2 release files

0.49.2

2 release files

0.49.1

2 release files

0.49.0

2 release files

0.48.9

2 release files

0.48.8

2 release files

0.48.6

2 release files

This release

0.48.5 This release

2 release files

0.48.3

2 release files

0.48.2

2 release files

0.48.0

2 release files

0.47.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page