Skip to main content

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

Release files for awspy 1.0.0

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

Source distribution (sdist)

Source distribution for awspy 1.0.0
File Size Uploaded
awspy-1.0.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for awspy 1.0.0
File Interpreter ABI Platform
awspy-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.3 kB

Release files / awspy-1.0.0.tar.gz

Download URL awspy-1.0.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8f16f6d5047e4261de5e3678f49d0b23833cd091716b6d49a1922d00e4ee49c4
BLAKE2b-256 checksum
How to use checksums
61f0837675d1b8ba19a5b3ee91e0ec3e58d9028a19712c52a2c22b89ff4843ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.9

Release files / awspy-1.0.0-py3-none-any.whl

Download URL awspy-1.0.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdd17f8bac3cbccf67bd7dcb81a92537ea16bb903d7b053930f7aac41a5d6e03
BLAKE2b-256 checksum
How to use checksums
06b0fd504469e0744c6006c6f40e776b7b067e3948e11a0207328f1131c8723d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.9

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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