Python version of delete

An initial pull request for the Python implementation, primarily for code review purposes.  Once this gets a preliminary +1 and testing, I will do a pull request on the debian branch