py-aws-client


Namepy-aws-client JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/ladycami/py-aws-client
Summarypy-aws-client is a Python package that simplifies the process of creating and interacting with various AWS API service clients by providing a high-level wrapper for the Boto3 AWS SDK. It includes pre-configured clients for commonly used AWS services and handles common AWS authentication mechanisms. Suitable for both novice and experienced developers looking to integrate AWS services into their Python applications.
upload_time2023-03-31 04:20:51
maintainer
docs_urlNone
author
requires_python>=3.6
licenseMIT
keywords aws boto3 python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # py-aws-client
`py-aws-client` is a Python package that provides a high-level wrapper for the Boto3 AWS SDK, allowing for extended customization and ease of use. It simplifies the process of creating and interacting with various AWS API service clients by providing a simple and consistent interface. The package includes pre-configured clients for commonly used AWS services such as Auto Scaling, CloudWatch, DynamoDB, EC2, S3, and more. It also handles common AWS authentication mechanisms and can be used with either a default profile or a specified profile.

## Installation
You can install `py-aws-client` using pip:

```
pip install py-aws-client
```

## Usage
Here's an example of how to use `py-aws-client` to interact with AWS services:

```python

from py_aws_client import PyAwsClient

# Create a new client with the default profile
client = PyAwsClient(region='us-east-1')

# Create a new EC2 client
ec2 = client.ec2()

# List all instances
instances = ec2.describe_instances()

for reservation in instances['Reservations']:
    for instance in reservation['Instances']:
        print(f"Instance ID: {instance['InstanceId']}, State: {instance['State']['Name']}")
```
In this example, we create a new `PyAwsClient` instance with the default profile and use it to create a new `EC2` client. 
We then use the `describe_instances` method to retrieve information about all EC2 instances in the region and print out their instance IDs and states.

You can also use a named profile by passing the `profile_name` parameter to the `PyAwsClient` constructor:

```python
# Create a new client with a named profile
client = PyAwsClient(region='us-east-1', profile_name='my-profile')
```

## License
This package is licensed under the MIT License. See the `LICENSE` file for details.

## Contributing
If you have suggestions for new features, bug fixes, or other improvements, please open an issue or pull request on GitHub.

## Acknowledgements
`py-aws-client` is built using the Boto3 AWS SDK and would not be possible without the hard work of the Boto3 team and the AWS community. Thank you for your contributions!

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ladycami/py-aws-client",
    "name": "py-aws-client",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "aws,boto3,python",
    "author": "",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/1a/9a/09cbfbcc5e6a572c5c1542d920eedb68f23b5dd5dedeb532c146a99268c1/py-aws-client-0.0.1.tar.gz",
    "platform": null,
    "description": "# py-aws-client\r\n`py-aws-client` is a Python package that provides a high-level wrapper for the Boto3 AWS SDK, allowing for extended customization and ease of use. It simplifies the process of creating and interacting with various AWS API service clients by providing a simple and consistent interface. The package includes pre-configured clients for commonly used AWS services such as Auto Scaling, CloudWatch, DynamoDB, EC2, S3, and more. It also handles common AWS authentication mechanisms and can be used with either a default profile or a specified profile.\r\n\r\n## Installation\r\nYou can install `py-aws-client` using pip:\r\n\r\n```\r\npip install py-aws-client\r\n```\r\n\r\n## Usage\r\nHere's an example of how to use `py-aws-client` to interact with AWS services:\r\n\r\n```python\r\n\r\nfrom py_aws_client import PyAwsClient\r\n\r\n# Create a new client with the default profile\r\nclient = PyAwsClient(region='us-east-1')\r\n\r\n# Create a new EC2 client\r\nec2 = client.ec2()\r\n\r\n# List all instances\r\ninstances = ec2.describe_instances()\r\n\r\nfor reservation in instances['Reservations']:\r\n    for instance in reservation['Instances']:\r\n        print(f\"Instance ID: {instance['InstanceId']}, State: {instance['State']['Name']}\")\r\n```\r\nIn this example, we create a new `PyAwsClient` instance with the default profile and use it to create a new `EC2` client. \r\nWe then use the `describe_instances` method to retrieve information about all EC2 instances in the region and print out their instance IDs and states.\r\n\r\nYou can also use a named profile by passing the `profile_name` parameter to the `PyAwsClient` constructor:\r\n\r\n```python\r\n# Create a new client with a named profile\r\nclient = PyAwsClient(region='us-east-1', profile_name='my-profile')\r\n```\r\n\r\n## License\r\nThis package is licensed under the MIT License. See the `LICENSE` file for details.\r\n\r\n## Contributing\r\nIf you have suggestions for new features, bug fixes, or other improvements, please open an issue or pull request on GitHub.\r\n\r\n## Acknowledgements\r\n`py-aws-client` is built using the Boto3 AWS SDK and would not be possible without the hard work of the Boto3 team and the AWS community. Thank you for your contributions!\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "py-aws-client is a Python package that simplifies the process of creating and interacting with various AWS API service clients by providing a high-level wrapper for the Boto3 AWS SDK. It includes pre-configured clients for commonly used AWS services and handles common AWS authentication mechanisms. Suitable for both novice and experienced developers looking to integrate AWS services into their Python applications.",
    "version": "0.0.1",
    "split_keywords": [
        "aws",
        "boto3",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c17dbb1de11ffab64675414ea68831f1eabd16a95b95569c23c9defff65989d",
                "md5": "835746cc3051057290b48c12fcf0b106",
                "sha256": "8bc098efc468d6996d836e306560263e553609ab7a54d4b12e775d175ce0aed0"
            },
            "downloads": -1,
            "filename": "py_aws_client-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "835746cc3051057290b48c12fcf0b106",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 24835,
            "upload_time": "2023-03-31T04:20:50",
            "upload_time_iso_8601": "2023-03-31T04:20:50.022009Z",
            "url": "https://files.pythonhosted.org/packages/0c/17/dbb1de11ffab64675414ea68831f1eabd16a95b95569c23c9defff65989d/py_aws_client-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1a9a09cbfbcc5e6a572c5c1542d920eedb68f23b5dd5dedeb532c146a99268c1",
                "md5": "de6a5c4b09c7911dde700c12d8d0dac0",
                "sha256": "95f32826784275d4204cd42178577da0e82c699388e0a6cf9c91c8c1a32a7b6c"
            },
            "downloads": -1,
            "filename": "py-aws-client-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "de6a5c4b09c7911dde700c12d8d0dac0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 18262,
            "upload_time": "2023-03-31T04:20:51",
            "upload_time_iso_8601": "2023-03-31T04:20:51.890269Z",
            "url": "https://files.pythonhosted.org/packages/1a/9a/09cbfbcc5e6a572c5c1542d920eedb68f23b5dd5dedeb532c146a99268c1/py-aws-client-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-31 04:20:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "ladycami",
    "github_project": "py-aws-client",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "py-aws-client"
}
        
Elapsed time: 0.19092s