No description
Find a file
cswimr 18bcfe5f92
All checks were successful
Actions / Build Package (push) Successful in 10s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 10s
use uv sync instead of uv build (oops)
2024-11-14 12:31:45 -05:00
.forgejo/workflows use uv sync instead of uv build (oops) 2024-11-14 12:31:45 -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']