Metadata-Version: 2.4
Name: prilo-receiver
Version: 0.9.1
Summary: Native Windows receiver for the Prilo Mac app
Requires-Python: >=3.9
Project-URL: Source, https://github.com/artlee12/prilo
Description-Content-Type: text/markdown
License-File: Go-LICENSE
License-File: fyne.io_systray-LICENSE
License-File: github.com_cenkalti_backoff-LICENSE
License-File: github.com_gorilla_websocket-LICENSE
License-File: github.com_grandcat_zeroconf-LICENSE
License-File: github.com_miekg_dns-LICENSE
License-File: golang.org_x_net-LICENSE
License-File: golang.org_x_sys-LICENSE

# Prilo Receiver for Python

The Windows receiver for [Prilo on Mac](https://github.com/artlee12/prilo) as a Windows Python package. The native library uses the same Go receiver, encrypted pairing, Bonjour discovery, mouse and keyboard control, power commands, and Happ controls as the standalone release. Install it in an approved interactive Windows user session.

Install the wheel matching your **Python interpreter** architecture, then run:

```powershell
python -m prilo_receiver
```

Open Prilo on Mac, choose **Find PCs on the network**, and enter the code printed in the terminal. Press Enter for a new code or Ctrl+C to stop. The saved pairing is shared with the standalone receiver for the same account. Run only one receiver at a time. The network rules for Prilo still apply to the Python host.

If automatic discovery is unavailable, run `python -m prilo_receiver --manual` on Windows. Use the printed IPv4 address, access code and full certificate fingerprint in the Mac application's manual form. Connect from a network that can reach TCP port 43821 on Windows. The access code is a private credential.

To embed the receiver in Python:

```python
from prilo_receiver import Receiver

with Receiver() as receiver:
    print(receiver.pairing_code)
    input("Press Enter to stop. ")
```

Installing the wheel does not start a background service. The host has no tray, installer, autostart registration or self-updater. Upgrade it through the approved Python package channel.
