The ability to share as a Map File is a great way to share a common operational view in Pro. It would be nice to be able to work with these files using python.
At a minimum allow python to save and open a Map File just like a the layer file.
Extending the API to provide R/W access to the name and metadata fields in the Map Properties would make it even better. This would facilitate publishing these map files to ArcGIS Online.
Extending the API for Layer files to provide R/W access to the name and metadata fields in the layer file would also be very helpful. This would facilitate publishing Web Layers to ArcGIS Online. It would also facilitate managing the metadata attributes.