Skip to main content

boto3 with auto-complete and dataclasses not dicts

Project description

Status

Pre-Alpha (Proof of Concept)

The Objective

I want to be able to write code like below with my favourite IDE (PyCharm) telling me that the s3 service has methods called list_buckets and list_objects_v2 and they take certain arguments and return objects of this or that type.

from autoboto.services.s3.client import Client

s3 = Client()

for bucket in s3.list_buckets().buckets:
    print(f"= {bucket.name} =")
    for obj in s3.list_objects_v2(bucket_name=bucket.name).contents:
        print(f"  - {obj.key}")

Installation

Not yet.

pip install autoboto

Code Generation

python -m autoboto.builder

Project details


Download files

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

Source Distribution

autoboto-0.0.3.tar.gz (3.0 MB view hashes)

Uploaded Source

Built Distribution

autoboto-0.0.3-py3-none-any.whl (3.2 MB view hashes)

Uploaded Python 3

Supported by

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