#!/usr/bin/python3 from pymemcache.client import base client = base.Client(('194.28.84.9', 11211)) f = open('/opt/node_parser/AF26eKGHew.json', "r") data_json = f.read() client.set('topstats_77.83.100.33', data_json, expire = 0) client.close()