Skip to main content

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

Project description

core-aws

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


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

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

core_aws-2.0.1.tar.gz (60.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

core_aws-2.0.1-py3-none-any.whl (79.0 kB view details)

Uploaded Python 3

File details

Details for the file core_aws-2.0.1.tar.gz.

File metadata

  • Download URL: core_aws-2.0.1.tar.gz
  • Upload date:
  • Size: 60.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for core_aws-2.0.1.tar.gz
Algorithm Hash digest
SHA256 c6c46712f260a65fe55000b5385c358235dcf7d8a5b427b7d30d49b69edf4e91
MD5 5071ec69975aca6e4847362138c99d21
BLAKE2b-256 129a973abc0ad006dfc444784efa01ba0502a94db75e3422eb3b8c10a8056558

See more details on using hashes here.

File details

Details for the file core_aws-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: core_aws-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 79.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for core_aws-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 22b198a8c24c62b6c9b99dec8089ab650db646f8dcc42e79e12f32e06ffecaaa
MD5 79dbb9167baff41c1528d4331150ba28
BLAKE2b-256 d35330c63558adc6ccddafd3bc717662730de91121c2bc20bbe881983dc35eeb

See more details on using hashes here.

Supported by

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