No description
Find a file
cswimr f5cdd61b89
All checks were successful
Actions / Lint Code (Ruff & Pylint) (push) Successful in 20s
Actions / Build (push) Successful in 44s
version bump to 1.0.5
2024-09-15 23:32:17 -04:00
.forgejo/workflows final pylint fixes 2024-06-22 02:05:59 -04:00
stellarismodparser add 3.13 Vela to codenames 2024-09-15 23:31:39 -04:00
.gitignore initial commit 2024-06-16 06:44:36 -04:00
LICENSE initial commit 2024-06-16 06:44:36 -04:00
pyproject.toml version bump to 1.0.5 2024-09-15 23:32:17 -04:00
README.md readme format fix 2024-06-22 07:58:56 -04:00
requirements.txt add workflows 2024-06-16 06:56:12 -04: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']