Skip to main content

sw_mc_lib

Stormworks Microcontroller library

This is a library aimed at simplifying parsing, manipulating and formatting Stormworks Microcontrollers (Microprocessors). It includes a custom XML parser, that allows for the games quirks, and is tailored to the needs. It may be used without the Microcontroller parser, if you want to parse i.e. Vehicles.

Goals

  • Make Microprocessor parsing great again
  • Accurate emulation of the games behaviour
  • In case of a conflict, use the design from the GUI rather than the XML
    • For composite read/write, this means that properties like start_channel are one based like in the gui rather than zero based.
    • Several names have been changed towards the GUI language.
  • Try to parse reasonably ill-formed Microcontrollers and use defaults where necessary
  • Don't use RegEx (it has other uses, but not this one)

In case you see any violation of those rules, feel free to open an issue.

Metadata

Release files for sw-mc-lib 0.4.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sw-mc-lib 0.4.14
File Size Uploaded Provenance
sw_mc_lib-0.4.14.tar.gz 44.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sw-mc-lib 0.4.14
File Interpreter ABI Platform
sw_mc_lib-0.4.14-py3-none-any.whl Python 3 none any Details

Total release size: 124.8 kB

Release files / sw_mc_lib-0.4.14.tar.gz

Download URL sw_mc_lib-0.4.14.tar.gz
Size 44.9 kB
Tags Source
SHA-256 checksum
How to use checksums
544dea11180d01834b704a103e0aa76c936691cdd303829b9b110898d285ab7b
BLAKE2b-256 checksum
How to use checksums
2fa9766f1498c9f83c46ae2d7a060871f6e6139fd3cef7118dd94db4f5448846
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / sw_mc_lib-0.4.14-py3-none-any.whl

Download URL sw_mc_lib-0.4.14-py3-none-any.whl
Size 79.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11ac0af452734d09bc4e93ca25edda39ea1d4123f244ee21cf65c7554e9a7c2d
BLAKE2b-256 checksum
How to use checksums
e21abab06ef2138d7f977abb5efcbf1f62141d568b94c72665e23781e0b8738c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for sw-mc-lib 0.4.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page