insurance-etl-pipe
A Pipeline For Extracting, Transforming, and Loading Insurance Data.
Run the setup_snowflake.sql script in a Snowflake Worksheet to configure your database and schemas.
Create and activate a Python virtual environment:
python -m venv .venv
source .venv/bin/activate # Linux/Mac
# .venv\Scripts\activate # WindowsInstall the required Python packages:
pip install -r requirements.txtCreate a .env file in the project root and populate it with your credentials and configuration.
SNOWFLAKE_USER=''
SNOWFLAKE_PASSWORD=''
SNOWFLAKE_ACCOUNT=''
SNOWFLAKE_DATABASE=''
SNOWFLAKE_SCHEMA=''
SNOWFLAKE_WAREHOUSE=''
SNOWFLAKE_ROLE=''
SLACK_WEBHOOK_URL=''Execute the main script:
python main.pyLoad environment variables for dbt:
set -a; source .env; set +a;Then run your dbt commands (e.g., dbt run).