# Muuntuu
Transforms (Finnish: muuntuu) helper tool.
## Usage:
```erlang
❯ muuntuu
usage: muuntuu [-h] [--source FILE] [--target FILE] [--debug] [--policy-writer POLICY_WRITER]
[--general-offset GEN_OFFSET] [--mapping-offset MAP_OFFSET] [--sequence-offset SEQ_OFFSET]
[--width WIDTH] [--default-flow-style] [--sort-base] [--force] [--quiet] [--version]
[SOURCE_FILE] [TARGET_FILE]
Transforms (Finish: muuntuu) helper tool.
positional arguments:
SOURCE_FILE JSON or YAML source as positional argument
TARGET_FILE JSON or YAML target as positional argument
options:
-h, --help show this help message and exit
--source FILE, -s FILE
JSON or YAML source
--target FILE, -t FILE
JSON or YAML target
--debug, -d work in debug mode (default: False), overwrites any environment variable MUUNTUU_DEBUG value
--policy-writer POLICY_WRITER
[YAML only] select writer policy from (safe, r[ound-]t[rip], or "empty") (default: safe)
--general-offset GEN_OFFSET
general offset (indent) on output (default: 2) - verify the amount yourself, please
--mapping-offset MAP_OFFSET
[YAML only] mapping offset (indent) on output (default: 2) - verify the amount yourself, please
--sequence-offset SEQ_OFFSET
[YAML only] sequence offset (indent) on output (default: 2) - verify the amount yourself, please
--width WIDTH [YAML only] constrain width on output (default: 150) - verify the amount yourself, please
--default-flow-style [YAML only] select default flow style on output (default: False)
--sort-base [YAML only] sort base mapping type on output (default: False)
--force, -f overwrite existing targets (default: False)
--quiet, -q work in quiet mode (default: False)
--version, -V display version and exit
```
> Note: some combinations of writer policy, offsets, and width may lead to
> invalid YAML as documented in `test/fixtures/offsets-width.yaml` where the
> options `--general-offset 3 --mapping-offset 1 --policy-writer rt --sequence-offset 2 --width 20`
> were used when deriving from `test/fixtures/offsets-width.yaml`:
>
>```yaml
>foo:
> bar:
> - baz
> - quux1 asd asd
> asd adssssssss
> - quux2
> - quux3
>```
## Version
```erlang
❯ muuntuu --vesion
2025.9.14
```
## Status
Prototype.
Raw data
{
"_id": null,
"home_page": null,
"name": "muuntuu",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "Stefan Hagen <stefan@hagen.link>",
"keywords": "author-tools, developer-tools, JSON, YAML",
"author": null,
"author_email": "Stefan Hagen <stefan@hagen.link>",
"download_url": "https://files.pythonhosted.org/packages/31/5d/3dc0abd4457ca8d0482b76a4892f7df95d00c314d69a270b4f4ae3efe227/muuntuu-2025.9.14.tar.gz",
"platform": null,
"description": "# Muuntuu\n\nTransforms (Finnish: muuntuu) helper tool.\n\n## Usage:\n\n```erlang\n\u276f muuntuu\nusage: muuntuu [-h] [--source FILE] [--target FILE] [--debug] [--policy-writer POLICY_WRITER]\n [--general-offset GEN_OFFSET] [--mapping-offset MAP_OFFSET] [--sequence-offset SEQ_OFFSET]\n [--width WIDTH] [--default-flow-style] [--sort-base] [--force] [--quiet] [--version]\n [SOURCE_FILE] [TARGET_FILE]\n\nTransforms (Finish: muuntuu) helper tool.\n\npositional arguments:\n SOURCE_FILE JSON or YAML source as positional argument\n TARGET_FILE JSON or YAML target as positional argument\n\noptions:\n -h, --help show this help message and exit\n --source FILE, -s FILE\n JSON or YAML source\n --target FILE, -t FILE\n JSON or YAML target\n --debug, -d work in debug mode (default: False), overwrites any environment variable MUUNTUU_DEBUG value\n --policy-writer POLICY_WRITER\n [YAML only] select writer policy from (safe, r[ound-]t[rip], or \"empty\") (default: safe)\n --general-offset GEN_OFFSET\n general offset (indent) on output (default: 2) - verify the amount yourself, please\n --mapping-offset MAP_OFFSET\n [YAML only] mapping offset (indent) on output (default: 2) - verify the amount yourself, please\n --sequence-offset SEQ_OFFSET\n [YAML only] sequence offset (indent) on output (default: 2) - verify the amount yourself, please\n --width WIDTH [YAML only] constrain width on output (default: 150) - verify the amount yourself, please\n --default-flow-style [YAML only] select default flow style on output (default: False)\n --sort-base [YAML only] sort base mapping type on output (default: False)\n --force, -f overwrite existing targets (default: False)\n --quiet, -q work in quiet mode (default: False)\n --version, -V display version and exit\n\n```\n\n> Note: some combinations of writer policy, offsets, and width may lead to\n> invalid YAML as documented in `test/fixtures/offsets-width.yaml` where the\n> options `--general-offset 3 --mapping-offset 1 --policy-writer rt --sequence-offset 2 --width 20`\n> were used when deriving from `test/fixtures/offsets-width.yaml`:\n> \n>```yaml\n>foo:\n> bar:\n> - baz\n> - quux1 asd asd\n> asd adssssssss\n> - quux2\n> - quux3\n>```\n\n## Version\n\n```erlang\n\u276f muuntuu --vesion\n2025.9.14\n```\n\n## Status\n\nPrototype.\n",
"bugtrack_url": null,
"license": null,
"summary": "Transforms (Finnish: muuntuu) helper tool.",
"version": "2025.9.14",
"project_urls": {
"Documentation": "https://codes.dilettant.life/docs/muuntuu",
"Test-Coverage": "https://codes.dilettant.life/coverage/muuntuu"
},
"split_keywords": [
"author-tools",
" developer-tools",
" json",
" yaml"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "66734fd59c16a3d0204a150b78dc3dfce152eb5a97458350399726eb58b72cbd",
"md5": "04bbdc50cb212d19f798c19409359f6e",
"sha256": "4ae9d9f599726543d4ed5cce6ea0fedee4a3eda920ae704ecec7d73e175a7fb3"
},
"downloads": -1,
"filename": "muuntuu-2025.9.14-py3-none-any.whl",
"has_sig": false,
"md5_digest": "04bbdc50cb212d19f798c19409359f6e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 7831,
"upload_time": "2025-09-14T17:19:23",
"upload_time_iso_8601": "2025-09-14T17:19:23.809487Z",
"url": "https://files.pythonhosted.org/packages/66/73/4fd59c16a3d0204a150b78dc3dfce152eb5a97458350399726eb58b72cbd/muuntuu-2025.9.14-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "315d3dc0abd4457ca8d0482b76a4892f7df95d00c314d69a270b4f4ae3efe227",
"md5": "72f699ddaf84f0a3dcbf22f0963bcf2f",
"sha256": "6c49bcb7ba920c6b613ed34c684046dea179fac419e7d515903c7562f3f3e513"
},
"downloads": -1,
"filename": "muuntuu-2025.9.14.tar.gz",
"has_sig": false,
"md5_digest": "72f699ddaf84f0a3dcbf22f0963bcf2f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 10611,
"upload_time": "2025-09-14T17:19:25",
"upload_time_iso_8601": "2025-09-14T17:19:25.090544Z",
"url": "https://files.pythonhosted.org/packages/31/5d/3dc0abd4457ca8d0482b76a4892f7df95d00c314d69a270b4f4ae3efe227/muuntuu-2025.9.14.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-14 17:19:25",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "muuntuu"
}