You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SimpleDataHandler can be used to parse JSON-like documents, like test.xml.
python library_parser.py test.xml
I can't think of a good name for the parser. If you find it useful, feel free
to suggest a new name for it!
About
A SAX handler written in Python, suitable for parsing an iTunes Library into a JSON like structure. Currently it loads the entire document into memory, but it could be easily modified to parse only the desired sections. Warning: coded quickly, tested even quicker! Not much validation going on in the code...