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-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for boto3_dataclass-1.40.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8806f970cc9bc59aab34a3aaaebb92b2a9e45975d0b7da75b6bae08017b9a1c
MD5 f189307800fa0c273bac62f4be5ee4c3
BLAKE2b-256 9ce350997a0c99cab8563ebcfa86164dcbdcb87f6791f6394ebb0ffe9dbba96d

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