StellarisModParser/README.md
Seaswimmer 1182da693e
All checks were successful
Actions / Lint Code (Ruff & Pylint) (push) Successful in 14s
Actions / Build (push) Successful in 26s
readme format fix
2024-06-22 07:58:56 -04:00

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