Metadata-Version: 2.1
Name: rdpyqt
Version: 2.1.3
Summary: Remote Desktop Protocol client
Author-email: Sylvain Peyrefitte <citronneur@gmail.com>
Maintainer-email: Hajime Nakagami <nakagami@gmail.com>
License: GPL-3.0-or-later
Project-URL: homepage, https://github.com/nakagami/rdpyqt
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: twisted
Requires-Dist: pyopenssl
Requires-Dist: service_identity
Requires-Dist: rsa
Requires-Dist: pyasn1
Requires-Dist: pycryptodome
Requires-Dist: Pillow
Requires-Dist: PyQt6
Requires-Dist: qt-reactor
Requires-Dist: numpy
Provides-Extra: h264
Requires-Dist: av; extra == "h264"

# rdpyqt

Microsoft RDP client built with Python, [Twisted](https://twisted.org/) and [PyQt6](https://www.riverbankcomputing.com/software/pyqt/).

It is forked from https://github.com/citronneur/rdpy.
While rdpy has various commands, this project only includes the RDP client.

## Installation

```sh
pip install rdpyqt
```

To use the H.264 decoding feature, please install it as follows.

```sh
pip install "rdpyqt[h264]"
```

## Usage

```sh
rdpyqt6 [options] ip[:port]
```

### Options

| Option  | Description                                   | Default              |
|---------|-----------------------------------------------|----------------------|
| `-u`    | Username                                      | (empty)              |
| `-p`    | Password                                      | (empty)              |
| `-d`    | Domain                                        | (empty)              |
| `-w`    | Width of screen                               | `1280`               |
| `-h`    | Height of screen                              | `1024`               |
| `-kt`   | Keyboard type (see values below)              | `IBM_101_102_KEYS`   |
| `-kl`   | Keyboard layout (see values below)            | `US`                 |
| `--swap-alt-meta` | Swap Alt and Meta (Windows/Super/Command) keys | (disabled)     |

#### `-kt` Keyboard Type values

| Value             | Description              |
|-------------------|--------------------------|
| `IBM_PC_XT_83_KEY`  | IBM PC/XT 83-key keyboard  |
| `OLIVETTI`          | Olivetti keyboard          |
| `IBM_PC_AT_84_KEY`  | IBM PC/AT 84-key keyboard  |
| `IBM_101_102_KEYS`  | IBM 101/102-key keyboard (most common) |
| `NOKIA_1050`        | Nokia 1050 keyboard        |
| `NOKIA_9140`        | Nokia 9140 keyboard        |
| `JAPANESE`          | Japanese keyboard          |

#### `-kl` Keyboard Layout values

| Value                | Language / Region        |
|----------------------|--------------------------|
| `ARABIC`             | Arabic                   |
| `BULGARIAN`          | Bulgarian                |
| `CHINESE_US_KEYBOARD`| Chinese (US keyboard)    |
| `CZECH`              | Czech                    |
| `DANISH`             | Danish                   |
| `GERMAN`             | German                   |
| `GREEK`              | Greek                    |
| `US`                 | English (United States)  |
| `SPANISH`            | Spanish                  |
| `FINNISH`            | Finnish                  |
| `FRENCH`             | French                   |
| `HEBREW`             | Hebrew                   |
| `HUNGARIAN`          | Hungarian                |
| `ICELANDIC`          | Icelandic                |
| `ITALIAN`            | Italian                  |
| `JAPANESE`           | Japanese                 |
| `KOREAN`             | Korean                   |
| `DUTCH`              | Dutch                    |
| `NORWEGIAN`          | Norwegian                |

Example:

```sh
rdpyqt6 -u user -p password -w 1920 -h 1080 rdp_server:3389
```
