# 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.
Raw data
{
"_id": null,
"home_page": null,
"name": "sw-mc-lib",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "stormworks, lib, microcontroller",
"author": "Fabian Wunsch",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/b6/95/f23c323d36ebfc16690b5064b38ad010ef5448599e9c5c6e19ca50150418/sw_mc_lib-0.4.2.tar.gz",
"platform": null,
"description": "# sw_mc_lib\nStormworks Microcontroller library\n\nThis is a library aimed at simplifying parsing, manipulating and formatting\nStormworks Microcontrollers (Microprocessors). It includes a custom XML parser,\nthat allows for the games quirks, and is tailored to the needs.\nIt may be used without the Microcontroller parser, if you want to parse i.e. Vehicles.\n\n## Goals\n\n - Make Microprocessor parsing great again\n - Accurate emulation of the games behaviour\n - In case of a conflict, use the design from the GUI rather than the XML\n - For composite read/write, this means that properties like `start_channel` are one based like in the gui rather than zero based.\n - Several names have been changed towards the GUI language.\n - Try to parse reasonably ill-formed Microcontrollers and use defaults where necessary\n - Don't use RegEx (it has other uses, but not this one)\n\nIn case you see any violation of those rules, feel free to open an issue.\n",
"bugtrack_url": null,
"license": null,
"summary": "Library for interaction with Stormworks Microcontrollers",
"version": "0.4.2",
"project_urls": {
"homepage": "https://github.com/stormworks-utils/sw_mc_lib",
"repository": "https://github.com/stormworks-utils/sw_mc_lib"
},
"split_keywords": [
"stormworks",
" lib",
" microcontroller"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "7a56e7bbe6cbf2277d5dbbc44614be389db165282e74b19ad2e37e268898af99",
"md5": "a6272bb480b09b970723f23a501bbca1",
"sha256": "e388dad66ed4fc0ee0a7b43bdf0f330eae760c10298199bf30e49bf082bb4688"
},
"downloads": -1,
"filename": "sw_mc_lib-0.4.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a6272bb480b09b970723f23a501bbca1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 67608,
"upload_time": "2025-09-02T20:21:29",
"upload_time_iso_8601": "2025-09-02T20:21:29.058397Z",
"url": "https://files.pythonhosted.org/packages/7a/56/e7bbe6cbf2277d5dbbc44614be389db165282e74b19ad2e37e268898af99/sw_mc_lib-0.4.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "b695f23c323d36ebfc16690b5064b38ad010ef5448599e9c5c6e19ca50150418",
"md5": "e2ac9faacfa9fb0a1ada39db29d992da",
"sha256": "9f7a089e939e29da83b0eaccb625650e4e9b04a4e77c4ae9e7a83efb9dd5350d"
},
"downloads": -1,
"filename": "sw_mc_lib-0.4.2.tar.gz",
"has_sig": false,
"md5_digest": "e2ac9faacfa9fb0a1ada39db29d992da",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 31692,
"upload_time": "2025-09-02T20:21:29",
"upload_time_iso_8601": "2025-09-02T20:21:29.875256Z",
"url": "https://files.pythonhosted.org/packages/b6/95/f23c323d36ebfc16690b5064b38ad010ef5448599e9c5c6e19ca50150418/sw_mc_lib-0.4.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-02 20:21:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "stormworks-utils",
"github_project": "sw_mc_lib",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [],
"lcname": "sw-mc-lib"
}