stellarismodparser (1.0.7)

Published 2024-11-14 14:07:18 -05:00 by cswimr in cswimr/StellarisModParser

Installation

pip install --index-url  stellarismodparser

About this package

Parse Stellaris's mod descriptor files.

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

Requirements

Requires Python: >=3.9
Details
PyPI
2024-11-14 14:07:18 -05:00
2
8.4 KiB
Assets (2)
Versions (4) View all
1.0.7 2024-11-14
1.0.6 2024-11-14
1.0.5 2024-09-15
1.0.4 2024-06-22