Skip to main content

No project description provided

Project description

World of Tanks Datfile Parser (Python)

A parser for .dat battle result files generated by the game World of Tanks. .dat files are generated whenever a battle's results are viewed in-game. For Windows, these files are found in a location like:

C:\Users\<YOUR_USER_NAME>\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results

This project simply provides python bindings for the Rust library: wot_datfile_parser

Install with:

pip install wot_datfile_parser_py

Example:

from wot_datfile_parser_py import DatfileParser

# You can use this same parser for any number of datfiles
parser = DatfileParser()

with open("9252658313363554.dat", "rb") as file:
    battle = parser.parse(file)
    print(battle)

Supported WoT Versions

1.20.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wot_datfile_parser_py-0.2.1.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wot_datfile_parser_py-0.2.1-cp310-cp310-manylinux_2_34_x86_64.whl (446.7 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

File details

Details for the file wot_datfile_parser_py-0.2.1.tar.gz.

File metadata

  • Download URL: wot_datfile_parser_py-0.2.1.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.15.1

File hashes

Hashes for wot_datfile_parser_py-0.2.1.tar.gz
Algorithm Hash digest
SHA256 2d3cdeb5b07a917da2b9a870177914926b5261728d3f7efdbe4a95396047ddc1
MD5 0fa7e9911bbe85d277d792dbcfe1a4e0
BLAKE2b-256 7102413ccad9b01685bd75e7c9d396b7c3daae7a58c09b77bbe4bd999836e729

See more details on using hashes here.

File details

Details for the file wot_datfile_parser_py-0.2.1-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for wot_datfile_parser_py-0.2.1-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 a90e35edb4d7a936b8f58e4bb9ca9a2b2f81be6a6772b9eccaabfd8e273ae951
MD5 4750347f8b615d56d19b611f700d14f2
BLAKE2b-256 f5dc3c158219b2faae3d41b3b2af7fdb6e3e29309bbfcbc39442598463833e71

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page