Yes! Python-prompt-toolkit has made it tremendously easy to write programs like mycli and pgcli.
The author has done an excellent job of keeping the APIs simple and intuitive.
It also helps that he's a good OSS maintainer (responsive and courteous). :)