Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.15 KB

README.md

File metadata and controls

50 lines (35 loc) · 1.15 KB

Contxt Python SDK

CI pypi version python

Installation

Clone this repo (this version is not yet published to PyPi)

git clone https://github.com/ndustrialio/contxt-sdk-python.git
cd contxt-sdk-python

Create a virtual env

Create a virtual environment for this repo:

virtualenv venv --python=python3

Activate your environment:

source ./venv/bin/activate

Install dependencies

poetry install

Initialize the CLI/SDK. This command will download any dependent GraphQL schemas, create a token cache file, and create a fresh defaults file. During this process you will likely be asked to login to your Contxt account.

contxt init --fresh-from-file ./docs/configs/basic_config.yml

CLI Usage

contxt --help

Documentation

Contributing

Please refer to CONTRIBUTING.md.