dpmcore.services.export_csv
Export every user table from a Microsoft Access .accdb / .mdb
file to individual CSV files. Tables are exported in parallel.
Note
Requires the migration extra and mdb-tools on PATH.
ExportCsvService
- class dpmcore.services.export_csv.ExportCsvService[source]
Bases:
objectExport all user tables from a Microsoft Access file to CSV files.
Requires mdb-tools (
mdb-tables+mdb-export) to be installed.- export(access_path, output_dir)[source]
Export every user table in access_path to output_dir.
- Parameters:
- Return type:
- Returns:
An
ExportCsvResultdescribing what was exported.- Raises:
ExportCsvError – If mdb-tools is not available or the file cannot be read.