EADoodler
By Berkeley Art Museum and Pacific Film Archive
This script uses lxml to generate a representation of an EAD XML document that you can do different stuff with. The basic EAD class handles the namespace junk that EAD includes and has a built-in function to extract all the item or folder level info from the finding aid. One major assumption is that the EAD is generated by ArchivesSpace, but it’s probably applicable to other sources (as long as they use the same XML namespaces provided by ArchivesSpace/EAD spec).