If you don't trust a random guy on the internet uploading stuff for GW2 (as you normally should), just download the .py file and you're on the safe side. This tool works for Windows as well as MacOS.