Skip to content

duyhuynhdev/serial-scammer-analyser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  1. First install all dependencies in requirement.txt using below command
    pip install -r requirement.txt
  1. Register API KEYS for
  2. Update your keys in config.ini

Project Structure

Run multiple instances

S3Syncer

  1. Install aws-cli (https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)

  2. Run the aws configure command in your terminal. This will prompt you to enter your AWS credentials. If you don't have these credentials, reach out to your project manager to obtain them.

  3. Instantiate the S3FileManager class by specifying the directory to sync between the S3 bucket and local storage.

    For example: s3_file_manager = S3FileManager(data_dir="resources/data/uniswap")

    Note that data_dir is the path to the local directory that will be synchronized with the corresponding directory in your S3 bucket.

  4. To synchronize files between the S3 bucket and the local directory, simply call the sync() method wherever necessary in your program:

    s3_file_manager.sync()

    Note that this will ensure that any new or modified files in either the local directory or the S3 bucket are synchronized.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •