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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file awspy-1.0.0.tar.gz.
File metadata
- Download URL: awspy-1.0.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f16f6d5047e4261de5e3678f49d0b23833cd091716b6d49a1922d00e4ee49c4
|
|
| MD5 |
a009073daaf24462cb1f0982f709c4e2
|
|
| BLAKE2b-256 |
61f0837675d1b8ba19a5b3ee91e0ec3e58d9028a19712c52a2c22b89ff4843ba
|
File details
Details for the file awspy-1.0.0-py3-none-any.whl.
File metadata
- Download URL: awspy-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdd17f8bac3cbccf67bd7dcb81a92537ea16bb903d7b053930f7aac41a5d6e03
|
|
| MD5 |
77bf80c15c53fcf10301dc0bc2e28589
|
|
| BLAKE2b-256 |
06b0fd504469e0744c6006c6f40e776b7b067e3948e11a0207328f1131c8723d
|