Metadata-Version: 2.1
Name: wotclientdetection
Version: 2024.7.27
Summary: Programatically detect and delegate WoT/MT launchers and clients
Author: OpenWG.Utils Contributors
Author-email: Paul Ekshmidt <hello@kurzdor.me>
Maintainer-email: Paul Ekshmidt <hello@kurzdor.me>
Project-URL: Homepage, https://github.com/kurzdor/wot.clientdetection
Project-URL: Bug Reports, https://github.com/kurzdor/wot.clientdetection/issues
Project-URL: Source, https://github.com/kurzdor/wot.clientdetection
Keywords: wot,mt,launcher,client,detection
Classifier: Development Status :: 5 - Production/Stable
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Operating System :: Microsoft :: Windows
Requires-Python: >=3
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: psutil

# wotclientdetection

Programatically detect and delegate WoT/MT launchers and clients.
Uses original code from [OpenWG.Utils](https://gitlab.com/openwg/openwg.utils) but pythonized.

## Examples

```py
from wotclientdetection import LauncherManager

manager = LauncherManager()
launchers = manager.get_launchers()
for launcher in launchers:
    clients = launcher.get_clients()
    for client in clients:
        print(client.path)
```

```py
from wotclientdetection import LauncherManager, LauncherFlavour, ClientBranch, ClientRealm

manager = LauncherManager()
launcher = manager.get_launcher(LauncherFlavour.WG)
client = launcher.get_client(realm=ClientRealm.EU)
```

```py
from wotclientdetection import LauncherManager, LauncherFlavour, ClientBranch, ClientRealm

STANDALONE_GAME_PATH = 'C:\Games\wot_standalone'

manager = LauncherManager()
launcher = manager.get_launcher(LauncherFlavour.STANDALONE)
launcher.register_client(STANDALONE_GAME_PATH)
```
