Last updated:
0 purchases
awsgluecontainerlauncher 0.1.2
Welcome to aws_glue_container_launcher Documentation
AWS Big Data Blog - Develop and test AWS Glue version 3.0 and 4.0 jobs locally using a Docker container introduced a method using AWS maintained glue container to perform local development, unit testing, and interactive jupyter notebook on local laptop or in CI environment. I personally use this to accelerate AWS Glue ETL development, improve development experience and ETL logic visibility, and bring the quality of ETL code to the next level by adding lots of unit test and integration test.
aws_glue_container_launcher is a zero-dependency, pure python library that can easily create shell script to perform tasks introduced in the AWS blog. This project is the core building block in my personal AWS Glue ETL project CI/CD best practice that is used to delivery high-quality ETL pipeline for my clients.
Dependencies
You need to have docker installed on your local laptop or CI environment. You can test it by running docker --version in your terminal.
Python3.6 + to install this library and run the shell script.
MacOS / Linux / Windows OS to run the shell script, but I only tested on MacOS and Linux.
Usage
run glue job locally in container, see example at
run pytest locally in container
run jupyter lab locally in container
REPL SHELL (TO DO)
Visual Studio Code (TODO)
Install
aws_glue_container_launcher is released on PyPI, so all you need is to:
$ pip install aws-glue-container-launcher
To upgrade to latest version:
$ pip install --upgrade aws-glue-container-launcher
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.