Skip to main content

core-aws

This project/library contains common elements related to AWS services…


PyPI Downloads Python Versions License Pipeline Status Docs Status Security

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

  1. Install required libraries:

pip install --upgrade pip
pip install virtualenv
  1. Create Python virtual environment:

virtualenv --python=python3.12 .venv
  1. 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:

  1. Fork the repository

  2. Create a feature branch

  3. Write tests for new functionality

  4. Ensure all tests pass: pytest -n auto

  5. Run linting: pylint core_aws

  6. Run security checks: bandit -r core_aws

  7. Submit a pull request

License

This project is licensed under the MIT License. See the LICENSE file for details.

Support

For questions or support, please open an issue on GitLab or contact the maintainers.

Authors

Metadata

Release files for core-aws 3.1.3

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

Source distribution (sdist)

Source distribution for core-aws 3.1.3
File Size Uploaded Provenance Actions
core_aws-3.1.3.tar.gz 67.7 kB Without provenance Details for core_aws-3.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for core-aws 3.1.3
File Interpreter ABI Platform Actions
core_aws-3.1.3-py3-none-any.whl Python 3 none any Details for core_aws-3.1.3-py3-none-any.whl

Total release size: 156.1 kB

Release files / core_aws-3.1.3.tar.gz

Download URL core_aws-3.1.3.tar.gz
Size 67.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b93b1ffdf8541136fced5a2b435684237172be7380a63e5088f93cdaede0e328
BLAKE2b-256 checksum
How to use checksums
fe40b63b85c5ff29ea5a7566a0a0d4492c70a5dcf744091bfd8cc3050c9bc3d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / core_aws-3.1.3-py3-none-any.whl

Download URL core_aws-3.1.3-py3-none-any.whl
Size 88.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
812b0492175af2ec8360ddef0e9d8709fa2ebd23ed4e905b80c94a7a1d5821dc
BLAKE2b-256 checksum
How to use checksums
e8525b6aa822fb9050f66ce4ce234e5f433d27777d92aa8b6a213f3b6fe7a184
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for core-aws 3.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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