Skip to main content

AWS CDK Common

aws-cdk-common is a shared package for common modules and constants for AWS Lambda applications based on AWS CDK. It provides essential tools and configurations for managing AWS resources efficiently.

Python Environment

Installing Poetry

Poetry is a tool to manage Python projects in a deterministic way. Follow the instructions to set up your environment.

Installing Required Modules

To install required modules, run:

poetry install --no-root

Development Environment Setup

To install required modules for development, run:

poetry install --with dev --no-root

Activating the Virtual Environment

To activate the virtual environment:

  • Linux/macOS:
    source $(poetry env info --path)/bin/activate
    
  • Windows (PowerShell):
    . $(poetry env info --path)/Scripts/activate
    

Pre-commit Hooks

Install pre-commit hooks to ensure consistent code quality:

poetry run pre-commit install

Code Formatting and Quality Checks

  • Format code with Black:
    poetry run black .
    
  • Sort imports with isort:
    poetry run isort .
    
  • Check code quality with Flake8:
    poetry run flake8 .
    

Tests

Unit Tests

Run unit tests:

poetry run pytest tests/unit

Integration Tests

Run integration tests:

poetry run pytest tests/integration

All Tests

Run all tests:

poetry run pytest

Deployment

To deploy the application, use:

python app_setup.py deploy

For a faster deployment without installations or tests, use:

python app_setup.py fast_deploy

Setup

Ensure that the aws-common repository is cloned and updated as part of the setup process.

Metadata

Release files for aws-cdk-common 0.1.58

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

Source distribution (sdist)

Source distribution for aws-cdk-common 0.1.58
File Size Uploaded Provenance
aws_cdk_common-0.1.58.tar.gz 24.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-cdk-common 0.1.58
File Interpreter ABI Platform
aws_cdk_common-0.1.58-py3-none-any.whl Python 3 none any Details

Total release size: 53.3 kB

Release files / aws_cdk_common-0.1.58.tar.gz

Download URL aws_cdk_common-0.1.58.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
211eec6592c5d66c278d50712cf417b486625186fb4395c245580fe80b3d7d79
BLAKE2b-256 checksum
How to use checksums
c9cade3a4df50752561c7f263ba33564dac5c15da98648e081500547e4f9216b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.12.3 Linux/6.8.0-1021-azure

Release files / aws_cdk_common-0.1.58-py3-none-any.whl

Download URL aws_cdk_common-0.1.58-py3-none-any.whl
Size 29.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d78043c9439caafc4c97a6c5381ceb2626ef0c0ab53990a8f7d94d78b6ed719
BLAKE2b-256 checksum
How to use checksums
6bc113fee8cc3b56ddbfaf5a31da6291d6db17887daa2b50cfb169a98ede9c80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.12.3 Linux/6.8.0-1021-azure

Security for aws-cdk-common 0.1.58

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.

Release history Release notifications | RSS feed

This release

0.1.58 This release

2 release files No provenance

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