Poetry plugin to work with AWS's SAM serverless tool
Project description
Description
CLI tool to run the sam build
on a poetry-based project.
assume:
- you have installed
aws-sam-cli
through other means- with homebrew:
brew install aws-sam-cli
- with homebrew:
Set up
To install in the same environment as the poetry on your system:
poetry self add git+https://github.com/upjohnc/pinnacle-poetry-aws-sam.git
This will add sam as a command in poetry. If you run poetry list
, you will
see sam
as an option amongst the commands
Working on poetry-aws-sam
Common Actions - justfile
There is a justfile for just
commands. It is like make
with improvements.
You can read about installation and usage here: just - github
- show all the commands by running only just:
just
- set up git hooks through the pre-commit project:
just pre-commit-setup
- run the unit tests:
just tests
Install locally to test iteratively
python -m venv .venv
source .venv/bin/activate
pip install -e .
just sam # same as: .venv/bin/poetry sam
This will set up a virtual env and have the sam ready as a plugin
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
poetry_aws_sam-1.2.0.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for poetry_aws_sam-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3561e8fe0c13d4cab159ab389eb887618faade1dbbd87f1f15ef68d2ae1deb6d |
|
MD5 | f8bee8976512b1900c09b890daa29a28 |
|
BLAKE2b-256 | 131b71476765ee38d3bf041533116691e2da9607c1b824c3d6c9534b627071ab |