Package for AWS Glue Library
Project description
This is a commandline application
AWS Glue Packaging Helper. To prepare packaging according to AWS Glue required setup for external libraries dependencies.
This is based on the specification laid down at: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-libraries.html
Install
pip install gluepkg
Usage
gluepkg --src_dir <src> --pkg_s3_path <target>
Arg |
Status |
Description |
---|---|---|
src_dir |
required |
the source directory path to be packaged |
pkg_s3_path |
required |
the target object location in s3 (s3 URI) |
Basically it creates a zip file unto the desired target location of s3
example:
gluepkg --src_dir gluepkg/ --pkg_s3_path s3://bucket/folder/gluepkg.zip
Build
- Build distribution
python setup.py bdist_wheel --universal
- Distribute to pypi
twine upload dist/*
- project install (development)
python setup.py install
afterward you can run the command gluepkg –src_dir <src> –pkg_s3_path <target> during development of this package
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for gluepkg-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a49af694763cf1c6e5eb42229bc76b2ea4f00429877203e944c84e77146b58be |
|
MD5 | 8f55128e7e6e735e352a966d85dda6c3 |
|
BLAKE2b-256 | 7276727ea2ec8fa0ac563d54f0a65c627f106d8923335cb26800f53c8903908b |