No description
Find a file
Seaswimmer a6f80a49d5
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 15s
Actions / Build (push) Successful in 27s
condensed all actions into a single workflow file
2024-06-22 01:39:38 -04:00
.forgejo/workflows condensed all actions into a single workflow file 2024-06-22 01:39:38 -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 change minimum python version to 3.6 from 3.8 2024-06-16 07:02:44 -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']