Skip to main content

Utility for pseudo-mounting an AWS lambda filesystem locally

Project description

pdm-managed Bugs Maintainability Rating Quality Gate Status

Consolo

Utility for pseudo-mounting an AWS lambda filesystem locally. Supports (as default) hot reloading.

Examples

Start hot syncing

consolo --profile-name dev  --function-name myProject  --path /src/code/myproject

Upload from local to cloud

consolo --profile-name dev  --function-name myProject  --path /src/code/myproject --upload

Download from cloud to local

consolo --profile-name dev  --function-name myProject  --path /src/code/myproject --download

What do I do with my mouth

Pronounced "Con Solo", like "Han Solo".

image

Installation

Single file

curl -s https://raw.githubusercontent.com/ahonnecke/consolo/main/install.sh | bash

Pip install

NOT CURRENTLY SUPPORTED

  • TODO
    • Package for pip
    • Add to pypy
    • Refactor into multiple files

TODO

  • TESTING: Capture and deal with rapid multi-file changes
  • List available functions
  • AST files before upload
  • Unit tests
  • Follow logs while watching

DONE

  • Ignore new files added by pytest

Usage

consolo.py --profile-name dev-power --function-name myLambda --path /home/ahonnecke/src/my_lambda/

examples

ahonnecke@antonym:~/src/v2x-messenger$ consolo.py \
  --profile-name dev-power \
  --function-name v2x-messenger__cipt-status-ingestion \
  --path /home/ahonnecke/src/v2x-messenger/lambdas/cipt_status_ingestion/
  • With the profile
  • dev-power
  • Against the lambda
  • v2x-messenger__cipt-status-ingestion`
  • Mapped on top of the local directory
  • /home/ahonnecke/src/v2x-messenger/lambdas/cipt_status_ingestion/

image

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

consolo-0.2.0.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

consolo-0.2.0-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

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