No description
Find a file
cswimr f075c6dbda
All checks were successful
Actions / Lint Code (Ruff & Pylint) (push) Successful in 13s
Actions / Build Package (push) Successful in 1m5s
transition to uv
2024-11-14 12:26:33 -05:00
.forgejo/workflows transition to uv 2024-11-14 12:26:33 -05:00
stellarismodparser make Mod a dataclass 2024-11-14 12:26:28 -05:00
.gitignore transition to uv 2024-11-14 12:26:33 -05:00
LICENSE initial commit 2024-06-16 06:44:36 -04:00
pyproject.toml transition to uv 2024-11-14 12:26:33 -05:00
README.md readme format fix 2024-06-22 07:58:56 -04:00
uv.lock transition to uv 2024-11-14 12:26:33 -05:00

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