StellarisModParser/README.md
Seaswimmer b89f86b584
All checks were successful
Actions / Lint Code (Ruff & Pylint) (push) Successful in 15s
Actions / Build (push) Successful in 26s
updated readme
2024-06-22 02:15:48 -04:00

845 B

StellarisModParser

PyPI - Version PyPI - Python Version PyPI - License

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']