I think what you are wanting is exactly what the qSlicerSimpleMarkupsWidget provides.
simple_markups = slicer.qSlicerSimpleMarkupsWidget()
simple_markups.setMRMLScene(slicer.mrmlScene)
Or the Markups module
I think what you are wanting is exactly what the qSlicerSimpleMarkupsWidget provides.
simple_markups = slicer.qSlicerSimpleMarkupsWidget()
simple_markups.setMRMLScene(slicer.mrmlScene)
Or the Markups module