Flickr uploader daemon in Python