Giter Club home page Giter Club logo

pybeamflow's Introduction

pyBeamFlow is an ETL tool based on apache beam

Easy configurable from application.ini file

Input sources supported:

File supported file formats : parquet, json, csv, etc PubSub BigQuery RestAPI

Output sources supported:

File supported file formats : parquet, json, csv, etc BigQuery PubSub

Application.ini :

a) Job = dataflow parameters

b) Input = input part

c) Sink = writing part

d) Transformations = mapping, filter : beam.Map or beam.Filter.
It reads lambda functions in text format from application.ini file

Notes:

  1. Writing to parquet files, an avro schema must be provided
  2. Job supports different runners : DirectRunner, DataflowRunner
  3. For mapping and filtering (PCollection at row level), it can be used lambda functions or just function_name if it is already defined in business_rules.py files. see : templates/application_template_gs_gs.ini

Installation:
pip install -r requiments.txt
please note that you also have to install
pip install apache_beam[gcp]

Run from local :
You can run from Intellij both with DirectRunner and DataflowRunner. Please set GOOGLE_APPLICATION_CREDENTIALS=path_to_json.json , in environmnet variables in main.py configuration. Credential file is obtained from your gcp project, service accounts, keys, create and download as JSON.

pybeamflow's People

Contributors

kosminus avatar

Stargazers

 avatar

Watchers

 avatar Kostas Georgiou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.