defpy