Skip to main content

SiLA2 feature library

Reason this release was yanked:

Bug: SiLA errors not backward compatible

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:

  1. Make it simple to add features to any SiLA server, with standard implementations that does what you want in 90% of the cases. :)
  2. 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_config functions extended with more funcionality.

v2024.46

  • Updated all features from the old unitelabs-connector-framework to the newer unitelabs-cdk package
  • Fixed pyyaml to be an optional requirement when using the ResourcesService feature

v2024.40 and older

  • See Releases for details on older versions

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sila2_feature_lib-2025.30a0.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

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

sila2_feature_lib-2025.30a0-py3-none-any.whl (32.4 kB view details)

Uploaded Python 3

File details

Details for the file sila2_feature_lib-2025.30a0.tar.gz.

File metadata

  • Download URL: sila2_feature_lib-2025.30a0.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sila2_feature_lib-2025.30a0.tar.gz
Algorithm Hash digest
SHA256 2c2df88cf93ab0169c23b8166d10c4ff61001bec6279e5e374fa757b6c3d778f
MD5 1769153adcb1deefec7947ab4325382b
BLAKE2b-256 38ef17f08f9fab5fee58ebf039bedc7cc4145c1999ce811f56adfb70501cfe8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sila2_feature_lib-2025.30a0.tar.gz:

Publisher: publish.yml on Firefly78/sila2-feature-lib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sila2_feature_lib-2025.30a0-py3-none-any.whl.

File metadata

File hashes

Hashes for sila2_feature_lib-2025.30a0-py3-none-any.whl
Algorithm Hash digest
SHA256 65babb9019bcc52ec647480b41e1d47c020dc5fe2411eea6ff1a8582385b244d
MD5 cc1fd0a120bff474858af665f3609f51
BLAKE2b-256 a15772535d5f808e560b4c7302cd2c7f48521ae6a54d721fc36cd85afd3b8ef2

See more details on using hashes here.

Provenance

The following attestation bundles were made for sila2_feature_lib-2025.30a0-py3-none-any.whl:

Publisher: publish.yml on Firefly78/sila2-feature-lib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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