SiLA2 feature library
Project description
SiLA2 Feature Library
Introduction
This library provides a set of SiLA2 feature templates that can be used to create SiLA2-compliant devices. It fills two use cases:
- Make it simple to add features to any SiLA server, with standard implementations that does what you want in 90% of the cases. :)
- Or just get the feature definition and implement it yourself.
Example
Example using the unitelabs framework.
Install sila2-feature-library, with the unitelabs dependency.
$ pip install sila2-feature-lib[unitelabs]
Import and add a feature from the library to your SiLA server.
from unitelabs import Connector
from sila2_feature_lib.simulation.v001_0.feature_ul import SimulatorController
# Create SiLA server
app = Connector({...})
# Append feature to SiLA server
app.register(SimulatorController())
# Run server
asyncio.get_event_loop().run_until_complete(app.start())
That's it. You now have a running SiLA server with the default implementation of the SimulatorController feature running.
Resources
Library Structure
TBD
Change log
v2025.30
- Various fixes related to breaking changes in unitelabs-cdk / unitelabs-sila packages
v2025.7
- Improved error handling in
ResourcesService
v2024.49
dynamic_import_configfunctions extended with more funcionality.
v2024.46
- Updated all features from the old
unitelabs-connector-frameworkto the newerunitelabs-cdkpackage - Fixed
pyyamlto be an optional requirement when using theResourcesServicefeature
v2024.40 and older
- See Releases for details on older versions
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 sila2_feature_lib-2026.7a0.tar.gz.
File metadata
- Download URL: sila2_feature_lib-2026.7a0.tar.gz
- Upload date:
- Size: 42.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
043d0bf10aab303d7466c1a4a9cf7c0a348aa0a32e5de456b38eed7f66c1d065
|
|
| MD5 |
9f1c6c2a0b59d66dea55536d7a26cb40
|
|
| BLAKE2b-256 |
ecc9467fa1e8e87bf2142cf51db272b39398d65866ef70011bc36d332a258b17
|
Provenance
The following attestation bundles were made for sila2_feature_lib-2026.7a0.tar.gz:
Publisher:
publish.yml on Firefly78/sila2-feature-lib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sila2_feature_lib-2026.7a0.tar.gz -
Subject digest:
043d0bf10aab303d7466c1a4a9cf7c0a348aa0a32e5de456b38eed7f66c1d065 - Sigstore transparency entry: 962902438
- Sigstore integration time:
-
Permalink:
Firefly78/sila2-feature-lib@9d5cdd9d4ed4e1026ec28cde25605bc927d68f14 -
Branch / Tag:
refs/tags/v2026.7a0 - Owner: https://github.com/Firefly78
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9d5cdd9d4ed4e1026ec28cde25605bc927d68f14 -
Trigger Event:
release
-
Statement type:
File details
Details for the file sila2_feature_lib-2026.7a0-py3-none-any.whl.
File metadata
- Download URL: sila2_feature_lib-2026.7a0-py3-none-any.whl
- Upload date:
- Size: 71.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4706b1b01411cd5760aebf8d7b97ad9eecab38e4b2b746a0e2e2e77bada5d61b
|
|
| MD5 |
a1f7c35da2940e4b96f163049003bfd2
|
|
| BLAKE2b-256 |
14c290ca508707f69483e89e62202f0a0f6400623c399e030626f529c908e5d3
|
Provenance
The following attestation bundles were made for sila2_feature_lib-2026.7a0-py3-none-any.whl:
Publisher:
publish.yml on Firefly78/sila2-feature-lib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sila2_feature_lib-2026.7a0-py3-none-any.whl -
Subject digest:
4706b1b01411cd5760aebf8d7b97ad9eecab38e4b2b746a0e2e2e77bada5d61b - Sigstore transparency entry: 962902439
- Sigstore integration time:
-
Permalink:
Firefly78/sila2-feature-lib@9d5cdd9d4ed4e1026ec28cde25605bc927d68f14 -
Branch / Tag:
refs/tags/v2026.7a0 - Owner: https://github.com/Firefly78
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9d5cdd9d4ed4e1026ec28cde25605bc927d68f14 -
Trigger Event:
release
-
Statement type: