Such functionality with the project would require like a dozen lines of code, if anybody modernly comes across this, and would want to achieve these same ends. Moreover because some formats do not include these elements in a consistent fashion and you're better off reading the stitches and calculating the data as that would be the only way to get that information for files like. But, usually most software will simply recalculate these values by parsing file.
Other aspects like height, width, stitch count, are stored in the stitch block within the file. PES files internally contain a number of metadata elements, in version 4+ of the format these are Label, Author, Keywords, Category, Comments. I am the author of EmbroidePy/pyembroidery and it can read those attributes. You need a command line tool built for pes files that could list those aspects.