Various statistics on the current showdown meta :)
Replay data used to build the database comes from:
Use the parquet files from that dataset (default path: pokemon-showdown-replays) to generate stats.sqlite and attacks.sqlite.
Install dependencies:
pip install -r requirements.txtGenerate the SQLite database from parquet files:
python3 tools/build_stats.py --out stats.sqlite
python3 tools/build_attack_stats.py --out attacks.sqlite
python3 tools/build_team_stats.py --out teams.sqlitepython3 app.py --db stats.sqlite --attacks_db attacks.sqlite --teams_db teams.sqlite --host 127.0.0.1 --port 8000Then open http://127.0.0.1:8000.
Contributions are welcome. If you want to improve the project, feel free to open an issue or submit a pull request.