ANNOUNCE: PyGObject 2.15.1

View: New views
4 Messages — Rating Filter:   Alert me  

ANNOUNCE: PyGObject 2.15.1

by Johan Dahlin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am pleased to announce version 2.15.1 of the Python bindings for GObject.

The new release is available from ftp.gnome.org as and its mirrors
as soon as its synced correctly:

   http://download.gnome.org/sources/pygobject/2.15/

There are two new significant features in this release series, initial
bindings for GIO. Note that these are not complete, please report
missing API in Bugzilla so we know what people are missing.
Codegen has been moved from PyGTK and can now be used without
depending on GTK+, which should be useful for GObject based libraries.

What's new since PyGObject 2.15.1?
         - Rename pygtk-codegen-2.0 to pygobject-codegen-2.0 to avoid
           conflicting with PyGTK (Paul Pogonyshev)

Blurb:

GObject is a object system library used by GTK+ and GStreamer.

PyGObject provides a convenient wrapper for the GObject+ library for use
in Python programs, and takes care of many of the boring details such as
managing memory and type casting.  When combined with PyGTK, PyORBit and
gnome-python, it can be used to write full featured Gnome applications.

Like the GObject library itself PyGObject is licensed under the
GNU LGPL, so is suitable for use in both free software and proprietary
applications.  It is already in use in many applications ranging
from small single purpose scripts up to large full
featured applications.

PyGObject requires glib >= 2.8.0 and Python >= 2.3.5 to build.
GIO bindings require glib >= 2.16.0.

--
Johan Dahlin
jdahlin@...
_______________________________________________
pygtk mailing list   pygtk@...
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: ANNOUNCE: PyGObject 2.15.1

by Murray Cumming :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2008-07-16 at 10:38 +0200, Johan Dahlin wrote:

> I am pleased to announce version 2.15.1 of the Python bindings for GObject.
>
> The new release is available from ftp.gnome.org as and its mirrors
> as soon as its synced correctly:
>
>    http://download.gnome.org/sources/pygobject/2.15/
>
> There are two new significant features in this release series, initial
> bindings for GIO. Note that these are not complete, please report
> missing API in Bugzilla so we know what people are missing.

Do you have some online documentation for this API?

This was a big job for the C++ bindings due to the strange parameter
orders, the many optional parameters, and the need to guess sensible
default paramter values. So I'm interested in how you did it for Python.

> Codegen has been moved from PyGTK and can now be used without
> depending on GTK+, which should be useful for GObject based libraries.
>
> What's new since PyGObject 2.15.1?
>          - Rename pygtk-codegen-2.0 to pygobject-codegen-2.0 to avoid
>            conflicting with PyGTK (Paul Pogonyshev)
>
> Blurb:
>
> GObject is a object system library used by GTK+ and GStreamer.
>
> PyGObject provides a convenient wrapper for the GObject+ library for use
> in Python programs, and takes care of many of the boring details such as
> managing memory and type casting.  When combined with PyGTK, PyORBit and
> gnome-python, it can be used to write full featured Gnome applications.
>
> Like the GObject library itself PyGObject is licensed under the
> GNU LGPL, so is suitable for use in both free software and proprietary
> applications.  It is already in use in many applications ranging
> from small single purpose scripts up to large full
> featured applications.
>
> PyGObject requires glib >= 2.8.0 and Python >= 2.3.5 to build.
> GIO bindings require glib >= 2.16.0.
>
> --
> Johan Dahlin
> jdahlin@...
> _______________________________________________
> gnome-announce-list mailing list
> gnome-announce-list@...
> http://mail.gnome.org/mailman/listinfo/gnome-announce-list
--
murrayc@...
www.murrayc.com
www.openismus.com

_______________________________________________
pygtk mailing list   pygtk@...
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: ANNOUNCE: PyGObject 2.15.1

by Johan Dahlin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Murray Cumming wrote:

> On Wed, 2008-07-16 at 10:38 +0200, Johan Dahlin wrote:
>> I am pleased to announce version 2.15.1 of the Python bindings for GObject.
>>
>> The new release is available from ftp.gnome.org as and its mirrors
>> as soon as its synced correctly:
>>
>>    http://download.gnome.org/sources/pygobject/2.15/
>>
>> There are two new significant features in this release series, initial
>> bindings for GIO. Note that these are not complete, please report
>> missing API in Bugzilla so we know what people are missing.
>
> Do you have some online documentation for this API?

A guy showed up and started to write GIO documentation. I have not seen the
initial work which he did, I'll let you know when I get my hands on it.

> This was a big job for the C++ bindings due to the strange parameter
> orders, the many optional parameters, and the need to guess sensible
> default paramter values. So I'm interested in how you did it for Python.

We're not binding the complete API, but from my head these are the
differences between the python and the C api:
* Add default values, NULL/0 etc where it make sense
* Swap argument order for cancellable arguments, so we can have a default
value of NULL. This makes it possible to do things such as:
gfile.read_async(callback)
* gfile.read() uses a return value instead of out parameter, just like
the builtin read method on file.

The rest is afaicr pretty straight-forward.

Johan
_______________________________________________
pygtk mailing list   pygtk@...
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: ANNOUNCE: PyGObject 2.15.1

by Murray Cumming :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2008-07-16 at 16:22 +0200, Johan Dahlin wrote:

> Murray Cumming wrote:
> > On Wed, 2008-07-16 at 10:38 +0200, Johan Dahlin wrote:
> >> I am pleased to announce version 2.15.1 of the Python bindings for GObject.
> >>
> >> The new release is available from ftp.gnome.org as and its mirrors
> >> as soon as its synced correctly:
> >>
> >>    http://download.gnome.org/sources/pygobject/2.15/
> >>
> >> There are two new significant features in this release series, initial
> >> bindings for GIO. Note that these are not complete, please report
> >> missing API in Bugzilla so we know what people are missing.
> >
> > Do you have some online documentation for this API?
>
> A guy showed up and started to write GIO documentation. I have not seen the
> initial work which he did, I'll let you know when I get my hands on it.

Surely you have some way to at least put the generated reference
documentation online, even if there are no human-generated descriptions?

> > This was a big job for the C++ bindings due to the strange parameter
> > orders, the many optional parameters, and the need to guess sensible
> > default paramter values. So I'm interested in how you did it for Python.
>
> We're not binding the complete API, but from my head these are the
> differences between the python and the C api:
> * Add default values, NULL/0 etc where it make sense
> * Swap argument order for cancellable arguments, so we can have a default
> value of NULL. This makes it possible to do things such as:
> gfile.read_async(callback)
> * gfile.read() uses a return value instead of out parameter, just like
> the builtin read method on file.
>
> The rest is afaicr pretty straight-forward.

--
murrayc@...
www.murrayc.com
www.openismus.com

_______________________________________________
pygtk mailing list   pygtk@...
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
LightInTheBox - Buy quality products at wholesale price