Skip to content

ronald-kimeli/generate_csv_from_s3bucket_jsonlines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S3-Buckect jsonlines to CSV

This is a automated script to download zstandard zipped files from the cloud and unzip it automatically to jsonlines.

  • Clone this repository to your computer.

    git clone https://github.com/KimelirR/create_ZeroSplitCSV-S3BUCKET.git
    
  • Create .env file

    cp .env.example .env
    
  • Provide credentials of your S3-BUCKET below in .env file

     KEY=?
     SECRET=?
     REGION=?
     BUCKET=?
    
  • Install required dependencies through

     composer install
    

Note!

  1. Ensure you give credentials of your s3bucket correctly.

Lastly! Generate Csv

  • All the functions and classes are inside src folder.

    php index.php

Releases

No releases published

Packages

No packages published

Languages