Open andyl opened 6 years ago
This would be super helpful!
What is the standalone ruby class here? Does this refer to constructing a simple class instance? If it means a ruby script, should I just check for it's successful execution in the python script?
@snehasi For item 1 - literally just any old ruby class - class Hello def say_hi() "HI" end; end
will do. Does that answer the question?
Yes, thanks
Hey, I've used pipes to bridge Ruby and Python. I think this solution is simpler than XML-RPC, though a bit messier. I've tested it, and am attaching the Ruby and python files. Since rython seems to be out of maintenance, and it's still in alpha version, are we open to using other libraries too ?
We are going to make development environments available to our researchers, so that their bots can call business objects directly without having to go thru a web layer. Primarily, this is to give researchers maximum speed and flexibility.
This is simple to do with ruby. But many researchers want to write bots in python. We would like a simple way for Python developers to call the business objects in our rails app.
I'd like someone to do a proof-of-concept demo with
rython
, an interface library at https://pypi.python.org/pypi/rython.Task outcomes using
rython
: