You've followed some conventions very well like CAPS for constants. Very nice. Here are some points:
Standard library imports precede 3rd party ones
should be changed to
The middle line is to differentiate between the two types of imports
Two lines after imports
There should be two lines after ...