Skip to main content

Official Python SDK for the Wandelbots

Project description

wandelbots-nova

This library provides an SDK for the Wandelbots NOVA API.

The SDK will help you to build your own apps and services on top of NOVA and makes programming a robot as easy as possible.

Requirements

This library requires

  • Python >=3.10

Installation

To use the library, first install it using the following command

pip install wandelbots-nova

Usage

Import the library in your code to get started.

from nova import Nova

The SDK also includes an auto-generated API client for the NOVA API. You can access the API client using the api module.

from nova import api

Checkout the 01_basic and 02_plan_and_execute examples to learn how to use the library.

In the this directory are more examples to explain the advanced usage of the SDK.

Development

To install the development dependencies, run the following command

poetry install

Environment Variables for NOVA Configuration

  1. Copy the Template: Make a copy of the provided .env.template file and rename it to .env with cp .env.template .env.
  2. Fill in the Values: Open the .env file in a text editor and provide the necessary values for each variable. The table below describes each variable and its usage.
Variable Description Required Default Example
NOVA_API The base URL or hostname of the NOVA server instance. Yes None https://nova.example.com or http://172.0.0.1
NOVA_USERNAME The username credential used for authentication with the NOVA service. Yes* None my_username
NOVA_PASSWORD The password credential used in conjunction with NOVA_USERNAME. Yes* None my_password
NOVA_ACCESS_TOKEN A pre-obtained access token for NOVA if using token-based authentication. Yes* None eyJhbGciOi...

Note on Authentication: You can authenticate with NOVA using either username/password credentials or a pre-obtained access token, depending on your setup and security model:

  • If using username/password: Ensure both NOVA_USERNAME and NOVA_PASSWORD are set, and leave NOVA_ACCESS_TOKEN unset.
  • If using an access token: Ensure NOVA_ACCESS_TOKEN is set, and leave NOVA_USERNAME and NOVA_PASSWORD unset.

Only one method should be used at a time. If both methods are set, the token-based authentication (NOVA_ACCESS_TOKEN) will typically take precedence.

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

wandelbots_nova-0.17.1.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

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

wandelbots_nova-0.17.1-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

Details for the file wandelbots_nova-0.17.1.tar.gz.

File metadata

  • Download URL: wandelbots_nova-0.17.1.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for wandelbots_nova-0.17.1.tar.gz
Algorithm Hash digest
SHA256 260ac17ebc8af1081f1abdef81bd6afd7a1ad560f85b504843621062536da9b1
MD5 9c8cba7927a97caf9ddf67bd99d992d6
BLAKE2b-256 9aeaddd50eb168bde7e7172816c9252ea5ac24449d41c87d64727bb8c10a1485

See more details on using hashes here.

File details

Details for the file wandelbots_nova-0.17.1-py3-none-any.whl.

File metadata

File hashes

Hashes for wandelbots_nova-0.17.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ada60458be8be87bcbc0bf299bf19ff9c59cf9c417df8c62e0cf27ba4cb2e3d2
MD5 6ab2276cdf4e8a68d1ce959af5635b08
BLAKE2b-256 73f7bd664ed66b2e96ac89a1883c45c41e3204352d84a8c2ebb05647b7993b23

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