Skip to main content

Interactive setup wizard for NDS.Live development environment

Project description

ndslive-setup

Interactive setup wizard that configures your machine for working with NDS.Live. It handles Artifactory authentication, Docker registry access, 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+.

Quick Start

ndslive-setup

This launches a terminal-based wizard that walks you through every step.

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 Docker 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
  • Docker installed and daemon running
  • Network connectivity to Artifactory

Docker is optional — if it is not available the wizard skips Docker-related steps and continues with Python package setup only.

3. Artifactory Access

A single Artifactory identity token authenticates both Docker and Python package access. The wizard:

  1. Verifies your credentials against the NDS Artifactory
  2. Logs you into the Docker registry (docker login)
  3. Writes an authenticated pip.conf with the NDS package index

If existing configuration is detected you can keep it or re-enter credentials 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 ~/.ndslive/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)
  • Docker images — pulled from the Artifactory Docker registry

Already-cached Docker 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 doctor       # Run diagnostics on your current setup
ndslive-setup status       # Show configuration at a glance
ndslive-setup reset        # Remove wizard state (keeps pip.conf and Docker auth)
ndslive-setup reset --all  # Remove all NDS.Live configuration

Doctor

Re-runs all prerequisite checks and inspects your Docker and pip configuration. Useful after system changes or when something stops working.

Status

Quick table showing your current edition, Docker registry login state, and Python index configuration.

What Gets Configured

Component Location Purpose
Wizard state ~/.ndslive/setup.json Remembers edition and username
pip config ~/.config/pip/pip.conf Authenticated NDS package index as primary, PyPI as fallback
Docker auth ~/.docker/config.json Registry credentials (managed by Docker itself)
Virtual env ~/.ndslive/venv (default) Isolated Python environment for NDS tools

Requirements

  • Python >= 3.10
  • Docker (optional, for container-based tools)
  • Network access to artifactory.nds-association.org

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ndslive_setup-0.1.0rc1.tar.gz (41.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ndslive_setup-0.1.0rc1-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

Details for the file ndslive_setup-0.1.0rc1.tar.gz.

File metadata

  • Download URL: ndslive_setup-0.1.0rc1.tar.gz
  • Upload date:
  • Size: 41.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ndslive_setup-0.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 fc2f62e1ffc4dca1f0384e256f959865225392b3de6a7d6f21b92776731ac85c
MD5 3189f0422a7ab95e6c6fb803e6c338ed
BLAKE2b-256 253cc23db8136f3b39906b94a66df6e53b90e725db8b9651ffbf1e21d02220bf

See more details on using hashes here.

File details

Details for the file ndslive_setup-0.1.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for ndslive_setup-0.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 79188feb71ab5d81fc8ff43319e31a96f226ce34ea7a5402179e24e2d24d6f1c
MD5 a5c3cbb712971e838746c06345db1b71
BLAKE2b-256 ef2bca285db91e901d5644886c25d047123dc06ca92f032ca05387d6de809444

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page