python and php versions of the same thing
update readme