Tools (predominantly in python) for the Dark Energy Survey (DES)