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.8.tar.gz (7.1 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.8-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file tmg-etl-pipeline-0.0.8.tar.gz.

File metadata

  • Download URL: tmg-etl-pipeline-0.0.8.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for tmg-etl-pipeline-0.0.8.tar.gz
Algorithm Hash digest
SHA256 6feb12df61123cac6572acab3109efcd8079a1873e234be8dbaff041a505f4c5
MD5 bc761a5ca59096978b7a3474fca9e71a
BLAKE2b-256 ebcadf35b66dc2b479404573ff033e197b490099c1b943a50085da7f22122c40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tmg_etl_pipeline-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7095b096ce353dbb4f487b264bd2a0ca41b659b8a26f5c4eaffc026bc6fcf86a
MD5 71afeabcffc1d229f1699e52f182a822
BLAKE2b-256 7465fb099671e0e761aaa4c05c74b6c1fa83fe2efcfca07c0c53e73b273a8db9

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