Utility for pseudo-mounting an AWS lambda filesystem locally
Project description
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".
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/
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)