Skip to main content

OpenCue PyOutline

PyOutline is a Python library for building and managing OpenCue job definitions. It provides an API to create outlines that describe jobs, layers, and tasks, making it easier to construct repeatable workflows for rendering pipelines.

This library serves as a Python layer over OpenCue's XML job descriptions, allowing the construction of complex jobs without having to edit XML directly. PyOutline is used by CueSubmit to construct job submissions.

Example Usage

Here is a simple example of how to submit a job to cuebot using the API

import outline.modules.shell

# Create a job for submission
job = outline.Outline("test-job", shot='test', show='testing', user='jimmy')

# Create a layer that can later be associated with a job. The command can use internal variables that are  
# replaced at runtime (eg. #IFRAME# which is the current frame rendering)
layer1 = outline.modules.shell.Shell("layer1", type="Render", command=["echo #IFRAME#"], range="1-100")

# Adds the layer to the job
job.add_layer(layer1)

# Create a new layer that will run after the first layer is done. The frame size is the same, but the chunk
# size is set to the full range, which means that it will only result in a single task instead of 1 per frame
layer2 = outline.modules.shell.Shell("layer2", type="Util", command=["echo Collecting frames"], range="1-100", chunk=100, tags="ffmpeg")

# Set the layer to depend on layer1
layer2.depend_on(layer1)

# Add the layer to the job
job.add_layer(layer2)

# Submit the job to cuebot. It will not use the cuerun wrapper and mail notification is disabled.
outline.cuerun.launch(job, use_pycuerun=False, os="Linux", nomail=True)

Metadata

Release files for opencue-pyoutline 1.37.0

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

Source distribution (sdist)

Source distribution for opencue-pyoutline 1.37.0
File Size Uploaded Provenance Actions
opencue_pyoutline-1.37.0.tar.gz 61.9 kB Without provenance Details for opencue_pyoutline-1.37.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for opencue-pyoutline 1.37.0
File Interpreter ABI Platform Actions
opencue_pyoutline-1.37.0-py3-none-any.whl Python 3 none any Details for opencue_pyoutline-1.37.0-py3-none-any.whl

Total release size: 132.1 kB

Release files / opencue_pyoutline-1.37.0.tar.gz

Download URL opencue_pyoutline-1.37.0.tar.gz
Size 61.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3fb3a60ae08c72cf79c4895ba794a38b156cc20b263969ab2be97b2c7b4d1bc7
BLAKE2b-256 checksum
How to use checksums
d2d8c4655d41fd619ff813a4ee89bbf48159d0c2e7dc6f832008140448a57064
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release files / opencue_pyoutline-1.37.0-py3-none-any.whl

Download URL opencue_pyoutline-1.37.0-py3-none-any.whl
Size 70.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb508af3dde45759105ddf65f0a0a5ed47d6c945c931a14b7e595df9de2e1c4b
BLAKE2b-256 checksum
How to use checksums
e201d8a66a2a039732ee44700883ed6bb8511f47212d4a05ee21b9b90640249c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Security for opencue-pyoutline 1.37.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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