IntentDev/touchpy ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python toolkit for working with TouchDesigner components from code, kind of like a bridge between TouchDesigner and Python.
I want it to let me load a .tox component, start it, step frames, and interact with TOPs, CHOPs, DATs, and parameters from Python. It should feel fast and support GPU accelerated data exchange, especially for NVIDIA CUDA and Vulkan use cases. Make it usable as a Python package, with a simple API, and include a few examples showing how to send data back and forth, including something that works nicely with PyTorch tensors and numpy arrays.
Please make it work on Windows with Python 3.9 to 3.14, assuming TouchDesigner is installed. If you need to look up current docs or APIs online, go ahead. Also include basic docs and a clean build setup so it can be built from source and installed like a normal package.