I have just stumbled upon a
pixhost uploader written in Python. Did not try it yet, but it might be a reasonable alternative to home-grown bash or php scripts.
EDIT: After a cursory look at the code I'm positive there is no gallery support whatsoever, which is bad.