Code Monkey home page Code Monkey logo

arnab's Introduction

A R N A B

Aria's cheap man's experimental data transformation tool, built on top of DuckDB ๐Ÿฆ†

Arnab aims to offer a simple, cross-platform solution for organizing and executing data models, focusing on core functionalities essential for data workflows. Just like DBT, but is with subset of its features, jinja-less (except for macros), and (theoretically) more portable.

Its main purpose is simple: give it a directory containing SQL files, it will scan the directory recursively and determine the order of execution of all queries.

Simple transformation demo

Getting Started

Create a project directory where you want to put all of your SQL files. Create config.yaml at the root of the directory. At the very least, it should contain models_dir and db_path information:

models_dir: .
db_path: data.duckdb

Optionally, you can create another directories (that may contain subdirectories) and use its name for models_dir.

Check examples directory for more.

Running pipeline

Set the working directory to the root of your project, then run arnab run.

Visualizing pipeline

We can get the visualization of the pipeline in a SVG file format for an additional way to debug the pipeline. Set the working directory to the root of your project, then run arnab viz outout_name.svg.

Features

  • Single executable file
  • Cross-platform
  • Automatically determine the order of model execution
  • Model materialization types:
    • Table
    • View
    • Incremental (probably not necessary for now)
  • Macro

arnab's People

Contributors

ariaghora avatar

Stargazers

E805KU avatar Wayan jimmy avatar Rafza Ray Firdaus avatar Ahmad Shohibus Sulthoni avatar

Watchers

 avatar

arnab's Issues

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.