Metadata-Version: 2.1
Name: autoboto
Version: 0.0.4
Summary: boto3 with auto-complete and dataclasses not dicts
Home-page: https://github.com/jbasko/autoboto
Author: Jazeps Basko
Author-email: jazeps.basko@gmail.com
Maintainer: Jazeps Basko
Maintainer-email: jazeps.basko@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: License :: OSI Approved :: MIT License
Requires-Dist: boto3
Requires-Dist: dataclasses

########
autoboto
########

======
Status
======

**Alpha**

=============
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.

.. code-block:: python

    from autoboto.services import s3

    s3_client = s3.Client()

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

============
Installation
============

.. code-block:: shell

    pip install autoboto


===============
Code Generation
===============

.. code-block:: shell

    python -m autoboto.builder --services s3,cloudformation,lambda

=======
Release
=======

.. code-block:: shell

    bumpversion

    pytest
    flake8
    isort

    # Check everything generates well without formatting
    python -m autoboto.builder --yapf-style "" --services "*"

    # Generate with formatting
    python -m autoboto.builder --yapf-style "facebook" --services "*"

    python setup.py sdist bdist_wheel

    python setup.py sdist upload -r pypitest

    python setup.py sdist upload

    # tag the release


