Skip to content

brocolidata/brocolib

Repository files navigation

Brocolib Logo Pytest CI Brocolib CD

brocolib

Brocoli Library for Data Processing

List of packages

Package Description
brocolib_extract_load Extract (Transform) Load data in a pythonic way
brocolib_transform Wrapper around dbt as a transformation layer
brocolib_utils Utilities to use Brocoli Data Platform
brocolib_factory_utils Utilities to deploy Brocoli Data Platform

Installation

  1. Open the Brocoli releases page
  2. Identify the last release of the brocolib library you wish to download. At the bottom of the release you will see artifcats related to the release ; copy the URL of the .whl file(for example https://github.com/brocolidata/brocolib/releases/download/utils_v_0.0.34/brocolib_utils-0.0.34-py3-none-any.whl for brocolib_utils==0.0.34)
  3. To install the library, run pip install URL (for example pip install https://github.com/brocolidata/brocolib/releases/download/utils_v_0.0.34/brocolib_utils-0.0.34-py3-none-any.whl)

Development

Prerequisites

  • Docker (started) and docker-compose (just install Docker for Desktop if you are on laptop)
  • VS Code + VS Code extension Remote - Containers

Quickstart

  1. Clone repo
  2. Build the Docker Image by running
docker compose -f ./docker_build/docker-compose.yml build
  1. Duplicate the .env.example , rename it to .env and replace dummy values with yours
  2. Click on Open a Remote Window button (left-down corner) & select Reopen in Container

Brocolib Development

See Brocolib Development

CI/CD

See Brocolib CI/CD