# Historical File Validation Tool

A python Module to Validate a batch of historical files from Amazon s3 given a source bucket and schema bucket


## Usage
Requires python 3.10
##
Python:
```python
from batch_validate import batch_validate

# returns the secret
batch_validate(logger, source_bucket, schema_bucket, rows)

# gets list of objects from s3
list_files(bucket, prefix)

# gets appropriate schema for file path and pairs them in dic (returns an entire list)
file_schema_pair(logger, source_bucket, schema_bucket)
```

Shell:
```shell
batch_validate -s "schema_bucket" -p "s3 key prefix" -f "source_bucket" -r "rows"
```
##
get_params()
Fetching command line args
##
## Contributing
Pull requests and criticisms are welcome!
