wgc-helpers
Helper modules for the WGC QA framework. Contains all OS-level, WGC-specific, game management, and diagnostic utilities.
Module Categories
Base OS Helpers
| Module | Description |
|---|---|
os_helper |
File system operations: copy, delete, hash, permissions, process management |
winapi_helper |
Win32 API: window management, DPI, monitors, mouse/keyboard |
registry |
Windows Registry: read/write keys and values |
waiter |
Polling/wait utilities with configurable timeout and interval |
requirements_helper |
Version comparison and requirement validation |
regex_helper |
Regex matching with assertion support |
encrypt_helper |
AES encryption/decryption for tokens |
network_helper |
Network operations: ping, port check, download |
sevenzip |
7-Zip wrapper for archive operations |
soft_assert |
Soft assertions — collect all failures without stopping |
ui_map_parser |
Parse .ini UI map files into element selectors |
file_owner |
Windows file ownership and ACL management |
mutex_killer |
Kill mutexes to allow parallel WGC instances |
localization_helper |
WGC localization file parsing |
WGC-Specific Helpers
| Module | Description |
|---|---|
wgc_settings |
Manage WGC XML configs: preferences.xml, game_info.xml, wgc_info.xml |
wgc_installer/ |
Install WGC from build artifacts |
wgc_uninstaller/ |
Uninstall WGC cleanly |
wgc_plugins |
WGC plugin management |
wgc_api/ |
WGC API helper (DLL-based) |
wgc_api_csharp/ |
WGC API helper (C# exe-based) |
response_builder |
Generate XML responses for mock Update Service |
Game Management Helpers
| Module | Description |
|---|---|
fake_games |
Create complete fake game installations (WOT, WOWS, WOWP) with registry, torrents, metadata |
steam_helper |
Steam client management: launch, login, VDF manipulation |
acf_helper |
Steam ACF file parser |
vdf_helper |
Valve Data Format (VDF) read/write |
torrents_helper |
Generate .torrent files for game patches |
package_helper |
Game patch packaging with 7z + torrents |
metadata_helper |
Game metadata protocol management |
testdata_helper |
Download and prepare test data from shared drive |
Browser & Network Helpers
| Module | Description |
|---|---|
browser_helper |
Chrome browser management for OAuth testing |
certificate |
SSL certificate installation for mock HTTPS |
firewall_helper |
Windows Firewall rule management |
Diagnostics Helpers
| Module | Description |
|---|---|
artifacts_helper |
Collect and upload test artifacts (logs, screenshots, videos) |
video_capture |
Screen recording via OpenCV during test execution |
screen_helper |
Screenshot capture |
dump_helper |
Memory dump creation on crashes |
dbgdiag_helper |
Debug diagnostics with cdb/windbg |
sys_internals |
Sysinternals tools wrapper (procmon, pslist) |
img_to_text |
OCR via Tesseract for reading text from screenshots |
black_screen_detector |
Detect black screen during WGC startup |
event_helper |
ETW (Event Tracing for Windows) log capture |
Usage
from wgc_helpers.os_helper import OSHelper
from wgc_helpers.wgc_settings import WGCSettingsHelper
from wgc_helpers.fake_games import FakeGamesHelper
# File operations
OSHelper.create_file('test.txt', 'content')
sha256 = OSHelper.get_file_sha256('file.bin')
# WGC configuration
WGCSettingsHelper.set_preference('language', 'en')
WGCSettingsHelper.create_wgc_info(protocol='1.58')
# Create fake game installation
FakeGamesHelper.install_fake_game('WOT', version='1.0')
Install
pip install wgc-helpers
Dependencies
wgc-core— config, logger, exceptionswgc-clippy— low-level utilitieswgc-third-party— binary tools (7z, procdump, etc.)pywin32,psutil,opencv-python,pillow,lxml,pycryptodome,bencodepy
Metadata
Release files for wgc-helpers 4.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wgc_helpers-4.0.2.tar.gz | 126.5 kB | Without provenance | Details for wgc_helpers-4.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wgc_helpers-4.0.2-py3-none-any.whl | Python 3 | none | any | Details for wgc_helpers-4.0.2-py3-none-any.whl |
Total release size: 271.7 kB
Release files / wgc_helpers-4.0.2.tar.gz
| Download URL | wgc_helpers-4.0.2.tar.gz |
|---|---|
| Size | 126.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bd46b029c141293af964bc00e4c383de4ec2c7437fe2133af19f62dc2b76c83
|
|
BLAKE2b-256 checksum How to use checksums |
236c3d3acec56eca067e2176ad8ed6224816679e0db60c363f354d8d9f5b5feb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / wgc_helpers-4.0.2-py3-none-any.whl
| Download URL | wgc_helpers-4.0.2-py3-none-any.whl |
|---|---|
| Size | 145.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59bb8e03b5bdf3411d4f5434f94d34f4ba3560d4c887edc771e57e0289296360
|
|
BLAKE2b-256 checksum How to use checksums |
279775559c5d9eeba4db9d75bf3b0ba70eadc8bd4738e7f2b43064cceb1a689b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for wgc-helpers 4.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.