Metadata-Version: 2.4
Name: wotclientdetection
Version: 2025.7.23
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>
License: MIT License
        Copyright (c) 2017-2022 OpenWG.Utils Contributors
        Copyright (c) 2024 Paul Ekshmidt
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
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
Requires-Dist: packaging
Dynamic: license-file

# wotclientdetection

Programatically detect and delegate WoT/MT launchers and clients.  
Based on original code from [OpenWG.Utils](https://gitlab.com/openwg/openwg.utils) and rewritten in Python.  
Currently supports only Windows.

## Installation

```
pip install wotclientdetection
```

## 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)
```
