Isn't there a Python library that abstracts most of it away with a couple of gigantic classes with incompatible dependencies?