Skip to main content

ftrack-s3-accessor

An ftrack s3 accessor updated to work with ftrack-python-api and boto3.

Installation

Install using pip:

pip install ftrack-s3-accessor

If you want to use with the transfer components action found here you'll need to additionally:

pip install ftrack-action-handler

Configuration

Configure a new location within ftrack with the name 'studio.remote'. This will be used as the location for s3.

Create a storage bucket in s3 and set the bucket name using the FTRACK_S3_ACCESSOR_BUCKET environment variable (default: ftrack). Ensure your bucket name is globally unique and meets aws s3 naming restrictions.

Set all other ftrack environment variables for your ftrack instance.

Running the scripts from within your environment requires you to additionally set your sources root to the accessor directory.

PYTHONPATH=./ftrack_s3_accessor

Ensure you have an working aws configuration under your ~/.aws folder. You can check this by running:

import boto3

If this fails, your aws configuration isn't setup properly. Refer to the boto3 documentation on how to set it up. You should only need a ~/.aws/config and ~/.aws/credentials file.

Usage

The main plugin can be found in the plugins folder. This folder may be registered using the FTRACK_EVENT_PLUGIN_PATH ftrack environment variable so that it is picked up when ftrack is started.

Examples of how to use the plugin can be found in the scripts folder. The simplest way to launch ftrack with the accessor is scripts/start_ftrack_with_s3.py.

It is possible to use the transfer components action to move components between local and remote storage. Ensure it is on the FTRACK_EVENT_PLUGIN_PATH (or add it to the plugins folder) and it should become available under ftracks actions menu. You will need to ensure your local storage is also correctly configured within a script when running the accessor outside of ftrack-connect, as the connect location configured by the desktop client will not be available as an option.

Release files for ftrack-s3-accessor 0.1.7.post1

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

Source distribution (sdist)

Source distribution for ftrack-s3-accessor 0.1.7.post1
File Size Uploaded
ftrack-s3-accessor-0.1.7.post1.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ftrack-s3-accessor 0.1.7.post1
File Interpreter ABI Platform
ftrack_s3_accessor-0.1.7.post1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 10.6 kB

Release files / ftrack-s3-accessor-0.1.7.post1.tar.gz

Download URL ftrack-s3-accessor-0.1.7.post1.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
639a0c5ea942a52d52e4ac68ccf0004d1ac4c099363aa1429452b37dad72bebe
BLAKE2b-256 checksum
How to use checksums
9cae26919806adcfac108b4ddf06b8848d1ac3ccc16f56f53ff94b8cf1ffc5f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.2 CPython/3.8.6 Linux/5.4.0-1026-azure

Release files / ftrack_s3_accessor-0.1.7.post1-py2.py3-none-any.whl

Download URL ftrack_s3_accessor-0.1.7.post1-py2.py3-none-any.whl
Size 5.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
72a8d9f0d720e3c90abe1cd9ff24bcbc3d2c274ff43ccccd9695f6ea122c9bd5
BLAKE2b-256 checksum
How to use checksums
0483f040060304819676578a97309a7fe0da67fc9c07fe7567f8822a3a4339a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.2 CPython/3.8.6 Linux/5.4.0-1026-azure

Release history Release notifications | RSS feed

This release

0.1.7.post1 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

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