.. .. image:: https://readthedocs.org/projects/aws-glue-container-launcher/badge/?version=latest
:target: https://aws-glue-container-launcher.readthedocs.io/en/latest/
:alt: Documentation Status
.. image:: https://github.com/MacHu-GWU/aws_glue_container_launcher-project/workflows/CI/badge.svg
:target: https://github.com/MacHu-GWU/aws_glue_container_launcher-project/actions?query=workflow:CI
.. image:: https://codecov.io/gh/MacHu-GWU/aws_glue_container_launcher-project/branch/main/graph/badge.svg
:target: https://codecov.io/gh/MacHu-GWU/aws_glue_container_launcher-project
.. image:: https://img.shields.io/pypi/v/aws-glue-container-launcher.svg
:target: https://pypi.python.org/pypi/aws-glue-container-launcher
.. image:: https://img.shields.io/pypi/l/aws-glue-container-launcher.svg
:target: https://pypi.python.org/pypi/aws-glue-container-launcher
.. image:: https://img.shields.io/pypi/pyversions/aws-glue-container-launcher.svg
:target: https://pypi.python.org/pypi/aws-glue-container-launcher
.. image:: https://img.shields.io/badge/Release_History!--None.svg?style=social
:target: https://github.com/MacHu-GWU/aws_glue_container_launcher-project/blob/main/release-history.rst
.. image:: https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
:target: https://github.com/MacHu-GWU/aws_glue_container_launcher-project
------
.. .. image:: https://img.shields.io/badge/Link-Document-blue.svg
:target: https://aws-glue-container-launcher.readthedocs.io/en/latest/
.. .. image:: https://img.shields.io/badge/Link-API-blue.svg
:target: https://aws-glue-container-launcher.readthedocs.io/en/latest/py-modindex.html
.. image:: https://img.shields.io/badge/Link-Install-blue.svg
:target: `install`_
.. image:: https://img.shields.io/badge/Link-GitHub-blue.svg
:target: https://github.com/MacHu-GWU/aws_glue_container_launcher-project
.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg
:target: https://github.com/MacHu-GWU/aws_glue_container_launcher-project/issues
.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg
:target: https://github.com/MacHu-GWU/aws_glue_container_launcher-project/issues
.. image:: https://img.shields.io/badge/Link-Download-blue.svg
:target: https://pypi.org/pypi/aws-glue-container-launcher#files
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 <https://aws.amazon.com/blogs/big-data/develop-and-test-aws-glue-version-3-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 <https://github.com/MacHu-GWU/aws_glue_container_launcher-project/blob/main/examples/run_container.py>`_
- `run pytest locally in container <https://github.com/MacHu-GWU/aws_glue_container_launcher-project/tree/main/tests_glue/glue_libs>`_
- `run jupyter lab locally in container <https://github.com/MacHu-GWU/aws_glue_container_launcher-project/blob/main/examples/run_container.py#L173>`_
- REPL SHELL (TO DO)
- Visual Studio Code (TODO)
.. _install:
Install
------------------------------------------------------------------------------
``aws_glue_container_launcher`` is released on PyPI, so all you need is to:
.. code-block:: console
$ pip install aws-glue-container-launcher
To upgrade to latest version:
.. code-block:: console
$ pip install --upgrade aws-glue-container-launcher
Raw data
{
"_id": null,
"home_page": "https://github.com/MacHu-GWU/aws_glue_container_launcher-project",
"name": "aws-glue-container-launcher",
"maintainer": "Sanhe Hu",
"docs_url": null,
"requires_python": "",
"maintainer_email": "husanhe@gmail.com",
"keywords": "",
"author": "Sanhe Hu",
"author_email": "husanhe@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/a2/88/c28fadfa9b6f9e4fff0f3dd4cbc969e4cb4f36f53049d0ae085a0a3d35ea/aws_glue_container_launcher-0.1.2.tar.gz",
"platform": "Windows",
"description": "\n.. .. image:: https://readthedocs.org/projects/aws-glue-container-launcher/badge/?version=latest\n :target: https://aws-glue-container-launcher.readthedocs.io/en/latest/\n :alt: Documentation Status\n\n.. image:: https://github.com/MacHu-GWU/aws_glue_container_launcher-project/workflows/CI/badge.svg\n :target: https://github.com/MacHu-GWU/aws_glue_container_launcher-project/actions?query=workflow:CI\n\n.. image:: https://codecov.io/gh/MacHu-GWU/aws_glue_container_launcher-project/branch/main/graph/badge.svg\n :target: https://codecov.io/gh/MacHu-GWU/aws_glue_container_launcher-project\n\n.. image:: https://img.shields.io/pypi/v/aws-glue-container-launcher.svg\n :target: https://pypi.python.org/pypi/aws-glue-container-launcher\n\n.. image:: https://img.shields.io/pypi/l/aws-glue-container-launcher.svg\n :target: https://pypi.python.org/pypi/aws-glue-container-launcher\n\n.. image:: https://img.shields.io/pypi/pyversions/aws-glue-container-launcher.svg\n :target: https://pypi.python.org/pypi/aws-glue-container-launcher\n\n.. image:: https://img.shields.io/badge/Release_History!--None.svg?style=social\n :target: https://github.com/MacHu-GWU/aws_glue_container_launcher-project/blob/main/release-history.rst\n\n.. image:: https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social\n :target: https://github.com/MacHu-GWU/aws_glue_container_launcher-project\n\n------\n\n.. .. image:: https://img.shields.io/badge/Link-Document-blue.svg\n :target: https://aws-glue-container-launcher.readthedocs.io/en/latest/\n\n.. .. image:: https://img.shields.io/badge/Link-API-blue.svg\n :target: https://aws-glue-container-launcher.readthedocs.io/en/latest/py-modindex.html\n\n.. image:: https://img.shields.io/badge/Link-Install-blue.svg\n :target: `install`_\n\n.. image:: https://img.shields.io/badge/Link-GitHub-blue.svg\n :target: https://github.com/MacHu-GWU/aws_glue_container_launcher-project\n\n.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg\n :target: https://github.com/MacHu-GWU/aws_glue_container_launcher-project/issues\n\n.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg\n :target: https://github.com/MacHu-GWU/aws_glue_container_launcher-project/issues\n\n.. image:: https://img.shields.io/badge/Link-Download-blue.svg\n :target: https://pypi.org/pypi/aws-glue-container-launcher#files\n\n\nWelcome to ``aws_glue_container_launcher`` Documentation\n==============================================================================\n`AWS Big Data Blog - Develop and test AWS Glue version 3.0 and 4.0 jobs locally using a Docker container <https://aws.amazon.com/blogs/big-data/develop-and-test-aws-glue-version-3-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.\n\n``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.\n\n\nDependencies\n------------------------------------------------------------------------------\n- You need to have docker installed on your local laptop or CI environment. You can test it by running ``docker --version`` in your terminal.\n- Python3.6 + to install this library and run the shell script.\n- MacOS / Linux / Windows OS to run the shell script, but I only tested on MacOS and Linux.\n\n\nUsage\n------------------------------------------------------------------------------\n- `run glue job locally in container, see example at <https://github.com/MacHu-GWU/aws_glue_container_launcher-project/blob/main/examples/run_container.py>`_\n- `run pytest locally in container <https://github.com/MacHu-GWU/aws_glue_container_launcher-project/tree/main/tests_glue/glue_libs>`_\n- `run jupyter lab locally in container <https://github.com/MacHu-GWU/aws_glue_container_launcher-project/blob/main/examples/run_container.py#L173>`_\n- REPL SHELL (TO DO)\n- Visual Studio Code (TODO)\n\n\n.. _install:\n\nInstall\n------------------------------------------------------------------------------\n\n``aws_glue_container_launcher`` is released on PyPI, so all you need is to:\n\n.. code-block:: console\n\n $ pip install aws-glue-container-launcher\n\nTo upgrade to latest version:\n\n.. code-block:: console\n\n $ pip install --upgrade aws-glue-container-launcher\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Package short description.",
"version": "0.1.2",
"project_urls": {
"Download": "https://pypi.python.org/pypi/aws_glue_container_launcher/0.1.2#downloads",
"Homepage": "https://github.com/MacHu-GWU/aws_glue_container_launcher-project"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "22f13ee3884d6ed590c0f96d763881a9779a4e20abe57a452bb85ecb6b793bb9",
"md5": "8e03bb39d9a532f123556e6b98467e51",
"sha256": "8ac51ac325e485fbdc39d358afc87563657a305a77fe75e342dd606eef62fa41"
},
"downloads": -1,
"filename": "aws_glue_container_launcher-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8e03bb39d9a532f123556e6b98467e51",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 15023,
"upload_time": "2024-02-08T06:24:34",
"upload_time_iso_8601": "2024-02-08T06:24:34.212742Z",
"url": "https://files.pythonhosted.org/packages/22/f1/3ee3884d6ed590c0f96d763881a9779a4e20abe57a452bb85ecb6b793bb9/aws_glue_container_launcher-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a288c28fadfa9b6f9e4fff0f3dd4cbc969e4cb4f36f53049d0ae085a0a3d35ea",
"md5": "2b515ea22ec5557426f08e4b64f84bd4",
"sha256": "ab3cb87305ecb62a3b4383a1698226ee573962c7d42445334f6a1cac58b6607b"
},
"downloads": -1,
"filename": "aws_glue_container_launcher-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "2b515ea22ec5557426f08e4b64f84bd4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15317,
"upload_time": "2024-02-08T06:24:36",
"upload_time_iso_8601": "2024-02-08T06:24:36.063942Z",
"url": "https://files.pythonhosted.org/packages/a2/88/c28fadfa9b6f9e4fff0f3dd4cbc969e4cb4f36f53049d0ae085a0a3d35ea/aws_glue_container_launcher-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-08 06:24:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "MacHu-GWU",
"github_project": "aws_glue_container_launcher-project",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [],
"lcname": "aws-glue-container-launcher"
}