Giter VIP home page Giter VIP logo

s3-sync-ui's Introduction

s3-sync-ui

Summary

This is an utility to sync data from AWS S3 bucket to local directory using aws s3 sync command.

This tool works under a very special situation, in which S3 buckets are organized using epoch time (in msecs) like:

    :
{S3_BUCKET_ROOT}/1710028800000/
{S3_BUCKET_ROOT}/1710115200000/
{S3_BUCKET_ROOT}/1710201600000/
{S3_BUCKET_ROOT}/1710288000000/
{S3_BUCKET_ROOT}/1710374400000/
    :

Execution

  1. Make sure that AWS CLI works and you can run aws s3 sync command from command line.
  2. Set S3_BUCKET_ROOT envvar to point to the root bucket without setting the trailing slash (/)
  3. Run
python3 src/main.py
  1. Open http://127.0.0.1:8080 on browser
  2. Specify start and end dates to specify the date range
  3. Enter Submit
  4. Check console outputs to see no errors are found.
  5. If the aws s3 sync coomands are executed successfully, Ok is displayed on browser and data are stored in the data/raw directory.

s3-sync-ui's People

Contributors

tamitakamiya avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.