Metadata-Version: 2.4
Name: prilo-receiver
Version: 0.9.2
Summary: Native Windows receiver for Conector-M-W
Requires-Python: >=3.9
Project-URL: Source, https://github.com/Stanislav1342/Conector-M-W
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

# Conector-M-W Receiver for Python

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

Install from [PyPI](https://pypi.org/project/prilo-receiver/) (package `prilo-receiver`) on Windows with Python 3.9 or newer. Pip selects the x64 or ARM64 wheel based on your Python interpreter's architecture.

```powershell
python -m pip install --upgrade prilo-receiver
if ($LASTEXITCODE -eq 0) { python -m prilo_receiver }
```

Open Conector-M-W 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 Conector-M-W still apply to the Python host.

If automatic discovery is unavailable, stop the receiver and run `python -m prilo_receiver --manual` on Windows with version 0.9.1 or newer. 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. Keep the access code private. The same details are available through `Receiver.connection_details()`.

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.
