Along the same lines as Oliver's great R client [1], I just started work on a python version:
PyPI: https://pypi.python.org/pypi/wmf/0.1 code: https://github.com/milimetric/wmf (PRs welcome)
And if you're trying to skip past all the setup repository cruft, the meat: https://github.com/milimetric/wmf/blob/master/wmf/analytics/api/pageviews.py