semvec/pypi-packages huggingface dataset:
signal-application-python-sdk 3.2.1
signal application services

# signal-application-python-sdk

# Setup

### Add Signal-Application-SDK as a dependency to requirements.txt
```
signal-application-python-sdk==<latest>
```

### Install dependencies
```
python setup.py install
```

Entry point for Signal Application SDK
* Creates a bi-directional communication between device agent and application

### Initialize SDK
```
from signalsdk.signal_app import SignalApp
app = SignalApp()
app.initialize(onConfigUpdated, onEventReceived, onCommandReceived)
```

### Provide a callback method to get notified when a configuration change is requested
```
def onConfigUpdated(self, config):
```
* Will be triggered when a new configuration change requested from the cloud


### Provide a callback method to get notified when an event is received from event bus
```
def onEventReceived(self, event):
```
* Will be triggered when a new event received from application's subscribed topic

### Provide a callback method to get notified when an command is received from event bus
```
def onCommandReceived(self, command):
```
* Will be triggered when a new command received from device agent

### Call next to forward the event to the next edgesignal application which has sdk integrated, if next_app_id(optional) is specified, it forwards the event to the specified application
```
self.app.next(event: object, next_app_id)
```

### Call next to forward the event to the next node-red application running on node-red.
```
self.app.nextNode(event: object)
```


### Sample usage
Consider adding these two params to the application detail
![Settings](settings_list.png)
![Settings](settings.png)

config object will be reveived as below

```
{
    message: 'some text message',
    param2: 101
}
```
radtts-uk 1.1.0
RAD-TTS++ for Ukrainian
Requires Python: >=3.9

# Text-to-Speech for Ukrainian

Check out our demo on [Hugging Face space](https://huggingface.co/spaces/Yehor/radtts-uk-vocos-demo).

## Notes

- Multispeaker: 2 female + 1 male voices;
- Tested on **Windows** and **WSL**.

## Install

```shell
uv sync
```

Read [uv's installation](https://github.com/astral-sh/uv?tab=readme-ov-file#installation) section.

## Install as Python package

```shell
pip install git+https://github.com/egorsmkv/tts_uk
```

Or [download the repository](https://github.com/egorsmkv/tts_uk/archive/refs/heads/main.zip) as a ZIP archive.

## Google Colabs

- [CPU inference](https://colab.research.google.com/drive/1dsQiVhTaNw5lRfUiCZeECMuEbtEEYqbZ?usp=sharing)
- [GPU inference](https://colab.research.google.com/drive/1sdCPnZJRNAf12PhPut4gu6T_o6lYaUdo?usp=sharing)

## Example

As the code:

```python
import torchaudio

from radtts_uk.inference import synthesis

mels, vocos_wav_gen, stats = synthesis(
    text="Ви можете протестувати синтез мовлення українською мовою. Просто введіть текст, який ви хочете прослухати.",
    voice="tetiana",  # tetiana, mykyta, lada
    n_takes=1,
    use_latest_take=False,
    token_dur_scaling=1,
    f0_mean=0,
    f0_std=0,
    energy_mean=0,
    energy_std=0,
    sigma_decoder=0.8,
    sigma_token_duration=0.666,
    sigma_f0=1,
    sigma_energy=1,
)

print(stats)

torchaudio.save("audio.wav", vocos_wav_gen.cpu(), 44_100, encoding="PCM_S")
```

Or using a terminal:

```shell
uv run example.py
```
haikubot 0.3.0
从Bilibili视频生成俳句的命令行工具
Requires Python: >=3.7
Keywords: bilibili, haiku, audio, transcription, llm, asr

## haikubot：B站引流狗最爱的俳句生成器

### 简介

haikubot 是一个基于 Bilibili 视频生成俳句的命令行工具。

在这里，我参考了 [bilibili-API-collect](https://github.com/SocialSisterYi/bilibili-API-collect) 仓库用于获取B站视频信息，你可以在 [musicstream_url.md](references/musicstream_url.md) 和 [videostream_url.md](references/videostream_url.md) 来参考如何获取音视频流地址。

接着，我使用了dashscope api，调用alibaba的paraformer模型进行语音识别，识别出类字幕文本。

最后，我使用了openai的api，可以用兼容模型（比如qwen/deepseek）来生成俳句。

### 安装

```bash
pip install haikubot
```

## 使用方法

```bash
# 第一次使用，你应该配置dashscope的API密钥，你可以搜索百炼平台，进去获取api key，随后替换这里的YOUR_API_KEY，然后运行
haikubot config YOUR_API_KEY

# 之后，你可以这样使用BVID处理视频生成俳句
haikubot process BV117XoYGErB

# 显示版本信息
haikubot version
```
db_hooks_manager24 0.1.3
Database manager with optional MongoDB support
Requires Python: <4.0,>=3.9

# db_manager

A simple database manager with optional MongoDB support.

## Installation
```
poetry install
poetry install --extras "mongodb"
```

## Usage
```python
from db_manager import DatabaseManager

# For MongoDB
manager = DatabaseManager(db_type="mongodb", connection_string="mongodb://localhost:27017")
client = manager.get_client()
```