NRS DV360
- This Module fetches the Dv360 reports from gmail and push the parsed data to S3 for further processing.
- We recieve below level of report
- Standard (daily)
- Here we have imported get_email_attachment module for gmail login and to pull the report from the mail attachment.
- The downloaded report will be parsed to get required fields data.
- We then writes the data to .csv file and push the gzipped file to S3
Prerequisite: Python - 3.10.8+
you need to create venv
python3 -m venv {ENVIRONMENT NAME}
Activate environment
source {ENVIRONMENT NAME}/bin/activate
pip install pipreqs
pipreqs {PROJECTPATH}
- which you need to execute everytime when you add any new packages.
pipreqs --force {PROJECTPATH}
Install dependencies
pip install -r requirements.txt