Python implementation of the syncthing protocol