stellarismodparser (1.0.5)

Published 2024-09-15 23:33:17 -04: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.6
Details
PyPI
2024-09-15 23:33:17 -04:00
10
8.5 KiB
Assets (2)
Versions (2) View all
1.0.5 2024-09-15
1.0.4 2024-06-22