Skip to content

LalunePierr0t/credit-mutuel-to-csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

credit-mutuel-to-csv

Convert 'extrait de compte' pdf to csv file

This script convert all 'credit-mutuel' pdf files in a directory to a unique csv file sorted by date.

Pdf input example: pdf input

Csv output example:

csv output

Prerequisites

Install python3.x

Install required packages

$ pip install -r requirements.txt

Usage (linux)

Help

$ ./cm2csv.py convert --help
Usage: cm2csv.py convert [OPTIONS]

Options:
  --directory TEXT       Directory containing PDF files.  [required]
  --csv_path TEXT        Path for the output CSV file.  [required]
  --filter_strings TEXT  Strings to filter out from the table.
  --help                 Show this message and exit.

Convert

$ ./cm2csv.py convert --directory ./pdf/ --csv_path output.csv

where --directory is the directory containing the pdf files to convert and --csv_path is the path of the output csv file.

Usage (windows), I guess ?

$ python cm2csv.py convert --directory pdf\ --csv_path output.csv

where --directory is the directory containing the pdf files to convert and --csv_path is the path of the output csv file.

About

Convert 'extrait de compte' pdf to csv file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages