Pure Python GObject Introspection Bindings
WARNING: Lots of things are not implemented/supported.
See the ‘examples’ directory for working examples. Anything else will probably not work.
License: LGPL 2.1+
from pgi.repository import Gtk, GObject
import pgi pgi.install_as_gi() from gi.repository import Gtk, GObject
Typelibs will be loaded from paths in the environment variable
Shared libraries from paths in
LD_LIBRARY_PATH and the default system
search paths (see dlopen(3)).
./setup.py testwill run unit tests using PGI and PyGObject
./setup.py test --pgi-onlyto skip PyGObject tests
./setup.py test --filter=StructTestto run tests which include
./tests/libs/ includes additional libraries that will be used for testing
if present. Call
./tests/libs/ to build them.
./setup.py qualitywill run pep8 and pyflakes tests
./setup.py coveragewill create a test coverage report