- Use SSM to retrive auth token and handle refresh token
- Get stats from Strava Api
- Generate html with inline styling for stats with Jinja2 template
- Use SES to send a summary email
VirtualEnv
python3 -m venv env
source env/bin/activate
Install packages
pip install -r ./requirements-dev.txt
python exanple_email.py
pytest
- Uses moto for mocking aws services.
- Uses requests-mocks for mocking api requests.
- Uses pytest for unit tests.
- Uses pytest-mock for mocking.