We are pleased to announce that we have released ftrack API 2.0! This major new version of the ftrack API follows a year of rigorous internal testing and feedback from our diligent beta users.

 

ftrack API 2.0 enables you to phase out the deprecated Python 2.X and focus your pipeline around Python 3. Python 3 is maturing into the VFX community standard, starting with 2020 specifications, which the industry is likely to put in place later this year for live production.

At the time of writing, Houdini, 3ds Max 2021, and Maya 2021 have provided official support for Python 3.

You can access ftrack API 2.0 via the button below. However, please make sure that you also take a closer look at the information later in this blog post!

 
 

What is the benefit?

 

ftrack API 2.0 (and all subsequent 2.0 releases) will enable studios and their users to run both python 2.7+ and python 3.6+ in parallel. This dual approach presents an easy way for your studio to update pipelines and base codes without slowing down our completely halting production.

 

Is ftrack API 2.0 as reliable as previous versions?

 

The short answer: yes!

To go into more detail, ftrack’s APIs are continually and automatically tested through our bitbucket pipelines on each commit, ensuring the highest stability possible.

All tests are sandboxed for each interpreter (Python version) to ensure reliable testing results and use a dedicated ftrack test version to run.

Our commits are reviewed by 1+ developers at minimum to ensure all code aligns with ftrack’s quality standards.

We coded ftrack API 2.0 with Python 3.7 (the VFX Platform standard) in mind. However, to ensure no surprises lurk ahead, we regularly test the code against 2.7+, 3.6+, 3.7+, and (to play things safe) 3.8+.

 
 

How do I access ftrack API 2.0?

 

As with all the previous releases, this new API version is available on the PyPi registry: Access the ftrack PyPi registry

To start exploring ftrack’s Python API, open a terminal and type the following.

 
 
 

$ python -m pip install ftrack-python-api # for python2

or

 
 
 

$python3 -m pip install ftrack-python-api # for python3

 

Please note: we highly recommend installing the API in a virtual environment while testing.

 
 

Is there anything else I should know?

 

As with any other major software release, ftrack API 2.0 offers a lot of benefits, but its implementation can also break older code. You can see a list of all major changes via the changelog, available here.

There are few other key changes we would like to make you aware of before rolling this version out to full production:

 

1) ftrack API 2.0 does not automatically connect to the remote event hub

To maintain the same behaviors of the old (1.8.x) API, make sure that your session is constructed with the following session argument:

 
 
 

auto_connect_event_hub=True

So from:

 
 
 

ftrack_session = ftrack_api.Session()

 

to:

 
 
 

ftrack_session = ftrack_api.Session(auto_connect_event_hub=True)

 

Without this connection to the remote event system, you won’t be able to listen to events such as track.location.component-added or ftrack.location.component-removed.

 

2) ftrack Connect and our DCC integrations do not use ftrack API 2.0 (yet)

Currently, ftrack Connect and our various app integrations are locked to a maximum version of 1.9.X of the API, hence they won’t download or use the new 2.0 by default.

This is for two main reasons:

 
  • the integrations have not yet been ported yet to Python 3
  • the integrations have not been updated yet to ensure the auto_connect_event_hub is set to True
 
 

What’s next with ftrack API 2.0?

 

At ftrack, we strive to ensure our end users can access the latest and greatest tools available. That means looking into an updated set of integrations that support the new API as a priority.

Over the coming weeks and months, we’ll work on this, as well as addressing other changes to port everything ver to PySide2.

We’ll keep you updated as we put these changes into effect. In the meantime, if you have any questions whatsoever about the above, please don’t hesitate to let us know.

 

Flexible project management

 

Try ftrack Studio and find out why it’s the most flexible and adaptable production tracking platform available.

 
 

More from the blog

 

Enhanced performance in ftrack Studio: Fine-tuning for speed, reliability, and security

| API, Developer, New features, Product, Productivity, Studio | No Comments
From significant API query speed improvements to the adoption of Python 3, ftrack Studio has recently received a batch of speed, reliability, and security enhancements to make your project management…

Backlight and the Visual Effects Society forge a partnership for the VES Awards judging process

| Case Study | No Comments
Backlight was thrilled to be invited by the Visual Effects Society (VES) - the VFX industry’s premier global honorary society - to help support the virtual judging process for its…

Presenting the new sidebar: Enhancing project navigation in ftrack Studio

| New features, Product, Release, Studio | No Comments
We’re excited to announce the rollout of a new sidebar in ftrack Studio, now accessible across all views. This update marks a big step in our ongoing effort to refine…

Achieving Better Feedback Cycles and Faster Nuke Workflows at D-Facto Motion Studio

| Case Study, Studio | No Comments
D-Facto Motion GmbH is one of the largest and most well-known studios in European visual effects and post-production. With a presence across seven cities in Germany and a new facility…

Making the switch: The transition to cineSync 5

| Announcements, cineSync, News, Product | No Comments
cineSync 5 is going to become the primarily supported version of cineSync. Here’s what’s changing, why, and how it will supercharge your next project. Last year, we unveiled cineSync 5,…

Supporting Your Studio: Free ftrack Studio Training and Office Hours from Backlight

| News | No Comments
Our industry has recently faced the toughest challenges ever encountered. As the echoes of industry strikes begin subsiding, we offer our support to empower and uplift the film and TV…

What’s new in cineSync – a deeper iconik integration, laser tool, OTIOZ support, and more

| cineSync, New features, Product, Release | No Comments
cineSync's latest update brings flexibility and precision to your cineSync experience, making it easier to connect your review sessions with media management and storage in iconik, introducing color profiles to…

The Imaginarium Studios: Running a Thriving Motion Capture Studio with ftrack Studio

| Animation, Case Study, News, Q&A, Review, Studio | No Comments
Formed in 2012 by legendary actor and director Andy Serkis and led by CEO Matt Brown, The Imaginarium Studios is a performance-led capture and virtual production studio with facilities located…