Encoding

PdPyEncoder Class Definition

class pdpy_lib.encoding.pdpyencoder.PdPyEncoder[source]

Bases: JSONEncoder

class pdpy_lib.encoding.xmltagconvert.XmlTagConvert[source]

Bases: object

find(element, string)[source]
from_tilde(tag)[source]

Returns the tag name replacing _tilde with tilde char

isvalid(tag)[source]

Returns True if the tag is valid

to_pd_obj(pd_key)[source]

Returns the tag name replacing special characters

to_tilde(tag)[source]

Returns the tag name replacing tilde char with _tilde

to_xml_tag(key)[source]

Returns the tag name replacing special characters

XML Converter Class

class pdpy_lib.encoding.xmlbuilder.XmlBuilder[source]

Bases: XmlTagConvert

XML Converter Class