Skip to main content

This project is a wrapper library to call utility functions.

Project description

deutils

deutils offeres a set of commonly used python fuctions for use with Glue Jobs and Lambda.

Functions

get_secret(secret_name, region):

This function allows the look up of a sceret from aws secrets manager. It returns the key value pairs in a dictionary object.

delogging

Several small helper functions for formatting logs. Right now its simple prints but it will extend to write to CloudWatch.

s3_helper

The functions aggregate base functions into composite calls. For instance combining get_secret with connect_to_ftp. The new function get_ftp_connection_from_secret takes a secret as an input and returns a ftp connection to minimise lines of code in the users call.

When you need to build a layer: https://awstip.com/create-aws-lambda-layers-using-cloud-9-694895903ca5

Change Log:

User Date Comment
ffortunato 11/01/2023 Describing Overall package.

Github-flavored Markdown

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

eimutils-0.0.6.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

eimutils-0.0.6-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page