Parsing

PdPy file to Json-format file

pdpy_lib.parse.pdpy2json.PdPyLoad(fp, patch, pddb)[source]

Reads the lines from a .pdpy file pointer fp and populates a PdPy obj

Returns

  • A PdPy patch objects

  • Input

  • —–

    1. .pdpy file pointer fp

    1. patch object (PdPy) to load

    1. pddb is a json file holding a pure data object database

PdPyXMLParser Class Definition

class pdpy_lib.parse.pdpyxmlparser.PdPyXMLParser(parent, xml)[source]

Bases: object

close()[source]
data(data)[source]
end(tag)[source]
start(tag, attrib)[source]

PdPy file to Json-format file

class pdpy_lib.parse.pdpyparser.PdPyParser(pdpy_lines, pddb, **kwargs)[source]

Bases: PdPy

Reads the lines from a .pdpy file pointer fp and populates a PdPy obj

Returns

  • A PdPy patch objects

  • Input

  • —–

    1. .pdpy file pointer fp

    1. pddb is a json file holding a pure data object database

objectConnector(source=None, sink=None, canvas=None)[source]
objectCreator(objClass, argv, root=False, canvas=None)[source]
parse()[source]

Parse the store pdpy file lines

pdpyCreate(string)[source]

create pd stuff from pdpy lang