[Valentina-studio] Valentina for Python

Jochen Peters j.peters at valentina-db.de
Mon Feb 16 09:53:34 CST 2004


Hi Ruslan,
Hi Vladimir,

>
> Jochen Peter (developer of Valentina Studio) already have try integrate
> Valentina with Phyton. That was fast check and as I have hear no big
> problems.
>
> In fact Jochen plan integrate Phyton into Valentina Studio and make it 
> as
> main script language for Valentina Studio.
>
> For your project, I think you ask for calls of Valentina engine 
> directly
> from Phyton. This is very close to what will do Jochen. We have talk 
> that it
> will be quite easy introduce "Valentina for Phyton" product.
>
> Jochen, am I right?
Yes - correct. In fact it is very easy to wrap the Valentina C++ API 
using SWIG.
(See http://www.swig.org for details)
I have made a quick test with SWIG, Python and valentina using the old 
Valentina 1.x
API and it works with no problems - but it was a technical test only!

In Valentina Studio we will have more then 1 scripting language - i 
plan to have at least
JavaScript and Python. During the last weeks i have read more about 
JavaScript integration and
it seems to be more easy to integrate JS in Valentina Studio - because 
it is only a C library which can
be easily embedded.

I also see in fact good reasons to have "Valentina for Phyton" - but 
this should be made when the
2.0 API from Valentina is available.


-- 
Best regards,
Jochen Peters
PIIT GmbH

------------------------------------
http://www.valentina-db.de



More information about the Valentina-studio mailing list