Dotatools is a Python wrapper for the OpenDota API.
Dotatools only requires the requests module. Dotatools will only return data if it is already available on OpenDota. That means if you haven't, you should enter your settings inside your Dota 2 game client and enable the setting Expose public data.
Setup is simple: pip install dotatools
.