i not found how to call it from ruby, should i rewrite it in python?