Updating for any one wondering about DogeCoin or Litecoin which is also possible with 3 simple changes to the pubkey address in base58.py
I just checked, and it appears that no change is necessary.
My function works for DOGE and LTC addresses without modification.
>>> print btc2clam('DT4ZXv7ByoGbrkE6umxLpVesy5BUWmRqxw')
xWE6tY11x6rMN89NXfbShun4K3kQXVj7C8