Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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

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.2.2
File Size Uploaded
awswrapper-0.2.2.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for awswrapper 0.2.2
File Interpreter ABI Platform
awswrapper-0.2.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 6.5 kB

Release files / awswrapper-0.2.2.tar.gz

Download URL awswrapper-0.2.2.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cad4bc68464bf5d9dda35835fab8ca43b64d1cafde8c8ad9bf409b58c1e29b53
BLAKE2b-256 checksum
How to use checksums
fbf971022ae4c73f9a0b193988ddbe15ad0aee11e3ba451a0372d911cf448d72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / awswrapper-0.2.2-py2.py3-none-any.whl

Download URL awswrapper-0.2.2-py2.py3-none-any.whl
Size 4.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7be9894f81e93e7381119ce4fd1079546102aef19715552cfee6ce60bee947ca
BLAKE2b-256 checksum
How to use checksums
cc05cce1171819942e9e31a78c590f0e76ae214ef72a24a1e03356eccfc56514
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
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