Skip to main content
awswrapper - AWS API Wrapper
========================

AWS API Wrapper for Lambda

Usage
-----

It will look into your aws credentials file

Import the ec2wrapper

>>> from awswrapper import ec2wrapper

Use describe functions for talk to aws

>>> ec2wrapper.describe_instances(state=None)
>>> ec2wrapper.describe_instances_by_tag(tag, value=None, state=None)

Execute actions on those Instances

>>> ec2wrapper.terminate_instances(instance_ids, dry_run)
>>> ec2wrapper.stop_instances(instance_ids, dry_run)
>>> ec2wrapper.start_instances(instance_ids, dry_run)

Get data from the EC2 Response

>>> ec2wrapper.get_instances_data(ec2_instances)
>>> ec2wrapper.get_instances_ids(ec2_instances)

Get data from Instance

>>> ec2wrapper.get_tags_from_instance(instance)

Get the EC2 Connection

>>> ec2wrapper.get_ec2_connection(instance)

Metadata

Release files for awswrapper 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for awswrapper 0.1.1
File Size Uploaded
awswrapper-0.1.1.tar.gz 2.1 kB Details

Release files / awswrapper-0.1.1.tar.gz

Download URL awswrapper-0.1.1.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0c397c44e93fcac4d89639d23b348186017aa94bb41cb6e0f929def15e3d2afe
BLAKE2b-256 checksum
How to use checksums
84eeffe8d561db2d617835407aad1eb586bea719dea08080d9601178b419fa81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.3.0

2 release files

0.2.2

2 release files

0.2.1

1 release file

0.2.0

2 release files

0.1.2

3 release files

This release

0.1.1 This release

1 release file

0.1.0

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page