This project/library contains common elements related to AWS services...
Project description
core-aws
This project/library contains common elements related to AWS services…
Installation
Install from PyPI using pip:
pip install core-aws
uv pip install core-aws # Or using UV...
Features
AWS Service Clients: High-level wrappers for S3, SQS, SNS, Kinesis, SSM, DynamoDB, ECS, and CloudFormation with improved error handling and type safety.
ETL Base Classes: Reusable base classes for building ETL pipelines on AWS (base, S3 bucket-based, SQS-based).
Lambda Decorators: Event processing decorators for SQS, SNS, and Kinesis with automatic batch failure handling.
Comprehensive Type Hints: Full type definitions for Lambda contexts, events (SQS, SNS, Kinesis), SSM parameters, Cognito identity, and mobile clients.
CDC Targets: Change Data Capture targets for streaming data to SQS, SNS, and Kinesis.
KMS Cipher: Utilities for encryption/decryption using AWS KMS.
Testing Utilities: Base classes and helpers for testing AWS-based applications.
Quick Start
Installation
Install the package:
pip install core-aws
uv pip install core-aws # Or using UV...
pip install -e ".[dev]" # For development...
Setting Up Environment
Install required libraries:
pip install --upgrade pip
pip install virtualenv
Create Python virtual environment:
virtualenv --python=python3.12 .venv
Activate the virtual environment:
source .venv/bin/activate
Install packages
pip install .
pip install -e ".[dev]"
Check tests and coverage
python manager.py run-tests
python manager.py run-tests --test-type integration
python manager.py run-coverage
# Having proper AWS credentials...
python manager.py run-tests --test-type functional --pattern "*.py"
Contributing
Contributions are welcome! Please:
Fork the repository
Create a feature branch
Write tests for new functionality
Ensure all tests pass: pytest -n auto
Run linting: pylint core_aws
Run security checks: bandit -r core_aws
Submit a pull request
License
This project is licensed under the MIT License. See the LICENSE file for details.
Links
Support
For questions or support, please open an issue on GitLab or contact the maintainers.
Project details
Release history Release notifications | RSS feed
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 core_aws-3.1.1.tar.gz.
File metadata
- Download URL: core_aws-3.1.1.tar.gz
- Upload date:
- Size: 65.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33d1add6558d61a715d5155bc87f9415cfc1ffc10a8dbc5e42dcaff920d6592e
|
|
| MD5 |
508261031f0b6600dc3e1e7445333a6f
|
|
| BLAKE2b-256 |
d81742f90b1b8d967b4259edcaec204bd3c955df5238e3e79f19b6c57032b914
|
File details
Details for the file core_aws-3.1.1-py3-none-any.whl.
File metadata
- Download URL: core_aws-3.1.1-py3-none-any.whl
- Upload date:
- Size: 86.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
614e5fa17fe799515ba97735c6b82cd03320ce93b4ad00060c75ed85f3bcc785
|
|
| MD5 |
6add963c5c7cfe682e907641696e8f72
|
|
| BLAKE2b-256 |
1ef381ca3a725464b92e77fe598c265425ddfe44992f73307d348b998c2f8747
|