getmoto/moto

A library that allows you to easily mock out tests based on AWS infrastructure.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 31 minutes ago
Added to GitGenius on September 7th, 2026
Created on February 18th, 2013
Open Issues & Pull Requests: 72 (+1)
GitHub issues: Enabled
Number of forks: 2,249
Total Stargazers: 8,652 (+0)
Total Subscribers: 66 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

Moto is a library that allows you to easily mock out AWS services in Python tests.

The problem Moto solves is the difficulty of testing code that depends on AWS infrastructure without incurring costs or managing real cloud resources. It works by providing decorators and context managers that intercept calls to AWS services and replace them with in-memory mocks. The mock maintains the state of resources like S3 buckets and keys, allowing tests to verify application behavior against realistic AWS interactions without touching actual cloud infrastructure.

Moto suits projects where developers need to test AWS-dependent code in isolation. It is particularly valuable for unit and integration testing during development, continuous integration pipelines, and scenarios where spinning up real AWS resources is impractical or expensive. The tool covers a range of AWS services, though not all services or all features within each service are implemented; developers should check the implementation coverage documentation to confirm support for the specific services their code uses.

The project maintains active development with regular updates to expand service coverage and fix issues. The maintainers have established a formal security reporting process through a dedicated contact channel. The project is supported through community sponsorship with transparent financial management, indicating sustained commitment to ongoing maintenance and improvement.