--- id: moto version: "5.2.2" license: Apache-2.0 license_treatment: permissive maintenance: active --- # moto — A library that allows you to easily mock out tests based on AWS infrastructure License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install moto uv add moto poetry add moto ## Description # Moto - Mock AWS Services [![Join the chat at https://gitter.im/awsmoto/Lobby](https://badges.gitter.im/awsmoto/Lobby.svg)](https://gitter.im/awsmoto/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://github.com/getmoto/moto/workflows/TestNDeploy/badge.svg)](https://github.com/getmoto/moto/actions) [![Coverage Status](https://codecov.io/gh/getmoto/moto/branch/master/graph/badge.svg)](https://codecov.io/gh/getmoto/moto) [![Docs](https://readthedocs.org/projects/pip/badge/?version=stable)](http://docs.getmoto.org) [![PyPI](https://img.shields.io/pypi/v/moto.svg)](https://pypi.org/project/moto/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/moto.svg)](#) [![PyPI - Downloads](https://img.shields.io/pypi/dw/moto.svg)](https://pypistats.org/packages/moto) [![Code style: Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![Financial Contributors](https://opencollective.com/moto/tiers/badge.svg)](https://opencollective.com/moto) ## Install ```console $ pip install 'moto[ec2,s3,all]' ``` ## In a... ## AI interpretation — verify before relying Moto mocks AWS services for testing, allowing you to test code that calls boto3 without hitting real AWS infrastructure. It intercepts boto3 calls and simulates AWS service behavior in memory. Verdict: Moto is a mature, actively maintained testing library with no known vulnerabilities. It offers low-friction installation and broad Python version support (3.10–3.14). Apache-2.0 licensing is permissive. Ideal for unit and integration testing of AWS-dependent code without external service calls. [View on SkillFed](https://skillfed.io/packages/moto) · [View on PyPI](https://pypi.org/project/moto/)