Metadata-Version: 2.4
Name: atvnotif
Version: 0.1.0
Summary: A Python client for sending encrypted notifications to Android TV Notifier
License-Expression: MIT
Project-URL: Homepage, https://github.com/atvnotif/atvnotif.py
Project-URL: Repository, https://github.com/atvnotif/atvnotif.py
Project-URL: Bug Tracker, https://github.com/atvnotif/atvnotif.py/issues
Keywords: android-tv,notifications,home-automation,atvnotif
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Classifier: Topic :: Home Automation
Classifier: Topic :: Communications
Classifier: Framework :: AsyncIO
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: cryptography>=35.0.0
Requires-Dist: httpx>=0.20.0
Requires-Dist: zeroconf>=0.33.0

# atvnotif

[![PyPI](https://img.shields.io/pypi/v/atvnotif)](https://pypi.org/project/atvnotif/)
[![Supported Python Versions](https://img.shields.io/pypi/pyversions/atvnotif)](https://pypi.org/project/atvnotif/)
[![License](https://img.shields.io/github/license/atvnotif/atvnotif.py)](https://github.com/atvnotif/atvnotif.py/blob/main/LICENSE)

A Python client library for sending encrypted notifications to the **Android TV Notifier** app (`com.smrtprjcts.atvnotif`).

## Installation

```bash
pip install atvnotif
```

## Usage

```python
import asyncio
from atvnotif import ATVNotifier

async def main():
    # Replace with your TV's IP address and pairing code (remove hyphens or leave them, the library cleans it)
    notifier = ATVNotifier("192.168.1.100", "1234-5678-ABCD")
    
    await notifier.async_notify(
        message="Someone is at the door!",
        title="Doorbell Alert",
        duration=10,
        position=0,  # Top-Right
        notif_sound=True
    )

if __name__ == "__main__":
    asyncio.run(main())
```
