Common utilities and base functionalities for all skills in the Private Assistant ecosystem.
Project description
Private Assistant Commons
Overview
private-assistant-commons is a shared library designed to provide common utilities and foundational components essential for developing various skills within the Private Assistant ecosystem. This package includes base classes, utility functions, and common validation routines like messsages that standardize and streamline the development of new skills.
Features
- Base Skill Class: Provides a templated parent class from which all specific skill implementations inherit.
- MQTT Utilities: Includes helper functions and classes for managing MQTT connections and message handling.
- Validation Utilities: Offers standardized validation functions to ensure message integrity across different skills.
- Common Configurations: Centralizes common configurations and settings that are used across multiple skills.
Getting Started
Prerequisites
Ensure you have Python 3.11+ installed, as this library uses features available in Python 3.11 and later.
Installation
Install private-assistant-commons by running the following command:
Certainly! Let's craft both a concise description for your pyproject.toml and a more detailed description for your README.md for the new package named private-assistant-commons. This package is intended to serve as the foundation for shared utilities and components across all skills in your private assistant system.
Description for pyproject.toml
This short description succinctly summarizes the purpose of the shared utilities package for inclusion in the pyproject.toml file:
description = "Common utilities and base functionalities for all skills in the Private Assistant ecosystem."
Description for README.md
For the README.md file, you'll want a more detailed description that explains the purpose, contains setup instructions, and outlines how to use the utilities. Here’s a proposed structure:
# Private Assistant Commons
## Overview
`private-assistant-commons` is a shared library designed to provide common utilities and foundational components essential for developing various skills within the Private Assistant ecosystem. This package includes base classes, utility functions, and common validation routines that standardize and streamline the development of new skills.
## Features
- **Base Skill Class**: Provides a templated parent class from which all specific skill implementations inherit.
- **MQTT Utilities**: Includes helper functions and classes for managing MQTT connections and message handling.
- **Validation Utilities**: Offers standardized validation functions to ensure message integrity across different skills.
- **Common Configurations**: Centralizes common configurations and settings that are used across multiple skills.
## Getting Started
### Prerequisites
Ensure you have Python 3.11+ installed, as this library uses features available in Python 3.11 and later.
### Usage
Import and use the utilities in your skill implementations:
```python
from private_assistant_commons import BaseSkill
class SwitchSkill(BaseSkill):
def __init__(self, ...):
super().__init__(...)
Contributing
Contributions to private-assistant-commons are welcome! Please read our contributing guidelines on how to propose bug fixes, improvements, or new features.
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 private_assistant_commons-2.0.0.tar.gz.
File metadata
- Download URL: private_assistant_commons-2.0.0.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
931757c5a9f7aef1d4e19b1b8ced11bbd87502572bff3cb048ce4e3285fe39c5
|
|
| MD5 |
f6a1e953d15c1e8e97d0fcb0f4e05f3e
|
|
| BLAKE2b-256 |
de7850709b2176d78656359099fbbd01f5b32c98586961405d6e30627791d7c9
|
Provenance
The following attestation bundles were made for private_assistant_commons-2.0.0.tar.gz:
Publisher:
python_build_package.yml on stkr22/private-assistant-commons-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
private_assistant_commons-2.0.0.tar.gz -
Subject digest:
931757c5a9f7aef1d4e19b1b8ced11bbd87502572bff3cb048ce4e3285fe39c5 - Sigstore transparency entry: 151217111
- Sigstore integration time:
-
Permalink:
stkr22/private-assistant-commons-py@d64137315a37ef37a16031bca32967cd45da851d -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/stkr22
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python_build_package.yml@d64137315a37ef37a16031bca32967cd45da851d -
Trigger Event:
push
-
Statement type:
File details
Details for the file private_assistant_commons-2.0.0-py3-none-any.whl.
File metadata
- Download URL: private_assistant_commons-2.0.0-py3-none-any.whl
- Upload date:
- Size: 21.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee37c4803571d380a187628196c644270bc0cc7fd50b620cb6bfbff5e2995e9e
|
|
| MD5 |
b40de6b901f8190cee9bf4d280a8ce69
|
|
| BLAKE2b-256 |
f6d0b3f2596c98533f39768f199568108cef74eaa368489913be0fe25cfe1966
|
Provenance
The following attestation bundles were made for private_assistant_commons-2.0.0-py3-none-any.whl:
Publisher:
python_build_package.yml on stkr22/private-assistant-commons-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
private_assistant_commons-2.0.0-py3-none-any.whl -
Subject digest:
ee37c4803571d380a187628196c644270bc0cc7fd50b620cb6bfbff5e2995e9e - Sigstore transparency entry: 151217112
- Sigstore integration time:
-
Permalink:
stkr22/private-assistant-commons-py@d64137315a37ef37a16031bca32967cd45da851d -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/stkr22
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python_build_package.yml@d64137315a37ef37a16031bca32967cd45da851d -
Trigger Event:
push
-
Statement type: