I would like to share a little utility that I wrote to make downloading genome sequences less of a hassle.
Genomepy is a simple software package to download genome sequences that contains both command-line tools as well as a Python application programming interface (API). It supports several providers for genomes, which currently include UCSC, NCBI and Ensembl. Downloaded genome sequences can be soft- or hard-masked and specific chromosomes or scaffolds can be either included or excluded based on regular expressions. Genomepy is a free and open source software and can be installed through standard package managers (bioconda, pip).
The github repository, including documentation, is here: https://github.com/simonvh/genomepy
JOSS publication here: http://dx.doi.org/10.21105/joss.00320
Hope you find it useful.