Giter Site home page Giter Site logo

mungr's Introduction

= Mungr

Mungr is a Ruby DSL that makes it easy to read one or more inputs, munge the data around, and write the results to one or more outputs.

Update:  The goal is to build a nice DSL, and a command-line program that wraps that, for expressing inputs, outputs, and munging operations.  However, the current implementation is flawed.

A munger needs to be less tied to the readers and writers.  Currently a munger cannot send more data down to the writers than it receives from readers and each invocation requires a pull from the readers.  This makes it impossible to do something simple like read a list of files from a directory but generate lines of input from each of those files.

Another issue is that the roles are very locked in.  Reading stock information from a CSV file could handle the CSV conversion as a reader while reading from a URL would require a munge level conversion.  This raises the barrier of entry for adding new capabilities to the system.

This needs to be fixed implementation wise and I believe the right approach is to base the system on something like Ruby 1.9's Enumerator or Fiber and just define a minimal interface for pipelining them to each other.

mungr's People

Contributors

jeg2 avatar

Stargazers

Angus H. avatar  avatar Deepak Kannan avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

bertomartin

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.