Python 3.11 via pyenv was used for the task.
Steps to run the solution:
- Create a virtual environment:
python -m venv .venv
- Activate virtualenv:
source .venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Start data source server:
python -m uvicorn api_data_source.main:app --reload
- Run etl_client.py module:
python etl_client.py