It’s finally possible to query Korp corpus systems directly with Python, thanks to my very own library. Installation is as easy as pie, since it’s on PyPi.
sudo pip install korp
For more information, visit the project’s GitHub and read its Wiki pages.