The Wayback Machine - https://web.archive.org/web/20201205092940/https://github.com/MoveOnOrg/csv2redshift
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

CSV2Redshift

This Python 3 script will take a local CSV file, upload it to S3, create a matching table in Redshift, then copy the contents from S3 to Redshift.

Before running, do this:

pip install -r requirements.txt

Then copy settings.py.example to settings.py and fill in your Redshift and S3 credentials.

Usage looks like this:

python csv2redshift.py --file filename.csv --schema schema_name --table table_name

To see all options:

python csv2redshift.py --help

About

Generate and/or populate Redshift table based on CSV or TSV file.

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.