Skip to content

chheis/vehicle-app-python-sdk

 
 

Repository files navigation

Vehicle App Python Sdk

CI workflow License: Apache

The Vehicle App SDK reduces the effort required to implement Vehicle Apps by using the Velocitas development model for the Python programming language. To create a Vehicle App, please use our Vehicle App Template which uses this sdk.

This includes the following packages:

Status

Note: The Vehicle App Python SDK is currently under active development in alpha phase.

Prerequisites

  • Python 3.8 or later is required to use this package.

Install the package

Install the Vehicle App Python SDK with pip:

pip install git+https://github.com/eclipse-velocitas/vehicle-app-python-sdk.git@<version>

Documentation

  • Velocitas Development Model: Learn more about the Velocitas programming model and the SDK
  • Velocitas Tutorials: Learn how to get started, including setting up the development environment, creating a Vehicle Model as well as developing and deploying a Vehicle App.

Python Vehicle App SDK Examples

These examples demonstrate how to use the Python Vehicle App SDK:

Example Description
Dynamic Rule Create a Vehicle Data Broker rule with the fluent query methods.
Seat Adjuster Seat-Adjuster App that demonstrates MQTT communication and invocation of a Vehicle Service over gRPC.
Dog Mode Dog-Mode App that demonstrates MQTT communication and invocation of a Vehicle Service over gRPC, the app also subscribes for vehicle data points and sets the cabin temperature.
Static Rule Create a Vehicle Data Broker rule with the subscribe_to_data_point annotation.
VDB Queries Demonstrates various aspects of creating Vehicle Data Broker queries.
Array Datatype Shows a Vehicle Data Broker query that returns an array data point.
DataPoint-Set Shows how to set the value of the datapoint actuator value API.

Contribution

About

vehicle-app-python-sdk

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.6%
  • Shell 3.9%
  • Dockerfile 0.5%