user31844: I require a library that I can create (and later import) a HD master key, which I will use to generate hundreds of addresses for both testnet and mainnet!
Ideally, I need a python library (but had trouble of finding a good library for both testnet and mainnet addresses.
An example of how to create testnet addresses would be greatly appreciated (default functionality seems to be for mainnet, e.g. pybitcointools)
Good libraries for other languages are also very welcome!

user44741: Also excellent commentary about pycoin on Richard Kiss's Blog On BIP0032 and Bitcoin Deterministic Wallets
Then also there is Vitalik Buterin's Pybitcointools
Where these commands exist:
    bip32_master_key : (seed) -> bip32 master key
    bip32_ckd : (private or public bip32 key, i) -> child key
    bip32_privtopub : (private bip32 key) -> public bip32 key
    bip32_extract_key : (private or public bip32_key) -> privkey or pubkey


user31844: 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.

31844: <p>I require a library that I can create (and later import) a HD master key, which I will use to generate hundreds of addresses for both testnet and mainnet!</p>

<p>Ideally, I need a python library (but had trouble of finding a good library for both testnet and mainnet addresses.</p>

<p>An example of how to create testnet addresses would be greatly appreciated (default functionality seems to be for mainnet, e.g. pybitcointools)</p>

<p>Good libraries for other languages are also very welcome!</p>
 44741: <p>Also excellent commentary about pycoin on Richard Kiss's Blog <a href="http://blog.richardkiss.com/?p=313" rel="nofollow noreferrer">On BIP0032 and Bitcoin Deterministic Wallets</a></p>

<p>Then also there is Vitalik Buterin's <a href="https://github.com/vbuterin/pybitcointools" rel="nofollow noreferrer">Pybitcointools</a></p>

<p>Where these commands exist:</p>

<pre><code>    bip32_master_key : (seed) -&gt; bip32 master key
    bip32_ckd : (private or public bip32 key, i) -&gt; child key
    bip32_privtopub : (private bip32 key) -&gt; public bip32 key
    bip32_extract_key : (private or public bip32_key) -&gt; privkey or pubkey
</code></pre>
 31844: <p>Actually python library <a href="https://github.com/richardkiss/pycoin" rel="nofollow noreferrer">pycoin</a> seems to be sufficient for both testnet and mainnet address. I had just missed it the first time I checked the library.</p>

<p>It also provides a powerful command line tool.</p>
