stellarismodparser (1.0.4)

Published 2024-06-22 02:08:52 -04:00 by cswimr in cswimr/StellarisModParser

Installation

pip install --index-url  stellarismodparser

About this package

Parse Stellaris's mod descriptor files.

StellarisModParser

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-06-22 02:08:52 -04:00
21
8.3 KiB
Assets (2)
Versions (2) View all
1.0.5 2024-09-15
1.0.4 2024-06-22