https://github.com/rajesh-rahul/wot_datfile_parser_py
World of Tanks dat file parser binding for Python
https://github.com/rajesh-rahul/wot_datfile_parser_py
parser python rust world-of-tanks
Last synced: 2 months ago
JSON representation
World of Tanks dat file parser binding for Python
- Host: GitHub
- URL: https://github.com/rajesh-rahul/wot_datfile_parser_py
- Owner: rajesh-rahul
- Created: 2023-01-27T07:15:09.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-13T21:57:38.000Z (about 3 years ago)
- Last Synced: 2025-05-12T02:42:04.543Z (about 1 year ago)
- Topics: parser, python, rust, world-of-tanks
- Language: Rust
- Homepage:
- Size: 41 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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\\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results
```
This project simply provides python bindings for the Rust library: [`wot_datfile_parser`](https://github.com/dacite/wot-battle-results-parser/tree/main/datfile_parser)
Install with:
```
pip install wot_datfile_parser_py
```
## Example:
```python
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
```