Skip to main content

Utility tools for running Python services in AWS.

Project description

AWSPy

Utility tools for running Python services in AWS. Note: This package isn't designed to replace services such as Boto3 - the Python AWS SDK.

Features

Fargate Backed ECS

  • Tooling to extract container metadata, stats, and task information
  • Fargate Readme

Installation

Install using Pip:

pip install awspy

Usage

Import the service, then run commands:

from awspy.ecs import Fargate

Fargate().get_container_metadata_v4()

Each service is initialised in a common way. You can pass configuration options during initialisation (and if no options are provided then all options revert to their defaults):

from awspy.ecs import Fargate

Fargate(raise_errors=False, logger=my_logger)

The options available for all services are:

Option Type Description Default
raise_errors Boolean Should exceptions bubble up? True
logger Python logger A Python logger instance to log information and errors to. Python logger (logging.getLogger(__name__))

Useful Links

AWSPy:

Useful Python AWS Packages

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

awspy-1.0.0.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

awspy-1.0.0-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page