tmxlib
A MIT-licensed Python library for handling TMX tile maps, such as those made by the Tiled editor.
This library is designed to support automatic modification of tile maps, such as tiling, automapping, cutting and joining, etc.
Documentation may be found at https://pytmxlib.readthedocs.org
For the Tiled editor, see http://www.mapeditor.org/