Coder Social home page Coder Social logo

airflow-abstract-pipeline's Introduction

Airflow Abstract Pipeline

Pipeline Abstraction is built on task group, it is designed to build abstractions on a group of re-usable tasks and their structure.

This repo could be separated into two parts:

Install Pants and Python

  1. Install Pants: https://www.pantsbuild.org/docs/installation
  2. Install Python 3.10.x
    • Because in pants.toml, we set the intepreter to Python 3.10.x
    • Because on Ubuntu 22.04, the default Python is Python 3.10.x
  3. No Python Virtual Environment needed

Here is a recommended way to install Python 3.10.x:

bin/install_python

One Step Guide to launch Airflow

bin/install_airflow && bin/airflow_config && airflow standalone

Step-by-step Guide to launch Airflow

Step 1: Build the package and install it to $HOME/airflow/bin/python

bin/install_airflow

Step 2: Airflow Config

bin/airflow_config

It will:

  • Set core.dags_folder to the PEX user code dynamically
  • Set core.load_examples to False

Step 3: Launch Airflow

airflow standalone

If the command line airflow is not available, please add $HOME/bin to $PATH.

For more info, see https://airflow.apache.org/docs/apache-airflow/stable/start.html

How to remove all the config and get a clean environment

Juse remove the $AIRFLOW_HOME:

rm -rf $HOME/airflow

airflow-abstract-pipeline's People

Contributors

da-tubi avatar

Watchers

 avatar  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.