Metadata-Version: 2.1
Name: trx-reader-demo
Version: 0.1.2
Summary: This app reads a .csv file that contains trx information, send a formatted email with this content and load the information into a Mongodb cluster
Author: Romina Bareiro
Author-email: 100946603+RomiBareiro@users.noreply.github.com
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Description-Content-Type: text/markdown

# Trx_reader

# Download docker container from DockerHub:
https://hub.docker.com/repository/docker/romibareiro/stori01

Or

# Clone repository and install:
<text>pip3 install -r requirements.txt</text>

# Load env variables:
Create an .env file with this content:

<code>
CSV_PATH=CSV_PATH
SENDER_EMAIL=SENDER_EMAIL
DEST_EMAIL=DEST_EMAIL
EMAIL_PWD=EMAIL_PWD
USER_NAME=USER_NAME
MONGODB_CONNSTRING=MONGODB_CONNSTRING
</code>

# And then run:
<code>python3  main.py
</code>


Note: if your email sender is a gmal account, you must get app password from gmail settings.
If you want to build the docker image, you need to change the flags values in .env ( PATH_TO_CSV, EMAIL_SENDER, EMAIL_DESTINATION,EMAIL_SENDER_PWD,USER_NAME)

# You will receive an email like this: 


![index](https://user-images.githubusercontent.com/100946603/189212924-1cd51e00-cfa7-4c53-8ebd-18bd6328c7e8.jpeg)

