Skip to content

Commit

Permalink
updated readme for all modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Parag Sathaye committed Jan 30, 2023
1 parent e5ad29b commit d08e28d
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Q3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
## Install
1. install dependencies
2. Add the following to your .env file
AWS_ACCESS_KEY_ID = ""
AWS_SECRET_ACCESS_KEY = ""
AWS_S3_ACCESS_KEY_ID = ""
AWS_S3_SECRET_ACCESS_KEY = ""

## Usage

Expand Down
16 changes: 14 additions & 2 deletions q3managed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@
django - for the data models
q3 - for accessing S3
```
## Install dependencies and create database models
```
pip install s3fs
pip install pandas
python manage.py migrate qws
Add the following to your .env file
AWS_S3_ACCESS_KEY_ID = ""
AWS_S3_SECRET_ACCESS_KEY = ""
```

## Usage
```
Expand Down Expand Up @@ -48,8 +59,9 @@ df = q3m.exists(fileurl)

### Find Files => returns a list of dict [{'url' : 's3://enine-test/mapping.csv', 'report_name': 'test'}]
```
fileurl = "s3://enine-test/mapping.csv"
filelist = q3m.download_df(fileurl)
prefix = "s3://enine-test"
tags = {'report_id' : '1'}
filelist = q3m.find(prefix, tags)
```

### Add Tags to existing files => returns True if success else None. Override existing tags or add new using the override param.
Expand Down
6 changes: 5 additions & 1 deletion qec2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

## Install
1. install dependencies
2. Add the following to your .env file
```
pip install boto3
```

2. Add the following to your .env file.
AWS_ACCESS_KEY_ID = ""
AWS_SECRET_ACCESS_KEY = ""

Expand Down
8 changes: 6 additions & 2 deletions qses/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@

## Install
1. install dependencies
```
pip install boto3
```

2. Add the following to your .env file
AWS_ACCESS_KEY_ID = ""
AWS_SECRET_ACCESS_KEY = ""
AWS_SES_ACCESS_KEY_ID = ""
AWS_SES_SECRET_ACCESS_KEY = ""
AWS_REGION = ""

## Usage
Expand Down

0 comments on commit d08e28d

Please sign in to comment.