Optional Profiles & Package Packs (profiles\*.ini)
All files under profiles\ are strictly opt-in. They are loaded only when:
- Listed in
OptionalProfilesinsideconfig.ini(e.g.OptionalProfiles = portable-essentials, privacy, pkg-core), - Passed on the CLI via
-Preset(e.g.-Preset "strict-security,pkg-core"), or - Selected interactively in
configure.ps1(Option 2).
When multiple profiles are combined, they merge in listed order, and your personal python.ini always has final precedence.
Built-In Settings Profiles
| Profile | Purpose | Key Settings |
|---|---|---|
portable-essentials | Enforces portable defaults & UTF-8 | cache-dir = {pip_cache}, disable-pip-version-check = true, PYTHONUTF8 = 1 |
privacy | Reduces update pings & telemetry | disable-pip-version-check = true, PIP_DISABLE_PIP_VERSION_CHECK = 1, DO_NOT_TRACK = 1, JUPYTER_NO_TELEMETRY = 1, SCARF_NO_ANALYTICS = true |
strict-security | Hardens Python & pip behavior | prefer-binary = true, timeout = 15, retries = 3, PYTHONSAFEPATH = 1, PYTHONUTF8 = 1 |
fast-dev | Faster installs & cleaner worktrees | prefer-binary = true, timeout = 20, retries = 2, PYTHONUTF8 = 1, PYTHONDONTWRITEBYTECODE = 1 |
Built-In Package Packs
| Profile | Included Packages ([Packages]) |
|---|---|
pkg-core | uv, ruff, pytest, ipython, pip-audit |
pkg-web | fastapi, uvicorn, httpx, pydantic |
pkg-data | numpy, pandas, rich, jupyterlab |
Examples
# Fresh install with security profile + core developer packages
pwsh -File src\install.ps1 -Channel stable -Preset "strict-security,pkg-core"
# Apply a profile on-demand to an existing portable installation
pwsh -File src\configure.ps1 -Mode Settings -Preset "fast-dev" -Overwrite
pwsh -File src\configure.ps1 -Mode InstallPackages -Preset "pkg-web"