getmoto

    getmoto/moto

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

    cloud
    aws
    boto
    ec2
    s3
    Python
    Apache-2.0
    8.7K stars
    2.3K forks
    66 GitHub watchers
    Updated Nov 6, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    3 releases in the last 90 days, the latest 10 days ago, with 386 contributors on GitHub.

    Use Cases & Benefits

    • Mocks AWS services to enable testing of AWS-dependent Python code without real AWS calls.
    • Provides a seamless way to simulate AWS infrastructure, avoiding costs and side effects during tests.
    • Use for unit testing Python applications that interact with AWS S3 buckets and objects.
    • Use for simulating EC2 instances and related AWS compute resources in integration tests.
    • Use for developing and validating boto3-based AWS automation scripts without needing live AWS credentials.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Moto is a library that allows your tests to easily mock out AWS Services.

    Imagine you have the following python code that you want to test:

    Take a minute to think how you would have tested that in the past.

    With the decorator wrapping the test, all the calls to s3 are automatically mocked out. The mock keeps track of the state of the buckets and keys.

    For a full list of which services and features are covered, please see our implementation coverage.

    Support this project and its continued development, by sponsoring us!

    Click the Sponsor-button at the top of the page for more information.

    Our finances are managed by OpenCollective, which means you have full visibility into all our contributions and expenses: https://opencollective.com/moto

    Excerpt from the getmoto/moto README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    2.3K+62

    Open issues

    117+69

    Compared with peers in Cloud

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    getmoto/moto compared with Cloud repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    Asymptote-Labs/agent-beacon3.4K+315751 day ago
    firecracker-microvm/firecracker37.9K—6259 days ago
    vectordotdev/vector22.8K—6411 days ago
    jhipster/generator-jhipster22.5K—6251 days ago
    moby/buildkit10.4K—651 day ago
    getmoto/moto8.7K—6410 days ago
    Category median22.5K—64—

    Discover Repositories

    Search across tracked repositories by name or description