Skip to content

kap-sh/aws-sdk-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-sdk-python

Modern AWS SDK for Python — async-native, fully typed, and generated from official Smithy models.

Installation

pip install aws-sdk-s3

Each service is distributed as its own package (e.g. aws-sdk-s3, aws-sdk-ec2).

Features

  • async and sync — Use the same API for both async and sync code, with support for asyncio and trio.
  • WASM support — Runs in WASM environments via Pyodide.
  • typed and documented — Fully typed and documented for a better developer experience.
  • simple inputs — No need to import separate parameter classes; nested inputs are fully typed via TypedDicts.
  • generated from Smithy models — The SDK is generated from the official Smithy models describing AWS APIs, ensuring accuracy and consistency.
  • zero runtime overhead — Codegen produces dedicated serialization and deserialization code for each operation, avoiding reflection.
  • interchangeable input/output — Input and output types use the same TypedDicts, so you can pass a response directly as input when appropriate.
  • built on zapros — A modern HTTP client for Python that abstracts HTTP semantics from the transport implementation.

Usage

from aws_sdk_s3 import S3Client

with S3Client() as s3:
    response = s3.create_bucket("capo")
    print(response)

Async:

from aws_sdk_s3 import AsyncS3Client

async def main():
    async with AsyncS3Client() as s3:
        response = await s3.create_bucket("capo")
        print(response)

See the README for each service under the services/ directory for detailed usage including pagination, waiters, and error handling.

Services

Service Package
DynamoDB aws-sdk-dynamodb
EC2 aws-sdk-ec2
ECS aws-sdk-ecs
EKS aws-sdk-eks
IAM aws-sdk-iam
KMS aws-sdk-kms
Lambda aws-sdk-lambda
S3 aws-sdk-s3
Secrets Manager aws-sdk-secrets-manager

More services coming soon.

About

Modern AWS SDK for Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages