You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Thanh Nguyen <va...@gmail.com> on 2021/01/23 07:41:28 UTC

Ofbiz integrate Python script

Hi everyone, 

How do you think about integrate Python into Ofbiz?
 
Python have a big libraries for data visualization and AI, so that we can use these libraries to build "Sales Forecast", " "detect  Item error"...

Thanks
Thanh Nguyen

Re: Ofbiz integrate Python script

Posted by Eugen Stan <eu...@netdava.com>.
Hi,

Two other options would be

* GraalVM https://www.graalvm.org/docs/getting-started/#run-python and 
https://www.graalvm.org/reference-manual/polyglot-programming/
* Run your python code as an external HTTP service and call it from OFBiz

Please let us know which one you choose and why.

Regards,
Eugen

On 26.01.2021 15:37, James Yong wrote:
> Hi Nguyen,
> 
> Any python library you have in mind?
> 
> For calling python from java, the information from the following link may helps:
> https://www.baeldung.com/java-working-with-python
> 
> Regards,
> James
> 
> On 2021/01/23 07:41:28, Thanh Nguyen <va...@gmail.com> wrote:
>> Hi everyone,
>>
>> How do you think about integrate Python into Ofbiz?
>>   
>> Python have a big libraries for data visualization and AI, so that we can use these libraries to build "Sales Forecast", " "detect  Item error"...
>>
>> Thanks
>> Thanh Nguyen
>>


-- 
Eugen Stan
+40720 898 747 / netdava.com

Re: Ofbiz integrate Python script

Posted by James Yong <ja...@apache.org>.
Hi Nguyen,

Any python library you have in mind?

For calling python from java, the information from the following link may helps:
https://www.baeldung.com/java-working-with-python

Regards,
James

On 2021/01/23 07:41:28, Thanh Nguyen <va...@gmail.com> wrote: 
> Hi everyone, 
> 
> How do you think about integrate Python into Ofbiz?
>  
> Python have a big libraries for data visualization and AI, so that we can use these libraries to build "Sales Forecast", " "detect  Item error"...
> 
> Thanks
> Thanh Nguyen
>