Python version of qrsync