|
| 1 | +# ============================================================================== |
| 2 | +# DAY 12B - GREAT EXPECTATIONS CLOUD CONFIGURATION |
| 3 | +# ============================================================================== |
| 4 | +# Copy this file to ../config/.env and fill in your GE Cloud credentials |
| 5 | + |
| 6 | +# Great Expectations Cloud Credentials |
| 7 | +# Get these from: https://app.greatexpectations.io/settings/tokens |
| 8 | +DAY12B_GE_CLOUD_ORG_ID=your-organization-id-here |
| 9 | +DAY12B_GE_CLOUD_ACCESS_TOKEN=your-access-token-here |
| 10 | +DAY12B_GE_CLOUD_BASE_URL=https://app.greatexpectations.io |
| 11 | + |
| 12 | +# Logging |
| 13 | +DAY12B_LOG_LEVEL=INFO |
| 14 | + |
| 15 | +# Notification Settings |
| 16 | +DAY12B_NOTIFY_ON_FAILURE=true |
| 17 | +DAY12B_SLACK_WEBHOOK_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL |
| 18 | + |
| 19 | +# ============================================================================== |
| 20 | +# GETTING YOUR GE CLOUD CREDENTIALS |
| 21 | +# ============================================================================== |
| 22 | +# 1. Sign up at https://greatexpectations.io/cloud |
| 23 | +# 2. Navigate to Settings → Access Tokens |
| 24 | +# 3. Create a new token with "Data Context" permissions |
| 25 | +# 4. Copy your Organization ID from the URL or Settings page |
| 26 | +# 5. Paste both values above |
| 27 | + |
| 28 | +# ============================================================================== |
| 29 | +# USAGE |
| 30 | +# ============================================================================== |
| 31 | +# 1. Fill in your GE Cloud credentials above |
| 32 | +# 2. Copy to config directory: cp day12b/.env.example ../config/.env |
| 33 | +# 3. Run setup: python3 day12b_SETUP_cloud.py |
| 34 | +# 4. Create expectations: python3 day12b_CREATE_expectations.py |
| 35 | +# 5. Run validation: python3 day12b_RUN_validation_cloud.py |
| 36 | + |
| 37 | +# ============================================================================== |
| 38 | +# COMPARISON: DAY 12A vs DAY 12B |
| 39 | +# ============================================================================== |
| 40 | +# Day 12A: Custom validation framework (no GE Cloud) |
| 41 | +# - Pros: Works without external dependencies, demonstrates deep understanding |
| 42 | +# - Cons: Limited features, no cloud Data Docs, manual maintenance |
| 43 | +# |
| 44 | +# Day 12B: Great Expectations Cloud (this version) |
| 45 | +# - Pros: Enterprise features, cloud Data Docs, team collaboration, managed infrastructure |
| 46 | +# - Cons: Requires GE Cloud account, external dependency |
0 commit comments