cloudtools/troposphere

troposphere - Python library to create AWS CloudFormation descriptions

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 52 minutes ago
Added to GitGenius on September 14th, 2026
Created on December 12th, 2012
Open Issues & Pull Requests: 162 (+0)
GitHub issues: Enabled
Number of forks: 1,407
Total Stargazers: 4,944 (+0)
Total Subscribers: 164 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 17.7 hours
Mean response time: 78.9 days
90th percentile: 207.5 days
Tracked items: 27

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 6
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,593 days
Stale 30+ days: 6
Stale 90+ days: 6

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • Awaiting CF Spec Update (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

troposphere is a Python library that generates AWS CloudFormation JSON descriptions by writing Python code to define cloud resources.

The library solves the problem of manually authoring CloudFormation templates by allowing developers to describe AWS infrastructure in Python instead. It catches errors early through built-in property and type checking on resource classes, preventing invalid configurations from being deployed. When you define resources using troposphere classes, set their properties, and call the template's to_json() or to_yaml() method, the library generates valid CloudFormation syntax. The approach also supports OpenStack resources via Heat.

Troposphere suits teams that prefer writing infrastructure code in Python and want validation before deployment. It works well for projects where developers are already comfortable with Python and want to avoid hand-editing JSON or YAML templates. The library is particularly valuable when you need to catch configuration mistakes like typos in property names, incorrect property types, or missing required fields before submitting templates to CloudFormation. The tool includes optional integration with awacs for policy management.

The project maintains active test coverage with continuous integration checks on the main branch. Development includes regular updates to track new AWS resource types and properties as the CloudFormation API evolves. The codebase demonstrates consistent maintenance of the Python API surface and documentation.