Skip to main content

Dataclass for boto3.

Project description

Documentation Status https://img.shields.io/pypi/v/boto3-dataclass.svg https://img.shields.io/pypi/l/boto3-dataclass.svg https://img.shields.io/pypi/pyversions/boto3-dataclass.svg https://img.shields.io/badge/✍️_Release_History!--None.svg?style=social&logo=github https://img.shields.io/badge/⭐_Star_me_on_GitHub!--None.svg?style=social&logo=github
https://img.shields.io/badge/Link-API-blue.svg https://img.shields.io/badge/Link-Install-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

🚀 boto3-dataclass: Transform Your boto3 Experience

https://boto3-dataclass.readthedocs.io/en/latest/_static/boto3_dataclass-logo.png

📚READ FULL DOCUMENTATION HERE

Welcome to boto3-dataclass! This library transforms boring boto3 dictionaries into beautiful, type-safe dataclasses with full autocomplete support. Say goodbye to response['Key']['SubKey'] and hello to response.Key.SubKey with full IDE support!

import boto3
from boto3_dataclass_iam import iam_caster

# Use boto3 normally
iam_client = boto3.client("iam")
response = iam_client.get_role(RoleName="MyRole")

# Convert to structured dataclass
response = iam_caster.get_role(response)
# Now you get full IDE autocompletion and type safety!
# IDE shows available attributes
https://github.com/user-attachments/assets/7a76fde3-6786-48e6-a809-0a6bc3913d9b https://github.com/user-attachments/assets/718bfed0-5aee-457f-b84a-f1221948dca1

📦 Installation

Install the service you need (e.g., for IAM, S3):

$ pip install boto3-dataclass[iam,s3]

Or match with your boto3 version:

$ pip install "boto3-dataclass[iam,s3]>=1.40.0,<1.41.0"

Or install everything at once:

$ pip install boto3-dataclass[all]  # Installs all AWS services

To upgrade to latest version:

$ pip install --upgrade boto3-dataclass

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

boto3_dataclass-1.40.0.dev4-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file boto3_dataclass-1.40.0.dev4-py3-none-any.whl.

File metadata

File hashes

Hashes for boto3_dataclass-1.40.0.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 fb54780a40d508fce55a9b708b5897436e225bd34dbfce39a1cebba3cdb12a99
MD5 c15ed186ad3397c88570765f764c3ce9
BLAKE2b-256 0228394f267f230e2d38ae33854f940e868af557a280f7d2f3b3582bf2d639b6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page