Git Product home page Git Product logo

kedro-history's Introduction

Kedro History

The intent of this repo is to seve as a playground for kedro-diff.

check it out kedro-diff

$ kedro diff b49071b  2385c4

╭──────────────────────────────────────────────────────── kedro-diff ─╮
│ modified: __default__                                               │
╰─────────────────────────────────────────────────────────────────────╯
+ <lambda>(None) ->
    name:       <lambda>(None) ->
    inputs:     []
    outputs:    ['range']
    tags:       []
╭──────────────────────────────────────────────────────── kedro-diff ─╮
│ modified: history_nodes                                             │
╰─────────────────────────────────────────────────────────────────────╯
+ <lambda>(None) ->
    name:       <lambda>(None) ->
    inputs:     []
    outputs:    ['range']
    tags:       []

screenshot to show color

Screenshot from 2021-07-21 09-19-20

$ kedro diff b49071b

╭──────────────────────────────────────────────────────── kedro-diff ─╮
│ modified: __default__                                               │
╰─────────────────────────────────────────────────────────────────────╯
+ <lambda>(None) ->
    name:       <lambda>(None) ->
    inputs:     []
    outputs:    ['range']
    tags:       []
+ <lambda>(None) ->
    name:       <lambda>(None) ->
    inputs:     []
    outputs:    ['range_two']
    tags:       []
+ <lambda>() ->
    name:       <lambda>() ->
    inputs:     ['range']
    outputs:    ['range_squared']
    tags:       []
+ <lambda>() ->
    name:       <lambda>() ->
    inputs:     ['range_two']
    outputs:    ['range_two_squared']
    tags:       []
╭──────────────────────────────────────────────────────── kedro-diff ─╮
│ modified: history_nodes                                             │
╰─────────────────────────────────────────────────────────────────────╯
+ <lambda>(None) ->
    name:       <lambda>(None) ->
    inputs:     []
    outputs:    ['range']
    tags:       []
+ <lambda>(None) ->
    name:       <lambda>(None) ->
    inputs:     []
    outputs:    ['range_two']
    tags:       []
+ <lambda>() ->
    name:       <lambda>() ->
    inputs:     ['range']
    outputs:    ['range_squared']
    tags:       []
+ <lambda>() ->
    name:       <lambda>() ->
    inputs:     ['range_two']
    outputs:    ['range_two_squared']

diff by branch name

Here are our list of branches

$ git branch
  init
* main
  range
  range_squared

We can run kedro diff accross any two branches. They can be compared to other branches, commits, or HEAD by default.

# all 6 of these will return the same result
$ kedro diff range_squared main
$ kedro diff range_squared 417b82967
$ kedro diff range_squared...417b82967
$ kedro diff b49071b  2385c4
$ kedro diff b49071b...2385c4
$ kedro diff range_squared
╭──────────────────────────────────────────────────────── kedro-diff ─╮
│ modified: __default__                                               │
╰─────────────────────────────────────────────────────────────────────╯
+ <lambda>(None) ->
    name:       <lambda>(None) ->
    inputs:     []
    outputs:    ['range_two']
    tags:       []
+ <lambda>() ->
    name:       <lambda>() ->
    inputs:     ['range_two']
    outputs:    ['range_two_squared']
    tags:       []
╭──────────────────────────────────────────────────────── kedro-diff ─╮
│ modified: history_nodes                                             │
╰─────────────────────────────────────────────────────────────────────╯
+ <lambda>(None) ->
    name:       <lambda>(None) ->
    inputs:     []
    outputs:    ['range_two']
    tags:       []
+ <lambda>() ->
    name:       <lambda>() ->
    inputs:     ['range_two']
    outputs:    ['range_two_squared']
    tags:       []

deleted nodes

$  kedro diff main..delete_squared
╭─────────────────────────────────────────────────────────────────────────────────────── kedro-diff ─╮
│ modified: __default__                                                                              │
╰────────────────────────────────────────────────────────────────────────────────────────────────────╯
- <lambda>() ->
    name:      <lambda>() ->
    inputs:    ['range']
    outputs:   ['range_squared']
    tags:      []
- <lambda>() ->
    name:      <lambda>() ->
    inputs:    ['range_two']
    outputs:   ['range_two_squared']
    tags:      []
╭─────────────────────────────────────────────────────────────────────────────────────── kedro-diff ─╮
│ modified: history_nodes                                                                            │
╰────────────────────────────────────────────────────────────────────────────────────────────────────╯
- <lambda>() ->
    name:      <lambda>() ->
    inputs:    ['range']
    outputs:   ['range_squared']
    tags:      []
- <lambda>() ->
    name:      <lambda>() ->
    inputs:    ['range_two']
    outputs:   ['range_two_squared']
    tags:      []

screenshot to show color and font.

Screenshot from 2021-07-21 09-17-26

kedro-history's People

Contributors

waylonwalker avatar

Watchers

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