Skip to content

Victoria 3 Analysis¤

This repository contains code and data for analyzing Victoria 3 game data. It is intended to parse game data into csv or other structured formats, and provide insights into the game's mechanics and player strategies, such as production optimization.

Features¤

Data Parsing¤

Supports - building - pop_need - goods - production_method(_group) - technology

information parsing from the game files and exporting into structured formats for analysis.

Data Analysis¤

Supports - Modelling and optimization of production chains based on the parsed data, allowing players to optimize their in-game production strategies.

Installation¤

pip install "https://github.com/ShabbyGayBar/victoria3-analysis/releases/download/v0.1.0/vic3_analysis-0.1.0-py3-none-any.whl"

For development purposes, you can clone the repository and install the package in editable mode:

git clone https://github.com/ShabbyGayBar/victoria3-analysis.git
cd victoria3-analysis
uv sync
uv pip install -e .

Repo Structure¤

  • .vscode/: Contains Visual Studio Code configuration files for the project.
  • examples/: Contains example scripts demonstrating how to use the parsing code and analyze the data.
  • src/vic3_analysis/: Contains the source code for the vic3_analysis package, which includes functions for parsing game data and performing analysis.
  • tables/: Contains the output tables generated from the parsed game data, which can be used for further analysis or visualization.
  • tests/: Contains unit tests for the code in the src/vic3_analysis/ directory.

License¤

This project is licensed under the MIT License.