The PdFile library for Pure Data static patching.

PdFile is a pure Python library for dealing with Pure Data files programmatically. It enables creating and some basic understanding of PD files from Python. With PdFile, a Python programmer can develop complex PD patches without having to use PD's graphical interface.

This library does not require PD.


Copyright 2011-2012 Pablo Duboue

PdFile is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PdFile is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the gnu general public license along with PdFile. If not, see


Some examples are shipped with the pdfile Python module. To try them, run the examples scripts located in pdfile/examples:

python examples/


Purity, a Python library for dynamic patching.

Unofficial PD v0.37 fileformat specification

Built With

Share this project: