The current Python implementation is fine, if messy. But for format registries, it's essentially implementing the same thing as Siegfried's roy tool. Rather than keeping this separate tool updated, it could be merged with roy and perhaps modify roy so that it can output the full normalized registry contents as YAML/JSON. This might be quite a lot of work though, and will need to be in Go rather than Python, so probably a long-term goal.
Some of the steps appear to be:
The current Python implementation is fine, if messy. But for format registries, it's essentially implementing the same thing as Siegfried's
roytool. Rather than keeping this separate tool updated, it could be merged withroyand perhaps modifyroyso that it can output the full normalized registry contents as YAML/JSON. This might be quite a lot of work though, and will need to be in Go rather than Python, so probably a long-term goal.Some of the steps appear to be:
roy inspectso it emits the whole normalised dataset as YAML or similar.roy(FFW, GitHub Linguist, TRiD, ???).wikidata.sigbuild so the Archiveamatica extensions can be omitted (like-pronom)royto gather the data and aggregate that instead.