Library for generating HD keys/addresses (ideally for python)
Actually python library pycoin seems to be sufficient for both testnet and mainnet address. I had just missed it the first time I checked the library.

It also provides a powerful command line tool.