No description, website, or topics provided.
Python C Shell
Switch branches/tags
Latest commit 5f0e130 Mar 22, 2011 @dieterv dieterv ensure eol characters are preserved when writing templat…
…e files (so \n does not become \r\n)
Failed to load latest commit information.
codegen [python 3] use the right syntaxis to raise exceptions Feb 2, 2011
demos/gtk-demo [gi-demos] add pickers demo Mar 21, 2011
docs Remove GIO documentation Feb 11, 2011
examples Remove last GIO-related bits Feb 11, 2011
gi [gi] foreign types now take interface infos instead of type infos Mar 22, 2011
glib Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES" Mar 21, 2011
gobject Do not leak python references when using the helper. Mar 7, 2011
m4 Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES" Mar 21, 2011
tests Fix GSchema tests for separate build tree Mar 22, 2011
AUTHORS Update AUTHORS Aug 11, 2009
COPYING Update the address of the FSF, by replacing old bits of the address with Mar 29, 2009
ChangeLog.pre-2.18 Retire hand-written ChangeLog; autocreate from Git history May 9, 2009
HACKING post release bump to 2.27.0 unstable Sep 27, 2010
INSTALL Introduces the girepository module from the former PyBank. Jun 8, 2009
MAINTAINERS Add myself as a maintainer Jul 30, 2010 Add HACKING to Jul 12, 2010 Add MAINTAINERCLEANFILES Jan 27, 2011
NEWS update NEWS to reflect changes in the 2.27.91 release (PYGOBJECT_2_28… Feb 28, 2011 Remove last GIO-related bits Feb 11, 2011
README Remove last GIO-related bits Feb 11, 2011
README.win32 README.win32: update build instructions Nov 3, 2010 fix build to correctly use python-config Feb 11, 2011 check for the py3 _thread module in if thread is not found Mar 4, 2011 ensure eol characters are preserved when writing templat… Mar 24, 2011 Remove .gitignore files and use Jan 27, 2011
pre-commit.hook Use bash explicitely in the pre-commit hook. Jun 9, 2010 add and webkit Mar 21, 2011 add overridesdir variable in the .pc file for 3rd party overrides Mar 3, 2011
pygobject.doap Remove last GIO-related bits Feb 11, 2011 remove pygobject-2.0.pc treatment from post… Nov 3, 2010 fix user_access_control option Mar 18, 2011


Original authors:   James Henstridge <>
                    Johan Dahlin <>

Current maintainers:  Gustavo J A M Carneiro <>
                      Paul Pogonyshev <>
                      Gian Mario Tagliaretti <>
                      Tomeu Vizoso <>

This archive contains bindings for the GLib, and GObject,
to be used in Python. It is a fairly complete set of bindings,
it's already rather useful, and is usable to write moderately
complex programs.  (see the examples directory for some examples
of the simpler programs you could write).

If you have any enhancements or bug reports, please file them in
bugzilla at:

If you have a patch, file the bug first and then use the "create new
attachment" link on the bug's info page.  My preferred format for
patches is unified diff format (ie. diff -u).  Please don't send me
diffs which don't have any context, as these make it very difficult to
see what the patch does.

New Versions

New versions of this package can be found at:

Mailing list

pygobject share mailing list with pygtk. You can subscribe to it through
the web interface:

  * C compiler (GCC and MSVC supported)
  * Python 2.3.5 or higher
  * Glib 2.22.4 or higher
  * GIO 2.22.4 or higher
  * libffi (optional)

Copyright Information

This software is covered by the GNU Lesser General Public Licence
(version 2.1, or if you choose, a later version).  Basically just don't
say you wrote bits you didn't.


PyGObject uses the standard autotools for the build infrastructure.  To
build, it should be as simple as running:

    $ ./configure --prefix=<prefix where python is installed>
    $ make
    $ make install

If your Python interpreter isn't in the path, or is not called
"python", you can set the PYTHON environment variable to the full path
of the interpreter:

    $ PYTHON=/prefix/bin/python
    $ export PYTHON

If configure can't find GTK+, you may need to set the PKG_CONFIG_PATH
environment variable to help it find the libraries.

The "make install" target will generate normal and optimised bytecode
for all the .py files.

Note. If you're installing to another prefix than the one where python
is installed you'll need to set the PYTHONPATH variable to the
$prefix/lib/pythonX.Y/site-packages directory created by
the PyGObject installation.


After having compiled and installed pygobject, you may want to test them.
There are a number of example programs available in the examples/

Getting Help

If you have questions about programming with PyGObject, you might want to
send a message to the mailing list (information on subscribing is
above).  Alternatively, your question may be answered in the PyGTK FAQ: