ronald-kimeli / generate_csv_from_s3bucket_jsonlines

generating CSV from S3Bucket jsonlines using PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

generating CSV from S3Bucket jsonlines using PHP


Languages

Language:PHP 100.0%