No description
Find a file
cswimr 5c5019dbce
All checks were successful
Actions / Lint Code (Ruff & Pylint) (push) Successful in 10s
Actions / Build Package (push) Successful in 17s
support supported versions that start with v
2024-11-14 14:06:31 -05:00
.forgejo/workflows use uv sync instead of uv build (oops) 2024-11-14 12:31:45 -05:00
stellarismodparser support supported versions that start with v 2024-11-14 14:06:31 -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 support supported versions that start with v 2024-11-14 14:06:31 -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']