Pruun is a CL utility for easily creating AWS lambda deployment packages within Python virtualenvs.
Project description
pruun
Pruun is a CL utility for easily creating AWS lambda deployment packages within Python virtualenvs. It was designed to work as a simple, out-of-the-box solution that can be integrated into any deployment pipeline.
NOTE: Supported OSs are Linux and MAC. Windows support is not fully tested at the moment.
Installation
Use the package manager pip to install pruun
pip install pruun
Usage
For the following usage examples, let's imagine this is simple directory structure:
.
├── requirements.txt
└── my_lambda_handler.py
$ pruun --help
Usage: pruun [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
package Creates deployment package .zip file in current directory.
$ pruun package my_lambda_handler.py
Locating all installed packages... [####################################] 100%
Creating deployment package...
Finit!
Commands
pruun package [OPTIONS] handler_path
Usage: pruun package [OPTIONS] handler_path
Creates deployment package .zip file in current directory.
handler_path (str): Name of Lambda handler file/directory. Trailing slash
for a directory path is optional.
package-file (str, optional): Desired filename of deployment .zip file.
Defaults to "deployment_package.zip".
Options:
--package-file PATH Desired filename of deployment .zip file.
--help Show this message and exit.
Contributing
Set up the development environment by running make setup
.
Before contributing a pull request, please make sure tests pass by running make test
.
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
Built Distribution
File details
Details for the file pruun-0.4.0.tar.gz
.
File metadata
- Download URL: pruun-0.4.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec756e7a4187b6309c7bc410ff30b2a485fc17a256735172f858585172ac7a8f |
|
MD5 | 86c8f65b05c45b87448ca9e3039527fe |
|
BLAKE2b-256 | bd30dbcdda7292f8d15e33b232cc5b26ac8482ee20903b65410bb557ab4da3a0 |
File details
Details for the file pruun-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: pruun-0.4.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c691176ab6f2bcccf873d06298efa08711e5a1479d3857ddcc0c7817ec9823a |
|
MD5 | e01acfdc51d8af2027cb376806de2d22 |
|
BLAKE2b-256 | 43914ddb53efa0756c924ab5099159cf739a7e0e13eff62882a4a46fb3e902ce |