e-aws


Namee-aws JSON
Version 0.0.6 PyPI version JSON
download
home_pageNone
SummaryEasy AWS connection
upload_time2024-07-12 20:22:37
maintainerNone
docs_urlNone
authorJeff Aguilar
requires_pythonNone
licenseMIT
keywords aws boto3
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Easy AWS


Simple connection to AWS Bucket and Lambda Services

## Installation

```
pip install e-aws
```


## Usage

This package provides an easy use Bucket and Lambda Services

By default it will take the AWS keys as AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_REGION


## Using Bucket Service


```python
from e_aws.awsbucket import AWSBucket

AWSBucket('my-bucket').exists('test.txt')


with AWSBucket('my-bucket') as bucket:
    if bucket.exists('test.txt'):
        pass
    else:
        local_path = './test.txt'
        with open(local_path, 'w') as fl:
            fl.write('hello world')
        bucket.upload(local_path, 'test.txt')

```

## Using Lambda Service


```python
from e_aws.awsconnect import AWSConnect

with AWSConnect() as aws:
    aws.bucket('test').exists("test.txt")
    aws.lambdaF('function', {})

```


## Using connection keys

```python
from e_aws.awsbucket import AWSBucket
from e_aws.awslambda import AWSLambda
from e_aws.awsconnect import AWSConnect

AWSBucket('my-bucket', access_key_id='', secret_access_key='', region='').exists('test.txt')
AWSLambda('function', access_key_id='', secret_access_key='', region='').invoke({})
with AWSConnect(access_key_id='', secret_access_key='', region='') as _:
    pass

```


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "e-aws",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "aws, boto3",
    "author": "Jeff Aguilar",
    "author_email": "jeff.aguilar.06@gmail.com",
    "download_url": null,
    "platform": null,
    "description": "# Easy AWS\n\n\nSimple connection to AWS Bucket and Lambda Services\n\n## Installation\n\n```\npip install e-aws\n```\n\n\n## Usage\n\nThis package provides an easy use Bucket and Lambda Services\n\nBy default it will take the AWS keys as AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_REGION\n\n\n## Using Bucket Service\n\n\n```python\nfrom e_aws.awsbucket import AWSBucket\n\nAWSBucket('my-bucket').exists('test.txt')\n\n\nwith AWSBucket('my-bucket') as bucket:\n    if bucket.exists('test.txt'):\n        pass\n    else:\n        local_path = './test.txt'\n        with open(local_path, 'w') as fl:\n            fl.write('hello world')\n        bucket.upload(local_path, 'test.txt')\n\n```\n\n## Using Lambda Service\n\n\n```python\nfrom e_aws.awsconnect import AWSConnect\n\nwith AWSConnect() as aws:\n    aws.bucket('test').exists(\"test.txt\")\n    aws.lambdaF('function', {})\n\n```\n\n\n## Using connection keys\n\n```python\nfrom e_aws.awsbucket import AWSBucket\nfrom e_aws.awslambda import AWSLambda\nfrom e_aws.awsconnect import AWSConnect\n\nAWSBucket('my-bucket', access_key_id='', secret_access_key='', region='').exists('test.txt')\nAWSLambda('function', access_key_id='', secret_access_key='', region='').invoke({})\nwith AWSConnect(access_key_id='', secret_access_key='', region='') as _:\n    pass\n\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Easy AWS connection",
    "version": "0.0.6",
    "project_urls": null,
    "split_keywords": [
        "aws",
        " boto3"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f864510665a8bc37c05b701897b7aa78e541e4eb8531bcb00d8ab5254a2fc467",
                "md5": "d137eb0cde29c5369ea7f8b2b3d3ad47",
                "sha256": "e87ee09ca60ead41e6fac666154d2adad2e6900e574933c0fce14fc48b7bc889"
            },
            "downloads": -1,
            "filename": "e_aws-0.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d137eb0cde29c5369ea7f8b2b3d3ad47",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 10321,
            "upload_time": "2024-07-12T20:22:37",
            "upload_time_iso_8601": "2024-07-12T20:22:37.971114Z",
            "url": "https://files.pythonhosted.org/packages/f8/64/510665a8bc37c05b701897b7aa78e541e4eb8531bcb00d8ab5254a2fc467/e_aws-0.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-12 20:22:37",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "e-aws"
}
        
Elapsed time: 0.33004s