python snappy