Skip to main content

DSX Air SDK

This project provides a Python SDK for interacting with the NVIDIA DSX Air API.

Documentation

For the full SDK documentation, please refer to the API & SDK page on NVIDIA docs.

For tutorials and code examples, please refer to the examples README in the docs directory. There you will find Jupyter notebooks covering various SDK features such as ZTP scripts and simulation import/export.

Prerequisite

The SDK requires Python 3.10. There are a number of ways to achieve this such as poetry, uv or virtualenv. The following shows how to achieve this on a few popular OS's using virtualenv.

# Install Python 3.10
brew install python@3.10  # MacOS
apt-get install python3.10  # Ubuntu/Debian
sudo pacman -S python310  # Arch

# Install, create and activate a Python 3.10 virtual environment
python3.10 -m pip install virtualenv
python3.10 -m virtualenv venv
. venv/bin/activate

Installation

pip install nv-air-sdk

Authentication Options

  1. NGC Device Login with AirApi.with_device_login(email=<YOUR_EMAIL>, org_num=<YOUR_NGC_ORG_NUMBER>)
  2. NGC CLI Login with AirApi.with_ngc_config() (or just AirApi())
  3. Explicitly specify an NGC API Key (also known as a Starfleet API Key, or "SAK") by instantiating AirApi.with_api_key(api_key=<YOUR_STARFLEET_API_KEY>)

And to use option 2 you will need to have the NGC CLI installed and to have configured it with ngc config set. This will create a file at ~/.ngc/config which contains your NGC credentials that will be auto-detected by the Air SDK.

License

MIT License - see LICENSE file for details

This project will download and install additional third-party open source software projects. Review the license terms of these open source projects before use.

Contributing

This project is currently not accepting contributions.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

nv_air_sdk-1.6.1-py3-none-any.whl (176.6 kB view details)

Uploaded Python 3

File details

Details for the file nv_air_sdk-1.6.1-py3-none-any.whl.

File metadata

  • Download URL: nv_air_sdk-1.6.1-py3-none-any.whl
  • Upload date:
  • Size: 176.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for nv_air_sdk-1.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3277ee8a285ca607e4099cffda31138bd99357d2b9e071c659be6836f0d8ab9d
MD5 f126a43a9b7d1cdcb8bf10eb56c5586c
BLAKE2b-256 0396bb38428adb3aa8d3e6c8df09f9c71d623ae3d590b0c36e8958d563675171

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.6.1 This release

1 file

1.6.0

1 file

1.5.0

1 file

1.4.0

1 file

1.3.1

1 file

1.3.0

1 file

1.2.0

1 file

1.1.0

1 file

1.0.0

1 file

Supported by

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