Python SDK for interfacing applications with Edgeberry
Project description
The Edgeberry Python SDK is a software library to facilitate communication between Python application and the Edgeberry Device Software. The Edgeberry Python SDK interacts with the Edgeberry Device Software throught the D-Bus API.
Usage
Install the package using pip
pip install edgeberry
Import the library in your application
from edgeberry import Edgeberry
from edgeberry import EdgeberryCloudConnect
edgeberry = Edgeberry()
cloudConnect = EdgeberryCloudConnect()
Available methods
edgeberry.set_status("level", "message")
edgeberry.set_application_info("name", "version", "description")
cloudConnect.send_message("message")
On-device development
Using Visual Studio Code
, we can remotely develop code on our Edgeberry device using the Remote-SSH
extension:
1) Open VSCode
2) Navigate to 'Extensions' (Ctrl+Shift+x)
3) Search and install the 'Remote-SSH' extension
When the extension is installed, connect to the device
4) View > Command Palette... (Ctrl+Shift+p)
5) Remote-SSH: Connect to host...
6) <user>@<host>
7) <password>
The VSCode server is automatically installed. Now you can develop directly on the device.
License & Collaboration
Copyright© 2024 Sanne 'SpuQ' Santens. The Edgeberry Python SDK is licensed under the MIT License. The Rules & Guidelines apply to the usage of the Edgeberry™ brand.
Collaboration
If you'd like to contribute to this project, please follow these guidelines:
- Fork the repository and create your branch from
main
. - Make your changes and ensure they adhere to the project's coding style and conventions.
- Test your changes thoroughly.
- Ensure your commits are descriptive and well-documented.
- Open a pull request, describing the changes you've made and the problem or feature they address.
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
File details
Details for the file edgeberry-0.1.2.tar.gz
.
File metadata
- Download URL: edgeberry-0.1.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9484a8c4dd4ee410c9260ad81b38d772f01e78489e2771fd567b902419a63600 |
|
MD5 | df7232bd6d5fe756dc64191d5ef8ba05 |
|
BLAKE2b-256 | 11896f689924069a2071262947b80886474c381860ca8992bbc2c5a8af48c4d7 |
File details
Details for the file edgeberry-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: edgeberry-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33cdc0458855ecf9462ab240d4c6adb0bf74757f675d39bf662780d4afe3840e |
|
MD5 | 6d31b1842eef88d23ee47181f9807da9 |
|
BLAKE2b-256 | 145ea461896d04c934b10f87021edf8831f90624bb938a5d1fc5c8493b307627 |