chkcsv.py is a Python library and program that checks the format of data in a CSV file. It can check whether required columns and data are present, and the type of data in each column. Pattern matching using regular expressions is supported.
chkcsv.py program and module.
Added an option to allow checking of the order of columns in the CSV file.