Skip to content

A quick CLI to concatenate CSVs/TXTs/JSONs. Supports mismatched columns. Requires minimal technical background to use.

Notifications You must be signed in to change notification settings

alecbw/Combine-Files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Combine_Files

A quick CLI to concatenate CSVs, JSON strings, or TXT files into one CSV.

Supports mismatched columns and partial data.

Requires minimal technical background to use.

Setup

Install pip and pandas

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python get-pip.py
pip install pandas

Usage

To combine multiple .csv files:

python3 combine_files.py -type csv -output_filename custom_filename.csv

To combine multiple .json files:

python3 combine_files.py -type json  -output_filename custom_filename.csv 

To combine multiple .txt files (the following shows a permutation of every available option):

python3 combine_files.py -type txt -engine python -output_filename custom_filename.csv -separator " " -break_on_errors True

About

A quick CLI to concatenate CSVs/TXTs/JSONs. Supports mismatched columns. Requires minimal technical background to use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages