Do you aim to provide a Pythonic API with this?

IE; mapping collections to Python collections (tuple, list, dict),
iterators, nested namespaces, pydocs, etc?

On Sun, Feb 7, 2010 at 1:58 PM, pancake <[email protected]> wrote:

> I'm developing valaswig aiming to provide swig (perl, ruby, python...)
> bindings for vala and vapi code.
>
> It's usable, but still needs so much love. I will release 0.1 next month,
> but you can get a copy from
>
> Hg clone http://hg.youterm.com/valaswig
>
> If somebody is interested on it, let me know. I think dynamic Lang bindings
> for vala can be a good point :)
>
>
> On Feb 7, 2010, at 5:59 PM, Abderrahim Kitouni <[email protected]>
> wrote:
>
>  Hi,
>>
>> 2010/2/6 rastersoft <[email protected]>:
>>
>>> Is possible to do Python bindings for Vala classes? This is, accessing
>>> vala classes from Python. Yes, I know that it should be as "easy" than
>>> doing it for a GObject class, but what I mean is if there is a tutorial
>>> or similar, and, what's more important, how to get advantage of GObject
>>> Introspection (which, I presume, should simplify the work).
>>>
>> Using gobject-introspection [1], it should actually be easier than for
>> a C GObject class. When compiling, pass '--gir Foo-1.0.gir' to valac
>> (replace Foo with your namespace), it should generate a correct gir as
>> of vala 0.7.10. Compile it using g-ir-compiler and install both the
>> gir and the compiled typelib (in ${g-i-prefix}/share/gir-1.0 and
>> ${g-i-prefix}/lib/girepository-1.0 respectively) and you should be
>> able to use it from gobject-introspection aware bindings generators.
>> You probably want PyGI [2], it works mostly ok, with the exception of
>> callbacks and irtual methods.
>>
>> [1] http://live.gnome.org/GObjectIntrospection
>> [2] http://live.gnome.org/PyGI
>> _______________________________________________
>> Vala-list mailing list
>> [email protected]
>> http://mail.gnome.org/mailman/listinfo/vala-list
>>
>>  _______________________________________________
> Vala-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/vala-list
>
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to