red-datasets-arrow 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7366d62379beccc060f19413b9a070e922b8d86a
4
+ data.tar.gz: f2741a8c7a683e1d017c58cee2803be67d4b66f1
5
+ SHA512:
6
+ metadata.gz: e1cde042f3ef8100f96ce3fff0c8afdae208d7ced92fedca12ddd43834f01c89386b67e282d828d07fb380102e06352b5cbd3cc13469978e83a19714a853e9ce
7
+ data.tar.gz: 3ff6576791a793a1b283a3919c524a9ca9c2ceb0f4c1fa62ca5e2e759d0a3649456a2e4cc88cfc498e7450927f1a83cd17d5da7f5df68d420226a61b24df0c16
data/.yardopts ADDED
@@ -0,0 +1,6 @@
1
+ --output-dir doc/reference/en
2
+ --markup markdown
3
+ --markup-provider kramdown
4
+ lib/**/*.rb
5
+ -
6
+ doc/text/**/*
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ # -*- ruby -*-
2
+
3
+ source "https://rubygems.org/"
4
+
5
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,7 @@
1
+ Copyright 2017 Kouhei Sutou <kou@clear-code.com>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # README
2
+
3
+ ## Name
4
+
5
+ Red Datasets Arrow
6
+
7
+ ## Description
8
+
9
+ Red Datasets Arrow adds [Apache Arrow](http://arrow.apache.org/) object export feature to Red Datasets.
10
+
11
+ Red Datasets Arrow adds `#to_arrow` method to each dataset in Red Datasets. You can get dataset as `Arrow::Table` object. `Arrow::Table` is provided by [Red Arrow](http://github.com/red-data-tools/red-arrow).
12
+
13
+ ## Install
14
+
15
+ ```console
16
+ % gem install red-datasets-arrow
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ Here is an example to access iris dataset by `#to_arrow`:
22
+
23
+ ```ruby
24
+ require "datasets"
25
+
26
+ iris = Datasets::Iris.new
27
+ puts iris.to_arrow
28
+ ```
29
+
30
+ ## License
31
+
32
+ The MIT license. See `LICENSE.txt` for details.
data/Rakefile ADDED
@@ -0,0 +1,21 @@
1
+ # -*- ruby -*-
2
+
3
+ require "rubygems"
4
+ require "bundler/gem_helper"
5
+
6
+ base_dir = File.join(File.dirname(__FILE__))
7
+
8
+ helper = Bundler::GemHelper.new(base_dir)
9
+ def helper.version_tag
10
+ version
11
+ end
12
+
13
+ helper.install
14
+ spec = helper.gemspec
15
+
16
+ desc "Run tests"
17
+ task :test do
18
+ ruby("test/run-test.rb")
19
+ end
20
+
21
+ task default: :test
data/doc/text/news.md ADDED
@@ -0,0 +1,5 @@
1
+ # News
2
+
3
+ ## 0.0.1 - 2018-01-05
4
+
5
+ Initial release!!!
@@ -0,0 +1,48 @@
1
+ require "arrow"
2
+
3
+ module DatasetsArrow
4
+ module Arrowable
5
+ def to_arrow
6
+ data_path = arrow_data_path
7
+ if data_path.exist?
8
+ Arrow::Table.load(data_path)
9
+ else
10
+ columns = {}
11
+ each do |record|
12
+ record.to_h.each do |name, value|
13
+ values = (columns[name] ||= [])
14
+ values << value
15
+ end
16
+ end
17
+ raw_table = {}
18
+ columns.each do |name, values|
19
+ raw_table[name] = Arrow::ArrayBuilder.build(values)
20
+ end
21
+ table = Arrow::Table.new(raw_table)
22
+ table.save(data_path)
23
+ table
24
+ end
25
+ end
26
+
27
+ def each_record_batch(&block)
28
+ return to_enum(__method__) unless block_given?
29
+
30
+ data_path = arrow_data_path
31
+ if data_path.exist?
32
+ input = Arrow::MemoryMappedInputStream.new(data_path.to_path)
33
+ reader = Arrow::RecordBatchFileReader.new(input)
34
+ reader.each do |record_batch|
35
+ record_batch.instance_variable_set(:@input, input)
36
+ yield(record_batch)
37
+ end
38
+ else
39
+ to_arrow.each_record_batch(&block)
40
+ end
41
+ end
42
+
43
+ private
44
+ def arrow_data_path
45
+ cache_dir_path + "data.arrow"
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,3 @@
1
+ module DatasetsArrow
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,11 @@
1
+ require "datasets"
2
+
3
+ require "datasets-arrow/version"
4
+
5
+ require "datasets-arrow/arrowable"
6
+
7
+ module Datasets
8
+ class Dataset
9
+ include DatasetsArrow::Arrowable
10
+ end
11
+ end
@@ -0,0 +1,45 @@
1
+ # -*- ruby -*-
2
+
3
+ clean_white_space = lambda do |entry|
4
+ entry.gsub(/(\A\n+|\n+\z)/, '') + "\n"
5
+ end
6
+
7
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "lib"))
8
+ require "datasets-arrow/version"
9
+
10
+ Gem::Specification.new do |spec|
11
+ spec.name = "red-datasets-arrow"
12
+ spec.version = DatasetsArrow::VERSION
13
+ spec.homepage = "https://github.com/red-data-tools/red-datasets-arrow"
14
+ spec.authors = ["Kouhei Sutou"]
15
+ spec.email = ["kou@clear-code.com"]
16
+
17
+ readme = File.read("README.md")
18
+ readme.force_encoding("UTF-8")
19
+ entries = readme.split(/^\#\#\s(.*)$/)
20
+ clean_white_space.call(entries[entries.index("Description") + 1])
21
+ description = clean_white_space.call(entries[entries.index("Description") + 1])
22
+ spec.summary, spec.description, = description.split(/\n\n+/, 3)
23
+ spec.license = "MIT"
24
+ spec.files = [
25
+ "README.md",
26
+ "LICENSE.txt",
27
+ "Rakefile",
28
+ "Gemfile",
29
+ "#{spec.name}.gemspec",
30
+ ]
31
+ spec.files += [".yardopts"]
32
+ spec.files += Dir.glob("lib/**/*.rb")
33
+ spec.files += Dir.glob("image/*.*")
34
+ spec.files += Dir.glob("doc/text/*")
35
+ spec.test_files += Dir.glob("test/**/*")
36
+
37
+ spec.add_runtime_dependency("red-arrow")
38
+ spec.add_runtime_dependency("red-datasets")
39
+
40
+ spec.add_development_dependency("bundler")
41
+ spec.add_development_dependency("rake")
42
+ spec.add_development_dependency("test-unit")
43
+ spec.add_development_dependency("yard")
44
+ spec.add_development_dependency("kramdown")
45
+ end
data/test/helper.rb ADDED
@@ -0,0 +1,3 @@
1
+ require "datasets-arrow"
2
+
3
+ require "test-unit"
data/test/run-test.rb ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $VERBOSE = true
4
+
5
+ require "pathname"
6
+
7
+ base_dir = Pathname.new(__FILE__).dirname.parent.expand_path
8
+
9
+ lib_dir = base_dir + "lib"
10
+ test_dir = base_dir + "test"
11
+
12
+ $LOAD_PATH.unshift(lib_dir.to_s)
13
+
14
+ require_relative "helper"
15
+
16
+ exit(Test::Unit::AutoRunner.run(true, test_dir.to_s))
data/test/test-iris.rb ADDED
@@ -0,0 +1,42 @@
1
+ class IrisTest < Test::Unit::TestCase
2
+ def setup
3
+ @dataset = Datasets::Iris.new
4
+ end
5
+
6
+ test("#to_arrow") do
7
+ assert_equal(<<-TABLE, @dataset.to_arrow.to_s)
8
+ sepal_length sepal_width petal_length petal_width class
9
+ 0 5.100000 3.500000 1.400000 0.200000 Iris-setosa
10
+ 1 4.900000 3.000000 1.400000 0.200000 Iris-setosa
11
+ 2 4.700000 3.200000 1.300000 0.200000 Iris-setosa
12
+ 3 4.600000 3.100000 1.500000 0.200000 Iris-setosa
13
+ 4 5.000000 3.600000 1.400000 0.200000 Iris-setosa
14
+ 5 5.400000 3.900000 1.700000 0.400000 Iris-setosa
15
+ 6 4.600000 3.400000 1.400000 0.300000 Iris-setosa
16
+ 7 5.000000 3.400000 1.500000 0.200000 Iris-setosa
17
+ 8 4.400000 2.900000 1.400000 0.200000 Iris-setosa
18
+ 9 4.900000 3.100000 1.500000 0.100000 Iris-setosa
19
+ ...
20
+ 140 6.700000 3.100000 5.600000 2.400000 Iris-virginica
21
+ 141 6.900000 3.100000 5.100000 2.300000 Iris-virginica
22
+ 142 5.800000 2.700000 5.100000 1.900000 Iris-virginica
23
+ 143 6.800000 3.200000 5.900000 2.300000 Iris-virginica
24
+ 144 6.700000 3.300000 5.700000 2.500000 Iris-virginica
25
+ 145 6.700000 3.000000 5.200000 2.300000 Iris-virginica
26
+ 146 6.300000 2.500000 5.000000 1.900000 Iris-virginica
27
+ 147 6.500000 3.000000 5.200000 2.000000 Iris-virginica
28
+ 148 6.200000 3.400000 5.400000 2.300000 Iris-virginica
29
+ 149 5.900000 3.000000 5.100000 1.800000 Iris-virginica
30
+ TABLE
31
+ end
32
+
33
+ test("#each_record_batch") do
34
+ assert_equal([<<-RECORD_BATCH], @dataset.each_record_batch.collect(&:to_s))
35
+ sepal_length: [5.1, 4.9, 4.7, 4.6, 5, 5.4, 4.6, 5, 4.4, 4.9, 5.4, 4.8, 4.8, 4.3, 5.8, 5.7, 5.4, 5.1, 5.7, 5.1, 5.4, 5.1, 4.6, 5.1, 4.8, 5, 5, 5.2, 5.2, 4.7, 4.8, 5.4, 5.2, 5.5, 4.9, 5, 5.5, 4.9, 4.4, 5.1, 5, 4.5, 4.4, 5, 5.1, 4.8, 5.1, 4.6, 5.3, 5, 7, 6.4, 6.9, 5.5, 6.5, 5.7, 6.3, 4.9, 6.6, 5.2, 5, 5.9, 6, 6.1, 5.6, 6.7, 5.6, 5.8, 6.2, 5.6, 5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2, 0.6, 0.4, 0.3, 0.2, 0.2, 0.2, 0.2, 1.4, 1.5, 1.5, 1.3, 1.5, 1.3, 1.6, 1, 1.3, 1.4, 1, 1.5, 1, 1.4, 1.3, 1.4, 1.5, 1, 1.5, 1.1, 1.8, 1.3, 1.5, 1.2, 1.3, 1.4, 1.4, 1.7, 1.5, 1, 1.1, 1, 1.2, 1.6, 1.5, 1.6, 1.5, 1.3, 1.3, 1.3, 1.2, 1.4, 1.2, 1, 1.3, 1.2, 1.3, 1.3, 1.1, 1.3, 2.5, 1.9, 2.1, 1.8, 2.2, 2.1, 1.7, 1.8, 1.8, 2.5, 2, 1.9, 2.1, 2, 2.4, 2.3, 1.8, 2.2, 2.3, 1.5, 2.3, 2, 2, 1.8, 2.1, 1.8, 1.8, 1.8, 2.1, 1.6, 1.9, 2, 2.2, 1.5, 1.4, 2.3, 2.4, 1.8, 1.8, 2.1, 2.4, 2.3, 1.9, 2.3, 2.5, 2.3, 1.9, 2, 2.3, 1.8]
39
+ class: ["Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-setosa", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-versicolor", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica", "Iris-virginica"]
40
+ RECORD_BATCH
41
+ end
42
+ end
metadata ADDED
@@ -0,0 +1,163 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: red-datasets-arrow
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Kouhei Sutou
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-01-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: red-arrow
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: red-datasets
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: test-unit
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: yard
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: kramdown
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: 'Red Datasets Arrow adds `#to_arrow` method to each dataset in Red Datasets.
112
+ You can get dataset as `Arrow::Table` object. `Arrow::Table` is provided by [Red
113
+ Arrow](http://github.com/red-data-tools/red-arrow).
114
+
115
+ '
116
+ email:
117
+ - kou@clear-code.com
118
+ executables: []
119
+ extensions: []
120
+ extra_rdoc_files: []
121
+ files:
122
+ - ".yardopts"
123
+ - Gemfile
124
+ - LICENSE.txt
125
+ - README.md
126
+ - Rakefile
127
+ - doc/text/news.md
128
+ - lib/datasets-arrow.rb
129
+ - lib/datasets-arrow/arrowable.rb
130
+ - lib/datasets-arrow/version.rb
131
+ - red-datasets-arrow.gemspec
132
+ - test/helper.rb
133
+ - test/run-test.rb
134
+ - test/test-iris.rb
135
+ homepage: https://github.com/red-data-tools/red-datasets-arrow
136
+ licenses:
137
+ - MIT
138
+ metadata: {}
139
+ post_install_message:
140
+ rdoc_options: []
141
+ require_paths:
142
+ - lib
143
+ required_ruby_version: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ version: '0'
148
+ required_rubygems_version: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ requirements: []
154
+ rubyforge_project:
155
+ rubygems_version: 2.5.2.2
156
+ signing_key:
157
+ specification_version: 4
158
+ summary: Red Datasets Arrow adds [Apache Arrow](http://arrow.apache.org/) object export
159
+ feature to Red Datasets.
160
+ test_files:
161
+ - test/test-iris.rb
162
+ - test/helper.rb
163
+ - test/run-test.rb