pyregion (conda): pyregion is a python module to parse ds9 region files. It also supports ciao region files. Please note that the main emphasis of the package is to read in the regions files generated by ds9 itself. It reads most of the region files created by ds9. However, it may fail to read some of the user-created (or created by other programs) region files, even if they can be successfully read by ds9.
Keywords: astronomy|astropy|python|regions