Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Optional Profiles & Package Packs (profiles\*.ini)

All files under profiles\ are strictly opt-in. They are loaded only when:

  1. Listed in OptionalProfiles inside config.ini (e.g. OptionalProfiles = portable-essentials, privacy, pkg-core),
  2. Passed on the CLI via -Preset (e.g. -Preset "strict-security,pkg-core"), or
  3. 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

ProfilePurposeKey Settings
portable-essentialsEnforces portable defaults & UTF-8cache-dir = {pip_cache}, disable-pip-version-check = true, PYTHONUTF8 = 1
privacyReduces update pings & telemetrydisable-pip-version-check = true, PIP_DISABLE_PIP_VERSION_CHECK = 1, DO_NOT_TRACK = 1, JUPYTER_NO_TELEMETRY = 1, SCARF_NO_ANALYTICS = true
strict-securityHardens Python & pip behaviorprefer-binary = true, timeout = 15, retries = 3, PYTHONSAFEPATH = 1, PYTHONUTF8 = 1
fast-devFaster installs & cleaner worktreesprefer-binary = true, timeout = 20, retries = 2, PYTHONUTF8 = 1, PYTHONDONTWRITEBYTECODE = 1

Built-In Package Packs

ProfileIncluded Packages ([Packages])
pkg-coreuv, ruff, pytest, ipython, pip-audit
pkg-webfastapi, uvicorn, httpx, pydantic
pkg-datanumpy, 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"