$npx skillfedfor your agent

cfn-flip

Convert AWS CloudFormation templates between JSON and YAML formats

SkipPyPI Build ToolsReleased Oct 20212.7M downloads / moApache2Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — cfn_flip-1.3.0-py3-none-any.whl
v1.3.0 · released 2021-10-07 · 3 runtime deps: Click, PyYAML, six

No—not for new projects. The package is archived and abandoned since 2021-10-07, with no updates for years. While it has low install friction and permissive licensing, the lack of maintenance means it will not handle new CloudFormation features, receive security patches, or stay compatible with evolving dependencies. Use it only if maintaining legacy code that already depends on it.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with three lightweight dependencies (Click, PyYAML, six).
  • However, the project is archived and abandoned, with no releases since 2021-10-07 — it will not receive updates or security patches going forward.

License · maintenance · safety

Apache2 (permissive) — Licensed under Apache2 (permissive), so you can use, modify, and distribute the package freely in commercial and private projects without restriction.

last release 2021-10-07 (1772 days) · last repo commit 2026-08-12 · 1,000 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,674,349 downloads/mo, #2,947 on PyPI

Verify before relying

pip install cfn-flip

from cfn_flip import flip, to_yaml, to_json

json_template = '{"key": "value"}'
yaml_template = to_yaml(json_template)
original = flip(yaml_template)
  • Whether the package works correctly with modern AWS CloudFormation template features added after 2021-10-07
  • Compatibility with current versions of PyYAML and Click, given the long time since last release
Same gist for agents: .md · .json

What it is and what it does

cfn-flip is a command-line tool and Python library that converts AWS CloudFormation templates between JSON and YAML formats. It automatically detects the input format and converts to the opposite, optionally using YAML's short-form function syntax. The tool also supports template cleanup operations and can be configured to control output line width.

You can use it as a standalone CLI tool (cfn-flip) to process template files or stdin/stdout, or import its functions (flip, to_yaml, to_json) into your own Python code. The package depends on Click, PyYAML, and six—though the project is no longer maintained.

Use it for

  • Convert CloudFormation templates from JSON to YAML or vice versa in build pipelines or deployment scripts
  • Normalize template formatting and apply CloudFormation-specific cleanup rules via the --clean flag
  • Integrate template format conversion into Python infrastructure-as-code tools without external process calls
  • Batch-process multiple CloudFormation templates to a preferred format for version control or documentation

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No—not for new projects.

The package is archived and abandoned since 2021-10-07, with no updates for years. While it has low install friction and permissive licensing, the lack of maintenance means it will not handle new CloudFormation features, receive security patches, or stay compatible with evolving dependencies. Use it only if maintaining legacy code that already depends on it.

Install

cfn-flip on PyPI

Before you install

Low install friction with three lightweight dependencies (Click, PyYAML, six). However, the project is archived and abandoned, with no releases since 2021-10-07 — it will not receive updates or security patches going forward.

License in practice

Licensed under Apache2 (permissive), so you can use, modify, and distribute the package freely in commercial and private projects without restriction.

Quickstart

pip install cfn-flip

from cfn_flip import flip, to_yaml, to_json

json_template = '{"key": "value"}'
yaml_template = to_yaml(json_template)
original = flip(yaml_template)

Verify before relying

  • Whether the package works correctly with modern AWS CloudFormation template features added after 2021-10-07
  • Compatibility with current versions of PyYAML and Click, given the long time since last release

Package facts

LicenseApache2 permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
ClickPyYAMLsix
MaintenanceAbandoned 1,772 days since the last release
Last repo commit repository archived
First released
Downloads2,674,349 / month, #2,947 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: cfn_flip-1.3.0-py3-none-any.whl

Tags

Capabilities
cloudformation template converterjson yaml conversion toolcfn template format flipaws cloudformation formattemplate json to yamlcloudformation yaml jsoncfn-flip command line
Topics
cloudformationtemplate-conversionabandoned

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “cloudformation template converter”

  • cfn-flipConverts AWS CloudFormation templates between JSON and YAML formats,…
  • cfn-lintValidates AWS CloudFormation templates in YAML or JSON format against…
  • aws-sam-translatorTransforms AWS Serverless Application Model (SAM) templates into…

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also cfn-lint · aws-sam-translator · crhelper · cloudformation-cli · xmltojson · awslabs.aws-iac-mcp-server · ruamel.yaml.jinja2 · aws-cdk.custom-resources · troposphere · sceptre-cmd-resolver