iluvcapra / py-ptsl

Native Python PTSL (Pro Tools Scripting Library) RPC interface
BSD 3-Clause "New" or "Revised" License
29 stars 8 forks source link
audio automation avid daw grpc-python protobuf3 python scripting-engine

Lint and Test codecov Documentation Status GitHub last commit

Pro Tools Version - 2024.6 PTSL Version - 4

py-ptsl

Native Python PTSL (Pro Tools Scripting Library) RPC interface

Important Notice!

This software is developed by enthusiasts and is not a work of or supported by Avid. Developers who wish to contribute to this project should obtain the PTSL SDK from Avid's Developer site for the most current documentation and protobuf source files.

Example

See the examples directory for scripts demonstrating how to use the client.

Sending Commands To Pro Tools with the Engine class

The Engine class exposes ptsl commands with a method call interface.

from ptsl import open_engine

with open_engine(company_name="MY_COMPANY", application_name="MY_TOOL") as engine:
    session_name = engine.session_name()