I was using a Python script to create sitemaps for my sites, but I stopped.
Why did I stop? Because my sites are well designed for crawlability. They don't need sitemaps. Very very few sites will benefit from sitemaps.
Sitemaps don't help you rank, they just help Googlebot (etc...) crawl you. However, unless your site is poorly designed, it should be easily crawlable.
If your site is that poorly designed, you probably have bigger problems.