getmoto/moto
A library that allows you to easily mock out tests based on AWS infrastructure. observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 14.0
- age_days: 4944
- days_rel: 11
- days_push: 8
- n_releases_24m: 41
Adoption not part of the score
8626 stars · 2243 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Moto is a Python library that mocks AWS services so tests can run against simulated AWS infrastructure without real credentials or network calls. It offers decorator/context-manager mocking for boto3, a standalone server mode for non-Python SDKs, and a proxy mode that intercepts AWS requests.
Use cases
- unit test python code that calls boto3 s3
- mock aws services in pytest without real aws account
- run a fake aws endpoint for non-python sdks
- test lambda code that calls aws services
- simulate multi-account aws resources in tests
- test iam authorization policies locally
When to choose
- you write python tests against boto3/botocore and want fast, offline mocks
- you need a local fake AWS endpoint for any SDK via server or proxy mode
- you want stateful mocks that track buckets, keys, instances, etc.
When to avoid
- you need full AWS fidelity, edge cases, or recent service features not yet implemented
- your tests require multithreaded access to mocked state
- you need integration testing against real AWS behavior rather than a simulation
Facets
library · maturity active
testing mocking http-server proxy testing cloud-computing developer-tools apis python cross-platform cli aws boto3 mock-aws-services unit-testing s3 ec2 server-mode proxy-mode docker
10 sources
- readme: https://github.com/getmoto/moto · fetched 2026-08-28 · 9235d91ca304
- homepage: http://docs.getmoto.org/en/latest/ · fetched 2026-08-29 · 78b14b46f317
- site_page: http://docs.getmoto.org/en/latest/docs/multi_account.html · fetched 2026-08-29 · d75bb53e7ebb
- site_page: http://docs.getmoto.org/en/latest/docs/aws_config.html · fetched 2026-08-29 · 6c9fa065c858
- site_page: http://docs.getmoto.org/en/latest/docs/getting_started.html · fetched 2026-08-29 · fa1ba1197ac8
- site_page: http://docs.getmoto.org/en/latest/docs/server_mode.html · fetched 2026-08-29 · 0af2dcc14a10
- site_page: http://docs.getmoto.org/en/latest/docs/proxy_mode.html · fetched 2026-08-29 · 789fc0a652f1
- site_page: http://docs.getmoto.org/en/latest/docs/faq.html · fetched 2026-08-29 · 8b7fee618aca
- site_page: http://docs.getmoto.org/en/latest/docs/iam.html · fetched 2026-08-29 · ee1c802a0a75
- site_page: http://docs.getmoto.org/en/latest/docs/releases.html · fetched 2026-08-29 · 82c0850cdc15
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| getmoto/moto | main | 99 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem