feat: slim standalone CLI for faster startup (2.7s → 0.17s)#12
Merged
NormallyGaussian merged 4 commits intomainfrom Jan 27, 2026
Merged
feat: slim standalone CLI for faster startup (2.7s → 0.17s)#12NormallyGaussian merged 4 commits intomainfrom
NormallyGaussian merged 4 commits intomainfrom
Conversation
- Switch to PyInstaller onedir mode (no extraction overhead) - Remove heavy deps from standalone: pandas, polars, pyarrow, duckdb, sqlalchemy, questionary - Add [cli] optional dependency for YAML config and interactive planner - Standalone CLI only supports CSV source type and CLI args (no YAML config) - Update build.py to create zip archives for distribution - Update install-cli.sh to download and extract zip archives Bundle size: 160MB → 37MB (77% smaller) Startup time: 2.7s → 0.17s (16x faster) Install options: - pip install parallel-web-tools # Minimal - pip install parallel-web-tools[cli] # + YAML config, interactive planner - pip install parallel-web-tools[all] # Everything
- Add tests for _CLI_EXTRAS_AVAILABLE flag behavior - Add test for YAML config error when extras missing - Add test for source types availability - Update release.yml for zip archive format - Add verification steps for checksum files
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
[cli]optional dependency for YAML config and interactive plannerResults
Install options
Test plan
enrich plancommand hidden in standalone mode