We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
In addition to several classes, snap-parser includes a couple of helper functions.
snap-parser
parse()
This is the same as the parse() function from xmltodict. Don't use this in production code.
xmltodict
project_from_xml()
This function parses an XML string and returns a Project object:
import snap_parser f = open("project.xml") project = snap_parser.project_from_xml(f.read()) f.close()
project_from_path()
This function parses an XML file and returns a Project object:
import snap_parser project = snap_parser.project_from_path("project.xml")