pycall 0.1.0.alpha.20170502 → 0.1.0.alpha.20170711
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/bin/console +2 -6
- data/bin/runner +6 -0
- data/examples/datascience_rb_20170519.ipynb +4836 -0
- data/examples/notebooks/classifier_comparison.ipynb +241 -0
- data/examples/notebooks/forest_importances.ipynb +261 -0
- data/examples/notebooks/iruby_integration.ipynb +204 -0
- data/examples/notebooks/lorenz_attractor.ipynb +245 -0
- data/examples/notebooks/polar_axes.ipynb +244 -0
- data/examples/notebooks/sum_benchmarking.ipynb +368 -0
- data/examples/notebooks/xkcd_style.ipynb +149 -0
- data/lib/pycall/conversion.rb +2 -0
- data/lib/pycall/dict.rb +2 -0
- data/lib/pycall/exception.rb +13 -0
- data/lib/pycall/gc_guard.rb +84 -0
- data/lib/pycall/import.rb +53 -14
- data/lib/pycall/init.rb +10 -0
- data/lib/pycall/libpython/pyobject_struct.rb +30 -0
- data/lib/pycall/libpython/pytypeobject_struct.rb +273 -0
- data/lib/pycall/libpython.rb +41 -35
- data/lib/pycall/list.rb +2 -0
- data/lib/pycall/pyobject_wrapper.rb +2 -0
- data/lib/pycall/ruby_wrapper.rb +137 -0
- data/lib/pycall/set.rb +3 -1
- data/lib/pycall/tuple.rb +3 -1
- data/lib/pycall/version.rb +1 -1
- data/lib/pycall.rb +3 -0
- data/pycall.gemspec +1 -0
- data/tasks/docker.rake +1 -0
- metadata +30 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pycall
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.alpha.
|
4
|
+
version: 0.1.0.alpha.20170711
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenta Murata
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pry
|
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'
|
83
97
|
description: pycall
|
84
98
|
email:
|
85
99
|
- mrkn@mrkn.jp
|
@@ -98,28 +112,42 @@ files:
|
|
98
112
|
- bin/console
|
99
113
|
- bin/guard
|
100
114
|
- bin/rspec
|
115
|
+
- bin/runner
|
101
116
|
- bin/setup
|
102
117
|
- config/Guardfile
|
103
118
|
- docker/Dockerfile
|
104
119
|
- docker/Gemfile
|
105
120
|
- docker/README.md
|
106
121
|
- examples/classifier_comparison.rb
|
122
|
+
- examples/datascience_rb_20170519.ipynb
|
107
123
|
- examples/hist.rb
|
124
|
+
- examples/notebooks/classifier_comparison.ipynb
|
125
|
+
- examples/notebooks/forest_importances.ipynb
|
126
|
+
- examples/notebooks/iruby_integration.ipynb
|
127
|
+
- examples/notebooks/lorenz_attractor.ipynb
|
128
|
+
- examples/notebooks/polar_axes.ipynb
|
129
|
+
- examples/notebooks/sum_benchmarking.ipynb
|
130
|
+
- examples/notebooks/xkcd_style.ipynb
|
108
131
|
- examples/plot_forest_importances_faces.rb
|
109
132
|
- examples/sum_benchmarking.rb
|
110
133
|
- lib/pycall.rb
|
111
134
|
- lib/pycall/conversion.rb
|
112
135
|
- lib/pycall/dict.rb
|
113
136
|
- lib/pycall/eval.rb
|
137
|
+
- lib/pycall/exception.rb
|
138
|
+
- lib/pycall/gc_guard.rb
|
114
139
|
- lib/pycall/import.rb
|
115
140
|
- lib/pycall/init.rb
|
116
141
|
- lib/pycall/iruby_helper.rb
|
117
142
|
- lib/pycall/libpython.rb
|
143
|
+
- lib/pycall/libpython/pyobject_struct.rb
|
144
|
+
- lib/pycall/libpython/pytypeobject_struct.rb
|
118
145
|
- lib/pycall/list.rb
|
119
146
|
- lib/pycall/pyerror.rb
|
120
147
|
- lib/pycall/pyobject.rb
|
121
148
|
- lib/pycall/pyobject_wrapper.rb
|
122
149
|
- lib/pycall/python/investigator.py
|
150
|
+
- lib/pycall/ruby_wrapper.rb
|
123
151
|
- lib/pycall/set.rb
|
124
152
|
- lib/pycall/slice.rb
|
125
153
|
- lib/pycall/tuple.rb
|