Name | py-ptsl JSON |
Version |
301.0.0
JSON |
| download |
home_page | None |
Summary | Native Python PTSL (Pro Tools Scripting Library) RPC interface |
upload_time | 2024-04-14 02:43:47 |
maintainer | None |
docs_url | None |
author | None |
requires_python | ~=3.8 |
license | None |
keywords |
pro tools
scripting
grpc
automation
avid
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
[![Lint and Test](https://github.com/iluvcapra/py-ptsl/actions/workflows/lint_and_pytest.yml/badge.svg)](https://github.com/iluvcapra/py-ptsl/actions/workflows/lint_and_pytest.yml)
[![codecov](https://codecov.io/gh/iluvcapra/py-ptsl/branch/master/graph/badge.svg?token=PR6SUQJISZ)](https://codecov.io/gh/iluvcapra/py-ptsl)
[![Documentation Status](https://readthedocs.org/projects/py-ptsl/badge/?version=latest)](https://py-ptsl.readthedocs.io/en/latest/?badge=latest)
![GitHub last commit](https://img.shields.io/github/last-commit/iluvcapra/py-ptsl)
![](https://img.shields.io/pypi/pyversions/py-ptsl.svg) [![](https://img.shields.io/pypi/v/py-ptsl.svg)](https://pypi.org/project/py-ptsl/) ![](https://img.shields.io/pypi/wheel/py-ptsl.svg)
[![Pro Tools Version - 2023.9](https://img.shields.io/static/v1?label=Pro+Tools+Version&message=2023.9&color=8f228f)](https://github.com/iluvcapra/py-ptsl/blob/master/docs/source/ptsl_versions.rst)
[![PTSL Version - 3](https://img.shields.io/static/v1?label=PTSL+Version&message=3&color=0000ff)](https://github.com/iluvcapra/py-ptsl/blob/master/docs/source/ptsl_versions.rst)
# 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](https://developer.avid.com) for the most
current documentation and protobuf source files.
## Example
See the [examples directory](examples) for scripts demonstrating how to use the
client.
- [session_info.py](examples/session_info.py) - This example
prints a list of gettable properties from the currently-open
session.
- [print_tracks.py](examples/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](examples/make_session.py) - Creates a new
session interactively from the terminal.
- [pt_set.py](examples/pt_set.py) - Allows several session setup
options to be set from the terminal.
- [pt_pasteboard.py](examples/pt_pasteboard.py) - Demonstrates
triggering cut/copy/paste actions.
### Sending Commands To Pro Tools with the `Engine` class
The `Engine` class exposes `ptsl` commands with a method call interface.
```python
from ptsl import open_engine
with open_engine(company_name="MY_COMPANY", application_name="MY_TOOL") as engine:
session_name = engine.session_name()
```
Raw data
{
"_id": null,
"home_page": null,
"name": "py-ptsl",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.8",
"maintainer_email": null,
"keywords": "pro tools, scripting, grpc, automation, avid",
"author": null,
"author_email": "Jamie Hardt <jamiehardt@me.com>",
"download_url": "https://files.pythonhosted.org/packages/14/42/398c75ed24dcf0659609511cead1877ca6bdf507ae0f210a6547aaa85bc7/py_ptsl-301.0.0.tar.gz",
"platform": null,
"description": "[![Lint and Test](https://github.com/iluvcapra/py-ptsl/actions/workflows/lint_and_pytest.yml/badge.svg)](https://github.com/iluvcapra/py-ptsl/actions/workflows/lint_and_pytest.yml)\n[![codecov](https://codecov.io/gh/iluvcapra/py-ptsl/branch/master/graph/badge.svg?token=PR6SUQJISZ)](https://codecov.io/gh/iluvcapra/py-ptsl)\n[![Documentation Status](https://readthedocs.org/projects/py-ptsl/badge/?version=latest)](https://py-ptsl.readthedocs.io/en/latest/?badge=latest)\n![GitHub last commit](https://img.shields.io/github/last-commit/iluvcapra/py-ptsl)\n\n![](https://img.shields.io/pypi/pyversions/py-ptsl.svg) [![](https://img.shields.io/pypi/v/py-ptsl.svg)](https://pypi.org/project/py-ptsl/) ![](https://img.shields.io/pypi/wheel/py-ptsl.svg)\n\n[![Pro Tools Version - 2023.9](https://img.shields.io/static/v1?label=Pro+Tools+Version&message=2023.9&color=8f228f)](https://github.com/iluvcapra/py-ptsl/blob/master/docs/source/ptsl_versions.rst)\n[![PTSL Version - 3](https://img.shields.io/static/v1?label=PTSL+Version&message=3&color=0000ff)](https://github.com/iluvcapra/py-ptsl/blob/master/docs/source/ptsl_versions.rst)\n\n# py-ptsl\n\nNative Python PTSL (Pro Tools Scripting Library) RPC interface\n\n## Important Notice! \n\nThis software is developed by enthusiasts and is not a work of or supported by \nAvid. Developers who wish to contribute to this project should obtain the PTSL \nSDK [from Avid's Developer site](https://developer.avid.com) for the most \ncurrent documentation and protobuf source files.\n\n## Example\n\nSee the [examples directory](examples) for scripts demonstrating how to use the\nclient.\n\n- [session_info.py](examples/session_info.py) - This example \n prints a list of gettable properties from the currently-open\n session.\n- [print_tracks.py](examples/print_tracks.py) - This example prints\n a list of every track in the currently-open session, including state\n information like selection, mute and solo state, track color and \n track ID.\n- [make_session.py](examples/make_session.py) - Creates a new\n session interactively from the terminal.\n- [pt_set.py](examples/pt_set.py) - Allows several session setup\n options to be set from the terminal.\n- [pt_pasteboard.py](examples/pt_pasteboard.py) - Demonstrates\n triggering cut/copy/paste actions.\n\n\n### Sending Commands To Pro Tools with the `Engine` class\n\nThe `Engine` class exposes `ptsl` commands with a method call interface.\n\n```python\nfrom ptsl import open_engine\n\nwith open_engine(company_name=\"MY_COMPANY\", application_name=\"MY_TOOL\") as engine:\n session_name = engine.session_name()\n```\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Native Python PTSL (Pro Tools Scripting Library) RPC interface",
"version": "301.0.0",
"project_urls": {
"Documentation": "https://py-ptsl.readthedocs.io",
"Home": "https://github.com/iluvcapra/py-ptsl",
"Source": "https://github.com/iluvcapra/py-ptsl",
"Tracker": "https://github.com/iluvcapra/py-ptsl/issues"
},
"split_keywords": [
"pro tools",
" scripting",
" grpc",
" automation",
" avid"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1e0adcd615c952275b1458a2ef3ab366f4550327a3868c52e7ef556fb79ad994",
"md5": "3859deed99e6c6fb4832dee332fe3165",
"sha256": "9f4cfadcdb52d1974c1ffb8f07f137de841ca2ddc6dd787ef8eeaeff79565e4b"
},
"downloads": -1,
"filename": "py_ptsl-301.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3859deed99e6c6fb4832dee332fe3165",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.8",
"size": 74995,
"upload_time": "2024-04-14T02:43:45",
"upload_time_iso_8601": "2024-04-14T02:43:45.808695Z",
"url": "https://files.pythonhosted.org/packages/1e/0a/dcd615c952275b1458a2ef3ab366f4550327a3868c52e7ef556fb79ad994/py_ptsl-301.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1442398c75ed24dcf0659609511cead1877ca6bdf507ae0f210a6547aaa85bc7",
"md5": "448b15d3e892adb4eb4491c67e9ce997",
"sha256": "af7b249293973a7891b08a28d952b3a6b7089b7ee8942d0d58bdc2f1c03ea206"
},
"downloads": -1,
"filename": "py_ptsl-301.0.0.tar.gz",
"has_sig": false,
"md5_digest": "448b15d3e892adb4eb4491c67e9ce997",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.8",
"size": 57399,
"upload_time": "2024-04-14T02:43:47",
"upload_time_iso_8601": "2024-04-14T02:43:47.369932Z",
"url": "https://files.pythonhosted.org/packages/14/42/398c75ed24dcf0659609511cead1877ca6bdf507ae0f210a6547aaa85bc7/py_ptsl-301.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-14 02:43:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "iluvcapra",
"github_project": "py-ptsl",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "py-ptsl"
}