A Python package for creating interactive maps with anywidget and JavaScript mapping libraries - opengeos/anymap ...
Version 1.0 has been updated to use the centroid of the largest land mass. This way large countries with many disparate areas (like USA, New Zealand, Chile, Portugal ...