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
- Copy the Template: Make a copy of the provided
.env.templatefile and rename it to.envwithcp .env.template .env. - Fill in the Values: Open the
.envfile 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_USERNAMEandNOVA_PASSWORDare set, and leaveNOVA_ACCESS_TOKENunset.- If using an access token: Ensure
NOVA_ACCESS_TOKENis set, and leaveNOVA_USERNAMEandNOVA_PASSWORDunset.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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wandelbots_nova-0.14.0.tar.gz.
File metadata
- Download URL: wandelbots_nova-0.14.0.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d816f95311662d305c4aa4423b0961f1ed2ade19bf99af9fab0be3a6c88aeff3
|
|
| MD5 |
7ef19579359def42c949e7cb055809d1
|
|
| BLAKE2b-256 |
632e92c49fefa18224f583950d53c32c035a53a57cf366dd100bf23b6fe85ad2
|
File details
Details for the file wandelbots_nova-0.14.0-py3-none-any.whl.
File metadata
- Download URL: wandelbots_nova-0.14.0-py3-none-any.whl
- Upload date:
- Size: 27.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f5e5a63b8b3a49c992d913558aefe6a6601571eeddea1aa7528571e8a08866a
|
|
| MD5 |
a7338195ae0453d625203323216330e0
|
|
| BLAKE2b-256 |
08e7ce2d9d90a5179705136c84579efbd4aa7887b6c1d10db5e6176128290333
|