How to use the vim code for Google's Python style

I found interesting code on GitHub here

I would like to use it, but when I just dropped it in my .vimrc, it interfered with editing of other kinds of code such as C. How do I associate it with Python code only?