Skip to main content

TMG ETL pipeline

Project description

TMG ETL pipeline is the base structure of our ETL pipelines. Any pipeline should inherit from TMGETLPipeline class and implement the necessary methods.

Quick Start

Installation

Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.

Supported Python Versions

Python >= 3.5

Mac/Linux

pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install tmg-etl-pipeline

Example Usage

from tmg_etl_pipeline.etl import TMGETLPipeline


class MyETL(TMGETLPipeline):

    def run(self):
        # your ETL logic goes here
        # access the configs
        # self.config['some-config-variable']
        # access the secrets
        # self.secrets['some-secret-variable']

    def cleanup(self):
        # your clean up code goes here

etl = MyETL(app_name='your-app-name', config_path='path/to-the-config-file')
etl.execute()

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

tmg_etl_pipeline-0.0.9.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tmg_etl_pipeline-0.0.9-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file tmg_etl_pipeline-0.0.9.tar.gz.

File metadata

  • Download URL: tmg_etl_pipeline-0.0.9.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for tmg_etl_pipeline-0.0.9.tar.gz
Algorithm Hash digest
SHA256 0adb5ea6a71f5238cac0111b8dc34dd631b77b1e9b91658b05f0f0204ec5ad40
MD5 c0d3e9f7fc4c96766c0c19365d8ca9f3
BLAKE2b-256 880851149fb04dec8e306645fd3aa65c860883175bbee8f75285a4be01cc2541

See more details on using hashes here.

File details

Details for the file tmg_etl_pipeline-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for tmg_etl_pipeline-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7146452c988a3832dd2c5436a3afb1a06b2d2cf8cc96de2be2917b60250cc696
MD5 0c0d6a7798b581a6a7fe5128c278e9ba
BLAKE2b-256 73eb078023734bb291fbe26611b6a72e900c0f833647ecee8134c6068fba5a0b

See more details on using hashes here.

Supported by

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