Skip to main content

Native Python PTSL (Pro Tools Scripting Library) RPC interface

Project description

Lint and Test codecov Documentation Status GitHub last commit

Pro Tools Version - 2024.10 PTSL Version - 5

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.

  • session_info.py - This example prints a list of gettable properties from the currently-open session.
  • print_tracks.py - This example prints a list of every track in the currently-open session, including state information like selection, mute and solo state, track color and track ID.
  • make_session.py - Creates a new session interactively from the terminal.
  • pt_set.py - Allows several session setup options to be set from the terminal.
  • pt_pasteboard.py - Demonstrates triggering cut/copy/paste actions.
  • toolshell.py - Implements a command line interface for Pro Tools.

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_ptsl-500.1.1.tar.gz (60.7 kB view details)

Uploaded Source

Built Distribution

py_ptsl-500.1.1-py3-none-any.whl (78.5 kB view details)

Uploaded Python 3

File details

Details for the file py_ptsl-500.1.1.tar.gz.

File metadata

  • Download URL: py_ptsl-500.1.1.tar.gz
  • Upload date:
  • Size: 60.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.10

File hashes

Hashes for py_ptsl-500.1.1.tar.gz
Algorithm Hash digest
SHA256 4f953ad822a806873369417e6491f9ec76a6116bfd09c27c4c2b5b7e5f1cb059
MD5 abd935dd5fba0a103b823f0d5d9bb79a
BLAKE2b-256 112ee264092f0433783845441af176530f8305a16fe5611ce476cb8018567549

See more details on using hashes here.

File details

Details for the file py_ptsl-500.1.1-py3-none-any.whl.

File metadata

  • Download URL: py_ptsl-500.1.1-py3-none-any.whl
  • Upload date:
  • Size: 78.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.10

File hashes

Hashes for py_ptsl-500.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0682d3881773c0b1d57d460e3548db05ccbee6700129d20208a813fa1ad98997
MD5 e726c2c6a45960a15c804f4b16eff10c
BLAKE2b-256 2a65b3c3e2b512e9006cdecf52dfcdfed564ac0ab65fdb5de35f481a45588889

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page