You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.5 KiB

# merge-csv Tool to merge teacher and student data stored in UTF-8 encoded CSV files.

Dependencies

pip install numpy
pip install pandas
pip install pysftp

Usage

python3 merge.py (-stvq) (-d directory) (-r remote)  (-p project)

Arguments

 -h, --help       show this help message and exit
 -t, --teacher    merge teacher data
 -s, --student    merge student data
 -q, --quiet      run without output (besides errors and warnings)
 -v, --verbose    run with extra output information
 -d, --directory  directory for local csv merging
 -r, --remote-url sftp url for remote merging
 -p, --project    add a project name to the merged csv file name

Testing

python3 test.py