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.7.tar.gz (4.0 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.7-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for stellarismodparser-1.0.7.tar.gz
Algorithm Hash digest
SHA256 50a986aeb1b6359a783f23d1d548a9629af3b66399f33100341752115f3476fc
MD5 847d129c7e91377fca170d5d00022a61
BLAKE2b-256 fcafd7d6d08ea737dbf7435f068cd1b3cc2c5e6ee6469eefe8e6b5da99e60e35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stellarismodparser-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1383de312a0b5204cbabee0b2baf63bbb0817076142f0d2d64bdab6de08e45e6
MD5 e0fb57b7ce2aa462e9d7acc821c94180
BLAKE2b-256 20352f56ca84962e4c4f62dc1184c77d1da9a56cc4c56dd5abe2859b6c25e312

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