Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flaconi/bi_utils
The goal of this repo is to have a common utils library that will be shared between DE and DS teams to avoid duplication and maintenance efforts
https://github.com/flaconi/bi_utils
Last synced: about 4 hours ago
JSON representation
The goal of this repo is to have a common utils library that will be shared between DE and DS teams to avoid duplication and maintenance efforts
- Host: GitHub
- URL: https://github.com/flaconi/bi_utils
- Owner: Flaconi
- Created: 2020-02-25T10:49:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-18T15:00:45.000Z (7 months ago)
- Last Synced: 2024-04-18T16:55:31.150Z (7 months ago)
- Language: Python
- Homepage:
- Size: 84 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The purpose of this repo
The goal of this repo is to have a common utility library that will be shared between DE and DS teams to avoid duplication and maintenance efforts## Content
This directory should contain utility functions so that we can avoid repeating ourselves.
You can install this package in your Docker image via:
RUN pip install git+https://github.com/Flaconi/bi_utils.gitThen in your Python script, you can import it:
from bi_utils import utils
# usage
logger = utils.set_logging()
utils.deployment(prod=True, dev=True)### Functions included (among others to come)
- `deployment()` function - to make sure the code is the same in both envs - it simply not runs in DEV or PROD if this is not desired
- `set_logging()` - to avoid copy-pasting logger setup
- `send_slack_alert()` - generic function to send Slack message
- helper functions ex. `establish_boto3_client()` to establish Boto3 client for any AWS service# Docs
https://flaconi.atlassian.net/wiki/spaces/1BI/pages/263946847/How+to+use+bi_utils+package+in+bi-python+projects