Hi
I've seen many projects and created a few one of script myself where the variations of the same base58 encode/decode snippet is included. I took the liberty to package this up and added it to pypi so it's super easy to depend on it. As a added bonus I've added python3 support and made it usable as a command-line tool that behave similar to base64(1)
Cheers!
https://pypi.python.org/pypi/base58/