Skip to content

kiba

1,730 1 - LGPL-3.0
4.0.0 (24 Mar 2021) Apr 18 2015 17.0 thousand (month)

Kiba is a lightweight Ruby gem that provides a simple and powerful way to process and transform data in an ETL (Extract, Transform, Load) pipeline. It allows you to define a set of operations to perform on the data, and then automatically applies those operations to the data, making it easy to extract, transform, and load data from various sources and formats.

Kiba provides a simple and intuitive API for defining the pipeline, and it is built on top of the Enumerator API, which allows for easy manipulation of large datasets with low memory usage.

Example Use


require 'kiba'

data = [{ name: 'Alice', age: 25 }, { name: 'Bob', age: 30 }]

Kiba.parse do
  source Kiba::Common::EnumerableSource, data
  transform { |row| row[:age] += 1 }
  destination Kiba::Common::EnumerableDestination
end.run

# Output: [{ name: 'Alice', age: 26 }, { name: 'Bob', age: 31 }]

Alternatives / Similar


Other Languages

2,130 1.0.1 (2 years ago) Feb 09 2022 compare
545 1.6.1 (6 months ago) Feb 09 2022 compare
2,209 0.2.16 (a month ago) May 19 2011 compare
209 0.2.25 (2 years ago) Feb 09 2022 compare
160 19.0.5 (9 months ago) Jun 10 2018 compare
Was this page helpful?