Sign inSign up

guitmz/shiftpy

By guitmz

•Updated almost 10 years ago

Python restful API to help sending data to Redshift

Image
0

401

guitmz/shiftpy repository overview

⁠Running it

$ docker pull guitmz/shiftpy
  
$ docker run -d -p 5000:5000 guitmz/shiftpy

 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

⁠Usage

curl -XPOST -H "Content-Type: application/json" http://127.0.0.1:5000/send_to_redshift/ -d '{"s3path":"accounts/accounts_oct_26.csv", "table_name":"accounts", "fields":["id", "name", "address"]}'

GitHub: https://github.com/guitmz/shiftpy⁠

Tag summary

Content type

Image

Digest

Size

33.2 MB

Last updated

almost 10 years ago

docker pull guitmz/shiftpy