feat: Snowflake integration with PyPI package support - #4
Merged
Conversation
- Add CLI support for `parallel-cli enrich deploy --system snowflake` - Use parallel-web-tools from PyPI via Snowflake's artifact repository - Share core enrichment logic with BigQuery/Spark integrations - Add comprehensive error handling (fail on CREATE statement errors) - Simplify codebase with extracted helper functions - Update docs with MFA setup, account identifier formats, troubleshooting
Move parameter validation (--project for BigQuery, --account/--user for Snowflake) before API key resolution. This prevents triggering the OAuth flow when required parameters are missing, improving UX and fixing CI tests that were hanging when invoking deploy without required params.
NormallyGaussian
force-pushed
the
fix/snowflake-integration
branch
from
January 25, 2026 01:26
845b53f to
2d4f225
Compare
- Remove bigquery/snowflake integrations from PyInstaller spec - Add graceful error handling when deploy modules are not available - Update documentation to clarify deploy requires pip install with extras - Standalone CLI now focuses on core features (search, extract, enrich) - Deploy commands require: pip install parallel-web-tools[snowflake|bigquery]
Conditionally register deploy command only when not running as frozen executable (PyInstaller). This prevents showing a command in --help that won't work in the standalone CLI.
BigQuery deploy uses gcloud/bq CLI, not SQLAlchemy. The [bigquery] extra is for SQLAlchemy-based access, not needed for deploy. Base package is sufficient: pip install parallel-web-tools
BigQuery source type requires sqlalchemy-bigquery driver which isn't bundled in standalone CLI. Conditionally show only available source types based on sys.frozen check.
Base pip install is now library-only. Running parallel-cli without the [cli] extra shows helpful message instead of ImportError.
CLI (click, rich, questionary, httpx) now included in base install. Simpler user experience - parallel-cli always works after pip install. Keep [cli] extra for backwards compatibility (empty).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Snowflake Integration
parallel-cli enrich deploy --system snowflakewith options for account, user, password, MFA, warehouse, roleparallel-web-toolsfrom PyPI via Snowflake's artifact repository (snowflake.snowpark.pypi_shared_repository)enrich_batch) with BigQuery/Spark integrationsInstallation Options
pip install parallel-web-toolspip install parallel-web-tools[snowflake]pip install parallel-web-tools[bigquery]pip install parallel-web-tools[all]Standalone CLI Scope
The standalone binary focuses on core CLI features:
--helpin standalone (usessys.frozendetection)csv|duckdbin standaloneCode Quality
Test plan
parallel-cli enrich deploy --system snowflake🤖 Generated with Claude Code