Install & Compatibility
Where this runs
tested against v0.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
py 3.9
✕ build_error
✕ build_error
129MB installed
● package 129MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
mock_aws
✓ from aiomoto import mock_aws
✗ from aiomoto import AioMoto
mock_aws_decorator
✓ from aiomoto import mock_aws_decorator
context
✓ from aiomoto import context
Apply @mock_s3 decorator to async test functions to mock S3 operations.
import aioboto3
from aiomoto import mock_s3
@mock_s3
async def test_s3_bucket():
session = aioboto3.Session()
async with session.client('s3', region_name='us-east-1') as s3:
await s3.create_bucket(Bucket='mybucket')
response = await s3.list_buckets()
assert 'mybucket' in [b['Name'] for b in response['Buckets']]
import asyncio
asyncio.run(test_s3_bucket())
Upgrade
Version history
0.5.3latest on PyPI · released May 30, 2026
Audit
Dependencies
aiobotocorerequiredRequired for async AWS client mocking
aioboto3optionalAlternative async SDK; aiomoto supports both