# cloudtools/troposphere

troposphere - Python library to create AWS CloudFormation descriptions

Repository: https://github.com/cloudtools/troposphere
Canonical: https://ross.abutalabs.com/products/troposphere
Language: Python
License: BSD-2-Clause
License Family: permissive
Topics: aws-cloudformation, cloudformation, python, python3, troposphere
Last push: 2026-08-19T13:34:39+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 72, longevity 100
- inputs: {"age_days": 5012, "days_push": 14, "days_rel": 109, "gap_med": 70, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4945, forks 1406 (observed 2026-08-28T04:09:03.628604+00:00)

## What it is
A Python library for programmatically generating AWS CloudFormation templates as JSON or YAML. It provides typed classes for AWS resources with built-in property and type checking to catch template errors early.

## Use cases
- generate cloudformation templates with python
- define aws infrastructure as code
- create cloudformation  programmatically
- validate cloudformation resource properties at build time
- generate cloudformation yaml from python code
- manage aws resource stacks with reusable python code

## When to choose
- you want to write CloudFormation templates in Python with type checking
- you need programmatic generation of AWS resource definitions
- you prefer code-based IaC over hand-written JSON/YAML templates

## When to avoid
- you use Terraform, Pulumi, or CDK instead of CloudFormation
- you only need to deploy existing templates without generating them
- you need multi-cloud provisioning beyond AWS and basic OpenStack Heat support

## Facets
- artifact type: library
- maturity: stable
- function: infrastructure-as-code, developer-tools, serialization
- domain: cloud-computing, infrastructure-as-code, developer-tools
- platform: python, cross-platform
- tags: aws, cloudformation, iac, yaml, openstack-heat, devops

## Member repositories
- cloudtools/troposphere (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:03.628604+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:17:53.697465+00:00, confidence not recorded.
  - readme: https://github.com/cloudtools/troposphere (fetched 2026-08-28T04:09:03.628604+00:00, sha b8ba453b0d12)
  - registry_pypi: https://pypi.org/pypi/troposphere/json (fetched 2026-08-29T08:59:23.759127+00:00, sha fc6e16cb55d3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
