Python implementation of opush - prove of concept