Python clone of @holman's spark