Overview

This software development kit (SDK) gives you quick access to the set of Contxt API's from https://ndustrial.io, both programatically and on the command line.

Install

Before proceeding, you must have Python 3.7+ installed.

Library

To install and use this SDK as a library, just use pip:

python3 -m pip install --upgrade contxt-sdk

CLI

If you only need the CLI, the above method will work fine. However, we recommend using pipx1:

# Setup pipx (once only)
python3 -m pip install --user pipx
python3 -m pipx ensurepath

# Install
pipx install contxt-sdk

# Upgrade
pipx upgrade contxt-sdk

Run the following to ensure the installation was successful:

$ contxt --version
contxt, version 2.1.4

  1. Why pipx? See here