GithubHelp home page GithubHelp logo

rupurt / tif Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 17 KB

Lightning fast tabular diffs, patches and merges for larger than memory datasets

License: MIT License

Zig 89.61% Nix 10.39%
csv diff relational-model table-diff zig

tif's Introduction

Tif

Lightning fast tabular diffs, patches and merges for larger than memory datasets.

Usage

tif test/fixtures/people.csv test/fixtures/people_reverse.csv
tif
[-h] [-r <READBUFFER>] [-c <COLBUFFER>] [-m <MAXCOLUMNS>] <PATH1> <PATH1>
tif -h
    -h, --help
            Display this help and exit.

    -r, --readbuffer <READBUFFER>
            Number of bytes to use as a buffer. Default: 65536

    -c, --colbuffer <COLBUFFER>
            Number of bytes to use as a column buffer. Default: 4096

    -m, --maxcolumns <MAXCOLUMNS>
            Maximum number of columns in a record. Default: 512

    <PATH1>
            The base path

    <PATH1>
            The path to compare

How

tif produces differences over datasets by generating a literal, logical and physical layer for the given inputs.

Diffs are produced according to the Daff tabular diff specification.

Development

This project assumes you have already installed nix

  1. Start a Nix devshell
nix develop -c $SHELL
  1. Build and run with the zig toolchain
zig build run -- test/fixtures/people.csv test/fixtures/people_reverse.csv

License

tif is released under the MIT license

tif's People

Contributors

rupurt avatar

Stargazers

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