Interactive setup wizard for NDS.Live development environment (Docker or Podman, Artifactory auth, pip config, tool installation)
Project description
ndslive-setup
Interactive setup wizard that configures your machine for working with NDS.Live. It handles Artifactory authentication, container registry access (Docker or Podman), Python package index configuration, and tool installation — so you can go from a fresh system to a working NDS.Live environment in minutes.
Installation
pip install ndslive-setup
Requires Python 3.10+.
If your system Python blocks pip install (common on Debian/Ubuntu and Homebrew), create a virtual environment first:
apt install python3-venv # Debian/Ubuntu only python3 -m venv ~/.nds/venv source ~/.nds/venv/bin/activate pip install ndslive-setupLearn more about virtual environments: https://docs.python.org/3/library/venv.html
Quick Start
ndslive-setup
This launches a terminal-based wizard that walks you through every step.
Container Runtime Support
ndslive-setup works with Docker or Podman, in this resolution order:
- The
CONTAINER_RUNTIME=docker|podmanenvironment variable (explicit override, wins over everything else). - The runtime saved to
~/.nds/setup.jsonfrom a previous run. - Auto-detection: Docker first (also covers Colima, Rancher Desktop,
OrbStack — anything that exposes a
dockerCLI), then Podman.
Switching runtime after first run
If you later change your mind (e.g. got a Docker license after starting with Podman), you have three options:
- Re-run the wizard — when both Docker and Podman are installed, the Prerequisites step shows a picker; your choice is saved.
ndslive-setup set-runtime docker|podman— scriptable, no TUI.CONTAINER_RUNTIME=docker …— per-invocation override that beats the saved value.
| OS | Docker | Podman |
|---|---|---|
| Linux | ✓ | ✓ |
| macOS | ✓ | ✓ — run podman machine start first |
| Windows | ✓ | ✓ — Podman Desktop; auth.json under %APPDATA% |
Container support is optional. If neither runtime is available the wizard skips registry-related steps and continues with Python package setup only.
Wizard Flow
The wizard guides you through six steps:
1. Welcome & Edition Selection
Choose your NDS.Live edition:
- Community — NDS.Live open tooling
- Member — NDS.Live + NDS.Classic tooling (requires NDS Association membership)
The edition determines which container registry and package catalog are available to you.
2. Prerequisites
Automated checks verify that your system is ready:
- Python >= 3.10 with pip
- venv module available
- Container runtime installed (Docker or Podman) with daemon running
- Network connectivity to Artifactory
A container runtime is optional — if none is available the wizard skips registry-related steps and continues with Python package setup only.
3. Artifactory Access
A single Artifactory identity token authenticates both container registry and Python package access. The wizard:
- Verifies your credentials against the NDS Artifactory
- Logs you into the container registry (
docker loginorpodman login) - Writes an authenticated
pip.confwith the NDS package index
If existing configuration is detected the wizard skips this step automatically. Use Back to revisit it if you want to reconfigure.
Note: The wizard requires an Artifactory identity token, not your SSO password. You can generate one under your Artifactory profile at
artifactory.nds-association.org.
4. Python Environment
Optionally create a dedicated virtual environment for NDS tools. This keeps NDS
packages isolated from your system Python. The default location is
~/.nds/venv but you can choose any path.
5. Install Tools
Select which NDS.Live tools to install:
- Python packages — installed via pip (into the venv if you created one)
- Container images — pulled from the Artifactory container registry
Already-cached container images are detected and shown so you can skip re-downloading them.
6. Summary
A recap of everything that was configured, plus next steps like activating your virtual environment and running your first tool.
CLI Commands
Beyond the wizard, ndslive-setup provides utility commands for day-to-day use:
ndslive-setup auth # Headless authentication (no TUI) for scripted setup
ndslive-setup doctor # Run diagnostics on your current setup
ndslive-setup status # Show configuration at a glance
ndslive-setup set-runtime NAME # Persist preferred runtime (docker or podman)
ndslive-setup reset # Remove wizard state (keeps pip.conf and registry auth)
ndslive-setup reset --all # Remove all NDS.Live configuration
Auth
ndslive-setup auth prompts for your Artifactory username + identity
token and configures the container registry and pip index without
launching the TUI. Useful for CI bootstraps, dotfile-driven onboarding,
and any non-interactive context.
Doctor
Re-runs all prerequisite checks and inspects your container runtime and pip configuration. Useful after system changes or when something stops working.
Status
Quick table showing your current edition, container registry login state (Docker or Podman), and Python index configuration.
What Gets Configured
| Component | Location | Purpose |
|---|---|---|
| Wizard state | ~/.nds/setup.json |
Remembers edition, username, and container runtime |
| pip config | ~/.config/pip/pip.conf (Linux/macOS) / %USERPROFILE%\pip\pip.ini (Windows) |
Authenticated NDS package index as primary, PyPI as fallback |
| Docker auth | ~/.docker/config.json |
Registry credentials (managed by Docker itself) |
| Podman auth | $XDG_RUNTIME_DIR/containers/auth.json (rootless), ~/.config/containers/auth.json, or %APPDATA%\containers\auth.json (Windows) |
Registry credentials (managed by Podman itself) |
| Virtual env | ~/.nds/venv (default) |
Isolated Python environment for NDS tools |
Requirements
- Python >= 3.10
- Docker or Podman (optional, for container-based tools)
- Network access to
artifactory.nds-association.org
License
Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ndslive_setup-2026.2.0.tar.gz.
File metadata
- Download URL: ndslive_setup-2026.2.0.tar.gz
- Upload date:
- Size: 56.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96de9226ec52822d879354e036fc5a6fcde0884592226fd4f7de5a08de6889a9
|
|
| MD5 |
5e6d5a763bf8c02cd07b677e56cc2060
|
|
| BLAKE2b-256 |
05c730b1f2b9ab57ae8006f1ff9dae6b65b186fc4febaf28d928aba9934742a0
|
Provenance
The following attestation bundles were made for ndslive_setup-2026.2.0.tar.gz:
Publisher:
publish.yml on ndsev/ndslive-setup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ndslive_setup-2026.2.0.tar.gz -
Subject digest:
96de9226ec52822d879354e036fc5a6fcde0884592226fd4f7de5a08de6889a9 - Sigstore transparency entry: 1343337500
- Sigstore integration time:
-
Permalink:
ndsev/ndslive-setup@733cc3f2961ead52cc9435c45162cd0bfd390653 -
Branch / Tag:
refs/tags/v2026.2.0 - Owner: https://github.com/ndsev
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@733cc3f2961ead52cc9435c45162cd0bfd390653 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ndslive_setup-2026.2.0-py3-none-any.whl.
File metadata
- Download URL: ndslive_setup-2026.2.0-py3-none-any.whl
- Upload date:
- Size: 38.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5dd26fcb692e08fee5da7c71153411708bf2dcd18d9e57cddfd4d5463e21f65
|
|
| MD5 |
df8afe87da66dbf079c6144c3cca164f
|
|
| BLAKE2b-256 |
c0394a2daedf724fe157495502850e76953ee1b01905cb351a31e6e7ac2d252a
|
Provenance
The following attestation bundles were made for ndslive_setup-2026.2.0-py3-none-any.whl:
Publisher:
publish.yml on ndsev/ndslive-setup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ndslive_setup-2026.2.0-py3-none-any.whl -
Subject digest:
e5dd26fcb692e08fee5da7c71153411708bf2dcd18d9e57cddfd4d5463e21f65 - Sigstore transparency entry: 1343337531
- Sigstore integration time:
-
Permalink:
ndsev/ndslive-setup@733cc3f2961ead52cc9435c45162cd0bfd390653 -
Branch / Tag:
refs/tags/v2026.2.0 - Owner: https://github.com/ndsev
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@733cc3f2961ead52cc9435c45162cd0bfd390653 -
Trigger Event:
push
-
Statement type: