hey folks,
i've been experimenting with python and pd by these days for a art project i intend to do in near future. what i wanted was to create a python module that would allow me to "patch" using python code, without needing to open the pd gui itself, through dynamic patching (for example, if you want to create an [dac~] object, you just need to tell python about it, creating an instance of Object Box class)
despite most people don't think dynamic patching a neat thing, based on this idea, i've built a simple tool for that, the pyata. the whole stuff has some bugs, but it works pretty good (at least it fit my needs). you can check it at:
http://code.google.com/p/pyata/
with it you can:
* create, edit, remove, move, (un)select and click boxes (object, number, comments, symbols and messages);
* get from Pd the state of any box (number of inlet/outlets, the ID of each box on Patch, values of numbers and symbols);
* handle connection management (connect and disconnect boxes);
* handle basic operations (copy, paste, duplicate, cut and save);
hope it can be useful for others too!
cheers,