From febf3bb9e8246fea8e4be021a3d3d6c5d1a730f5 Mon Sep 17 00:00:00 2001 From: Jylpah Date: Wed, 25 Dec 2019 23:25:33 +0200 Subject: [PATCH 1/3] Update of the script names & links Script names changed according to PEB-8 Python coding style guide :-) --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fdacba1..b097bf7 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,12 @@ Python scripts to analyze WoT Blitz replays and stats. All the scripts require [Python 3.7](https://www.python.org/downloads/) or higher. ### Replays -* [wotbreplay_uploader.py](wotbreplay_uploader.py): An asynchronous replay uploader. -* [postwotreplay.py](postwotreplay.py): A simple WoT Replay uploader. Prints the received JSON from https://wotinspector.com -* [analyzeReplays.py](analyzeReplays.py): A tool to calculate statistics of a set of replays. Upload the replays first with [wotbreplay_uploader.py](wotbreplay_uploader.py) and then calculate the statistics. +* [upload_wotb_replays.py](wotbreplay_uploader.py): An asynchronous replay uploader. +* [analyze_wotb_replays.py](analyze_wotb_replays.py): A tool to calculate statistics of a set of replays. Upload the replays first with [upload_wotb_replays.py](upload_wotb_replays.py) and then calculate the statistics. ### Tank data -* [getTankopedia.py](getTankopedia.py): Get the lastest tankopedia data from wotinspector.com. The script fetches only a limited set of data. You may edit to your needs. -* [extractTankopedia.py](extractTankopedia.py): Extract Blitz data directly from the Blitz app files. You need to download the Blitz App APK package and unzip it to a folder. Requires [Python 3.7](https://www.python.org/downloads/) or higher. +* [get_tankopedia.py](get_tankopedia.py): Get the lastest tankopedia data from wotinspector.com. The script fetches only a limited set of data. You may edit to your needs. +* [extract_tankopedia.py](extract_tankopedia.py): Extract Blitz data directly from the Blitz app files. You need to download the Blitz App APK package and unzip it to a folder. Requires [Python 3.7](https://www.python.org/downloads/) or higher. ### Utils * [blitzutils.py](blitzutils.py): A utils class for various Blitz related to functions. *Other scripts use this*, so you need to place it to the same folder with the other scripts From f83a33ac0ca7a42de3af3e11b2df97942b188e80 Mon Sep 17 00:00:00 2001 From: Jylpah Date: Wed, 25 Dec 2019 23:28:16 +0200 Subject: [PATCH 2/3] Python module installation guide update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b097bf7..47d9ec2 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Python scripts to analyze WoT Blitz replays and stats. All the scripts require [ 1. Download all the files including the [maps.json](maps.json) and [tanks.json](tanks.json) files 1. Install the required Python modules: aiohttp, aioconsole, aiofiles, beautifulsoup4, lxml, xmltodict -```python -m pip install aiohttp aioconsole aiofiles beautifulsoup4 lxml xmltodict``` +```python -m pip install aiohttp aioconsole aiofiles aiosqlite beautifulsoup4 lxml xmltodict ``` 4. Upload your replays. Run _python.exe .\wotbreplay_uploader.py --help_ (Windows) or _./wotbreplay_uploader.py --help_ (Linux) 5. Analyze replays. Run _python.exe .\analyzeReplays.py --help_ (Windows) or _./analyzeReplays.py --help_ (Linux) From 401fd01cdb74c7fbe971241e1a8bdb4e1ef6ef67 Mon Sep 17 00:00:00 2001 From: Jylpah Date: Wed, 25 Dec 2019 23:38:35 +0200 Subject: [PATCH 3/3] Fix extract_tankopedia.py link --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 47d9ec2..fbb03a0 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ Python scripts to analyze WoT Blitz replays and stats. All the scripts require [ * [blitzutils.py](blitzutils.py): A utils class for various Blitz related to functions. *Other scripts use this*, so you need to place it to the same folder with the other scripts ### Data -* [tanks.json](tanks.json): Tankopedia in WG JSON format extracted from the Blitz app files with [extractTankopedia.py]](extractTankopedia.py]). Contains only limited information required by the scripts. -* [maps.json](maps.json): Blitz map names extracted from the Blitz app files with [extractTankopedia.py]](extractTankopedia.py]). +* [tanks.json](tanks.json): Tankopedia in WG JSON format extracted from the Blitz app files with [extract_tankopedia.py]](extractTankopedia.py]). Contains only limited information required by the scripts. +* [maps.json](maps.json): Blitz map names extracted from the Blitz app files with [extract_tankopedia.py]](extract_tankopedia.py]). ### Quick instructions