No description
Find a file
Seaswimmer d8688632e4
Some checks failed
Lint / Lint Code (Ruff & Pylint) (push) Failing after 14s
Build / Build and Push (push) Successful in 48s
fix build workflow
2024-06-16 06:59:46 -04:00
.forgejo/workflows fix build workflow 2024-06-16 06:59:46 -04:00
stellarismodparser initial commit 2024-06-16 06:44:36 -04:00
.gitignore initial commit 2024-06-16 06:44:36 -04:00
LICENSE initial commit 2024-06-16 06:44:36 -04:00
pyproject.toml add workflows 2024-06-16 06:56:12 -04:00
README.md initial commit 2024-06-16 06:44:36 -04:00
requirements.txt add workflows 2024-06-16 06:56:12 -04:00

StellarisModParser

This package provides a simple parser for Stellaris's mod descriptor format.

Usage

>>> import stellarismodparser
>>> path = "/home/seaswimmer/Projects/StellarisMods/No Menacing Ships.mod"
>>> mod = stellarismodparser.parse(path)
>>> mod.name
'No Menacing Ships'
>>> str(mod.supported_version)
'Andromeda 3.12.4'
>>> mod.tags
['Balance', 'Gameplay']