Skip to main content

Parse Stellaris's mod descriptor files.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stellarismodparser-1.0.5.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stellarismodparser-1.0.5-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file stellarismodparser-1.0.5.tar.gz.

File metadata

  • Download URL: stellarismodparser-1.0.5.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for stellarismodparser-1.0.5.tar.gz
Algorithm Hash digest
SHA256 032bebb4f95bc61d14d1dd1869331de6a7fe0bc91f8e9bd67dfb13447002f371
MD5 3f09d0242de709c0ca59fa8d97e185c9
BLAKE2b-256 aca5dd34c9f11858b91d26ee74a88d950ca4abd5265b2d09e343ae7f71731b09

See more details on using hashes here.

File details

Details for the file stellarismodparser-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for stellarismodparser-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6619a38f7b13295f4cce220e88d3939d75a0aeee2258c49521074f703d83d882
MD5 1fd84c9c268409168c56065f91a7d90b
BLAKE2b-256 62d1911ab378659b50d47165fb4aaa2bebb443c5d409d3e6c81d43ce808c5fbd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page