The National Democratic Institute is a non-profit organization that is providing training and advice to Iraqi political parties , civil groups and parliamentarians .