Metadata-Version: 2.4
Name: streamdeck-phone-sdk
Version: 0.1.0
Summary: Plugin SDK models for PhoneStreamDeck
Author: PhoneStreamDeck
License: MIT
Project-URL: Homepage, https://example.com/phonestreamdeck
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: PyYAML>=6.0

# streamdeck-phone-sdk

Small plugin SDK package used by PhoneStreamDeck plugins.

It provides:
- `ActionSpec`
- `PluginWidget`

Example plugin folder:

```text
my_plugin/
  config.yaml
  widget.py
```

`config.yaml`:

```yaml
dependencies:
  - requests
```

`widget.py`:

```python
from pathlib import Path
from streamdeck import ActionSpec, PluginWidget

CONFIG_PATH = Path(__file__).with_name("config.yaml")
LOGO = "MY"

def create_widget():
    return PluginWidget(
        plugin_id="my_plugin",
        title="My Plugin",
        logo=LOGO,
        actions=[ActionSpec("run", "Run")],
    )
```
