{"id":28177,"library":"sfmergeutility","title":"Service Fabric Yaml Merge Utility","description":"A utility for merging Service Fabric YAML configuration files, part of the Azure CLI extensions. Currently at version 0.1.6, with low release cadence.","status":"active","version":"0.1.6","language":"python","source_language":"en","source_url":"https://github.com/Azure/azure-cli-extensions","tags":["azure","service-fabric","yaml","merge","cli-extension"],"install":[{"cmd":"pip install sfmergeutility","lang":"bash","label":"PyPI"}],"dependencies":[{"reason":"YAML parsing and merging","package":"pyyaml","optional":false}],"imports":[{"note":"Common mistake: merge_yaml is exposed at package level, not in submodules.","wrong":"from sfmergeutility.utils import merge_yaml","symbol":"merge_yaml","correct":"from sfmergeutility import merge_yaml"}],"quickstart":{"code":"from sfmergeutility import merge_yaml\n\nbase = {'service': {'name': 'myapp'}}\noverride = {'service': {'replicas': 3}}\nresult = merge_yaml(base, override)\nprint(result)","lang":"python","description":"Merges two YAML dictionaries, with override taking precedence."},"warnings":[{"fix":"Consider migrating to Azure Resource Manager templates or Bicep for Service Fabric deployments.","message":"The package is part of azure-cli-extensions and may be deprecated in favor of native ARM template or Bicep deployments.","severity":"deprecated","affected_versions":"all"},{"fix":"If you need to merge lists, handle them manually before calling merge_yaml.","message":"merge_yaml performs deep merge but lists are overwritten, not concatenated.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'0.1.6':24 'azur':18,29 'cadenc':28 'cli':19,36 'cli-extens':35 'configur':13 'current':21 'extens':20,37 'fabric':2,11,32 'file':14 'low':26 'merg':4,9,34 'part':15 'releas':27 'servic':1,10,31 'service-fabr':30 'util':5,7 'version':23 'yaml':3,12,33","created_at":"2026-05-09T05:54:07.798532+00:00","updated_at":"2026-05-09T05:54:07.798532+00:00","problems":{"verify_error":"/tmp/tmpqwin_4ji/venv/lib/python3.12/site-packages/sfmergeutility/arm_document_generator.py:265: SyntaxWarning: invalid escape sequence '\\('\n  m = re.search(\"reference\\(\\'secrets\\/\\w*\\/values\\/\\w*\\'\\)\", val)\nTraceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: canno"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/Azure/azure-cli-extensions","docs":null,"changelog":null,"pypi":"https://pypi.org/project/sfmergeutility/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["azure"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"install_fail","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-09","install_tag":null}}